MythTV  0.28pre
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 *parent=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)
 
DTC::BlurayInfoGetBluray (const QString &Path)
 
- 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)
 

Detailed Description

Definition at line 35 of file video.h.

Constructor & Destructor Documentation

◆ Video()

Q_INVOKABLE Video::Video ( QObject *  parent = 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 181 of file video.cpp.

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

◆ RemoveVideoFromDB()

bool Video::RemoveVideoFromDB ( int  Id)
virtual

Implements VideoServices.

Definition at line 298 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 320 of file video.cpp.

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

◆ UpdateVideoWatchedStatus()

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

Implements VideoServices.

Definition at line 378 of file video.cpp.

Referenced by Video().

◆ GetBluray()

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

Implements VideoServices.

Definition at line 400 of file video.cpp.

Referenced by Video().


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