MythTV  master
Functions | Variables
videodbcheck.cpp File Reference
#include <QString>
#include <QStringList>
#include "mythdbcheck.h"
#include "videodbcheck.h"
#include "mythdb.h"
#include "mythcorecontext.h"
#include "mythlogging.h"
#include "remotefile.h"
#include "mythmiscutil.h"
#include "libmythmetadata/videoutils.h"
Include dependency graph for videodbcheck.cpp:

Go to the source code of this file.

Functions

static void AddFileType (const QString &extension, const QString &playCommand=QString("Internal"), bool ignored=false, bool useDefault=false)
 
static void UpdateHashes (void)
 
static bool InitializeVideoSchema (void)
 
bool doUpgradeVideoDatabaseSchema (void)
 

Variables

const QString minimumVideoDatabaseVersion = "1016"
 
const QString finalVideoDatabaseVersion = "1038"
 
const QString MythVideoVersionName = "mythvideo.DBSchemaVer"
 

Function Documentation

◆ AddFileType()

static void AddFileType ( const QString &  extension,
const QString &  playCommand = QString("Internal"),
bool  ignored = false,
bool  useDefault = false 
)
static

Definition at line 22 of file videodbcheck.cpp.

Referenced by doUpgradeVideoDatabaseSchema().

◆ UpdateHashes()

static void UpdateHashes ( void  )
static

Definition at line 45 of file videodbcheck.cpp.

Referenced by doUpgradeVideoDatabaseSchema().

◆ InitializeVideoSchema()

static bool InitializeVideoSchema ( void  )
static

Definition at line 92 of file videodbcheck.cpp.

Referenced by doUpgradeVideoDatabaseSchema().

◆ doUpgradeVideoDatabaseSchema()

bool doUpgradeVideoDatabaseSchema ( void  )

Definition at line 286 of file videodbcheck.cpp.

Referenced by doUpgradeTVDatabaseSchema().

Variable Documentation

◆ minimumVideoDatabaseVersion

const QString minimumVideoDatabaseVersion = "1016"

Definition at line 18 of file videodbcheck.cpp.

Referenced by doUpgradeVideoDatabaseSchema().

◆ finalVideoDatabaseVersion

const QString finalVideoDatabaseVersion = "1038"

Definition at line 19 of file videodbcheck.cpp.

Referenced by doUpgradeVideoDatabaseSchema(), and InitializeVideoSchema().

◆ MythVideoVersionName

const QString MythVideoVersionName = "mythvideo.DBSchemaVer"

Definition at line 20 of file videodbcheck.cpp.

Referenced by doUpgradeVideoDatabaseSchema(), and InitializeVideoSchema().