MythTV  master
Functions | Variables
mythversion.h File Reference
#include <qglobal.h>
#include "mythbaseexp.h"
#include "mythconfig.h"
Include dependency graph for mythversion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const MBASE_PUBLIC char * GetMythSourceVersion ()
 
const MBASE_PUBLIC char * GetMythSourcePath ()
 

Variables

static constexpr const char * MYTH_BINARY_VERSION { "33.20220201-1" }
 Update this whenever the plug-in ABI changes. More...
 
static constexpr const char * MYTH_PROTO_VERSION { "91" }
 Increment this whenever the MythTV network protocol changes. More...
 
static constexpr const char * MYTH_PROTO_TOKEN { "BuzzOff" }
 
static constexpr const char * MYTH_DATABASE_VERSION { "1376" }
 Increment this whenever the MythTV core database schema changes. More...
 

Function Documentation

◆ GetMythSourceVersion()

const MBASE_PUBLIC char* GetMythSourceVersion ( )

◆ GetMythSourcePath()

const MBASE_PUBLIC char* GetMythSourcePath ( )

Variable Documentation

◆ MYTH_BINARY_VERSION

constexpr const char* MYTH_BINARY_VERSION { "33.20220201-1" }
staticconstexpr

Update this whenever the plug-in ABI changes.

Including changes in the libmythbase, libmyth, libmythtv, libmythav* and libmythui class methods in exported headers.

Definition at line 15 of file mythversion.h.

Referenced by ThemeUpdateTask::DoRun(), MythDownloadManager::downloadFinished(), MythDownloadManager::downloadQNetworkRequest(), MythSingleDownload::DownloadURL(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), V2Status::GetBackendStatus(), Channel::GetChannelInfoList(), V2Channel::GetChannelInfoList(), Dvr::GetConflictList(), V2Dvr::GetConflictList(), Myth::GetConnectionInfo(), V2Myth::GetConnectionInfo(), Dvr::GetExpiringList(), V2Dvr::GetExpiringList(), Dvr::GetOldRecordedList(), V2Dvr::GetOldRecordedList(), Guide::GetProgramGuide(), V2Guide::GetProgramGuide(), Guide::GetProgramList(), V2Guide::GetProgramList(), Dvr::GetRecordedList(), V2Dvr::GetRecordedList(), Dvr::GetRecordScheduleList(), V2Dvr::GetRecordScheduleList(), V2Video::GetStreamInfo(), Video::GetStreamInfo(), Music::GetTrackList(), V2Music::GetTrackList(), Dvr::GetUpcomingList(), V2Dvr::GetUpcomingList(), V2Video::GetVideoList(), Video::GetVideoList(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), MythContext::Init(), MythCoreContext::Init(), MythPluginManager::init_plugin(), ThemeChooser::Load(), V2Video::LookupVideo(), Video::LookupVideo(), main(), mythplugin_init(), HttpStatus::PrintStatus(), V2Status::PrintStatus(), MythCommandLineParser::PrintVersion(), NetworkControl::processQuery(), and ThemeUpdateChecker::ThemeUpdateChecker().

◆ MYTH_PROTO_VERSION

constexpr const char* MYTH_PROTO_VERSION { "91" }
staticconstexpr

Increment this whenever the MythTV network protocol changes.

Note that the token currently cannot contain spaces.

You must also update this value and any corresponding changes to the ProgramInfo network protocol layout in the following files:

MythWeb mythweb/modules/tv/classes/Program.php (layout)

MythTV Perl Bindings mythtv/bindings/perl/MythTV.pm (PROTO_VERSION, PROTO_TOKEN) mythtv/bindings/perl/MythTV.pm (NUMPROGRAMLINES) mythtv/bindings/perl/MythTV/Program.pm (_parse_data, to_string)

MythTV PHP Bindings mythtv/bindings/php/MythBackend.php (protocol_version, protocol_token) mythtv/bindings/php/MythBackend.php (program_line_number) mythtv/bindings/php/MythTVProgram.php (layout) (but only to reflect new columns in the program table) mythtv/bindings/php/MythTVRecording.php (layout) (but only to reflect new columns in the recorded table)

MythTV Python Bindings mythtv/bindings/python/MythTV/static.py (PROTO_VERSION, PROTO_TOKEN) mythtv/bindings/python/MythTV/mythproto.py (layout)

Be kind and update the wiki as well. http://www.mythtv.org/wiki/Category:Myth_Protocol_Commands http://www.mythtv.org/wiki/Category:Myth_Protocol

Definition at line 47 of file mythversion.h.

Referenced by BackendSelection::AddItem(), MythCoreContext::CheckProtoVersion(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), V2Status::GetBackendStatus(), Channel::GetChannelInfoList(), V2Channel::GetChannelInfoList(), Dvr::GetConflictList(), V2Dvr::GetConflictList(), MythXMLClient::GetConnectionInfo(), Myth::GetConnectionInfo(), V2Myth::GetConnectionInfo(), Dvr::GetExpiringList(), V2Dvr::GetExpiringList(), Dvr::GetOldRecordedList(), V2Dvr::GetOldRecordedList(), Guide::GetProgramGuide(), V2Guide::GetProgramGuide(), Guide::GetProgramList(), V2Guide::GetProgramList(), Dvr::GetRecordedList(), V2Dvr::GetRecordedList(), Dvr::GetRecordScheduleList(), V2Dvr::GetRecordScheduleList(), V2Video::GetStreamInfo(), Video::GetStreamInfo(), Music::GetTrackList(), V2Music::GetTrackList(), Dvr::GetUpcomingList(), V2Dvr::GetUpcomingList(), V2Video::GetVideoList(), Video::GetVideoList(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), MythSocketManager::HandleVersion(), MainServer::HandleVersion(), V2Video::LookupVideo(), Video::LookupVideo(), MythCommandLineParser::PrintVersion(), NetworkControl::processQuery(), MythContextPrivate::ShowVersionMismatchPopup(), and MythSocket::Validate().

◆ MYTH_PROTO_TOKEN

constexpr const char* MYTH_PROTO_TOKEN { "BuzzOff" }
staticconstexpr

◆ MYTH_DATABASE_VERSION

constexpr const char* MYTH_DATABASE_VERSION { "1376" }
staticconstexpr

Increment this whenever the MythTV core database schema changes.

You must update the schema handler to implement the new schema: mythtv/libs/libmythtv/dbcheck.cpp

You must also update the following files to independently check:

MythTV Perl Bindings mythtv/bindings/perl/MythTV.pm

MythTV Python Bindings mythtv/bindings/python/MythTV/static.py

MythTV PHP Bindings mythtv/bindings/php/MythBackend.php

Definition at line 77 of file mythversion.h.

Referenced by MythXMLClient::GetConnectionInfo(), Myth::GetConnectionInfo(), V2Myth::GetConnectionInfo(), and V2Config::GetDatabaseStatus().