MythTV  master
Public Member Functions | List of all members
Video Class Reference

#include <video.h>

Inheritance diagram for Video:
Inheritance graph
[legend]
Collaboration diagram for Video:
Collaboration graph
[legend]

Public Member Functions

Q_INVOKABLE Video (QObject *=0)
 
DTC::VideoMetadataInfoListGetVideoList (const QString &Folder, const QString &Sort, bool Descending, int StartIndex, int Count)
 
DTC::VideoMetadataInfoGetVideo (int Id)
 
DTC::VideoMetadataInfoGetVideoByFileName (const QString &FileName)
 
DTC::VideoLookupListLookupVideo (const QString &Title, const QString &Subtitle, const QString &Inetref, int Season, int Episode, const QString &GrabberType, bool AllowGeneric)
 
bool RemoveVideoFromDB (int Id)
 
bool AddVideo (const QString &FileName, const QString &HostName)
 
bool UpdateVideoWatchedStatus (int Id, bool Watched)
 
bool UpdateVideoMetadata (int Id, const QString &Title, const QString &SubTitle, const QString &TagLine, const QString &Director, const QString &Studio, const QString &Plot, const QString &Rating, const QString &Inetref, int CollectionRef, const QString &HomePage, int Year, const QDate &ReleaseDate, float UserRating, int Length, int PlayCount, int Season, int Episode, int ShowLevel, const QString &FileName, const QString &Hash, const QString &CoverFile, int ChildID, bool Browse, bool Watched, bool Processed, const QString &PlayCommand, int Category, const QString &Trailer, const QString &Host, const QString &Screenshot, const QString &Banner, const QString &Fanart, const QDate &InsertDate, const QString &ContentType, const QString &Genres, const QString &Cast, const QString &Countries)
 
DTC::BlurayInfoGetBluray (const QString &Path)
 
- Public Member Functions inherited from VideoServices
 VideoServices (QObject *parent=0)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=NULL)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 

Additional Inherited Members

- Public Slots inherited from VideoServices
- Static Public Member Functions inherited from Service
static bool ToBool (const QString &sVal)
 
- Public Attributes inherited from Service
QList< QString > m_parsedParams
 

Detailed Description

Definition at line 35 of file video.h.

Constructor & Destructor Documentation

◆ Video()

Q_INVOKABLE Video::Video ( QObject *  = 0)
inlineexplicit

Definition at line 41 of file video.h.

Member Function Documentation

◆ GetVideoList()

DTC::VideoMetadataInfoList * Video::GetVideoList ( const QString &  Folder,
const QString &  Sort,
bool  Descending,
int  StartIndex,
int  Count 
)
virtual

Implements VideoServices.

Definition at line 52 of file video.cpp.

Referenced by ScriptableVideo::GetVideoList(), and Video().

◆ GetVideo()

DTC::VideoMetadataInfo * Video::GetVideo ( int  Id)
virtual

Implements VideoServices.

Definition at line 138 of file video.cpp.

Referenced by ScriptableVideo::GetVideo(), and Video().

◆ GetVideoByFileName()

DTC::VideoMetadataInfo * Video::GetVideoByFileName ( const QString &  FileName)
virtual

Implements VideoServices.

Definition at line 157 of file video.cpp.

Referenced by ScriptableVideo::GetVideoByFileName(), and Video().

◆ LookupVideo()

DTC::VideoLookupList * Video::LookupVideo ( const QString &  Title,
const QString &  Subtitle,
const QString &  Inetref,
int  Season,
int  Episode,
const QString &  GrabberType,
bool  AllowGeneric 
)
virtual

Implements VideoServices.

Definition at line 179 of file video.cpp.

Referenced by ScriptableVideo::LookupVideo(), and Video().

◆ RemoveVideoFromDB()

bool Video::RemoveVideoFromDB ( int  Id)
virtual

Implements VideoServices.

Definition at line 296 of file video.cpp.

Referenced by ScriptableVideo::RemoveVideoFromDB(), and Video().

◆ AddVideo()

bool Video::AddVideo ( const QString &  FileName,
const QString &  HostName 
)
virtual

Implements VideoServices.

Definition at line 316 of file video.cpp.

Referenced by ScriptableVideo::AddVideo(), and Video().

◆ UpdateVideoWatchedStatus()

bool Video::UpdateVideoWatchedStatus ( int  Id,
bool  Watched 
)
virtual

Implements VideoServices.

Definition at line 374 of file video.cpp.

Referenced by Video().

◆ UpdateVideoMetadata()

bool Video::UpdateVideoMetadata ( int  Id,
const QString &  Title,
const QString &  SubTitle,
const QString &  TagLine,
const QString &  Director,
const QString &  Studio,
const QString &  Plot,
const QString &  Rating,
const QString &  Inetref,
int  CollectionRef,
const QString &  HomePage,
int  Year,
const QDate &  ReleaseDate,
float  UserRating,
int  Length,
int  PlayCount,
int  Season,
int  Episode,
int  ShowLevel,
const QString &  FileName,
const QString &  Hash,
const QString &  CoverFile,
int  ChildID,
bool  Browse,
bool  Watched,
bool  Processed,
const QString &  PlayCommand,
int  Category,
const QString &  Trailer,
const QString &  Host,
const QString &  Screenshot,
const QString &  Banner,
const QString &  Fanart,
const QDate &  InsertDate,
const QString &  ContentType,
const QString &  Genres,
const QString &  Cast,
const QString &  Countries 
)
virtual

Implements VideoServices.

Definition at line 452 of file video.cpp.

Referenced by ScriptableVideo::UpdateVideoMetadata(), and Video().

◆ GetBluray()

DTC::BlurayInfo * Video::GetBluray ( const QString &  Path)
virtual

Implements VideoServices.

Definition at line 396 of file video.cpp.

Referenced by Video().


The documentation for this class was generated from the following files: