MythTV  master
Public Slots | Public Member Functions | Private Member Functions | List of all members
VideoServices Class Referenceabstract

#include <videoServices.h>

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

Public Slots

virtual DTC::VideoMetadataInfoListGetVideoList (const QString &Folder, const QString &Sort, bool Descending, int StartIndex, int Count)=0
 
virtual DTC::VideoMetadataInfoGetVideo (int Id)=0
 
virtual DTC::VideoMetadataInfoGetVideoByFileName (const QString &FileName)=0
 
virtual DTC::VideoLookupListLookupVideo (const QString &Title, const QString &Subtitle, const QString &Inetref, int Season, int Episode, const QString &GrabberType, bool AllowGeneric)=0
 
virtual bool AddVideo (const QString &FileName, const QString &HostName)=0
 
virtual bool RemoveVideoFromDB (int Id)=0
 
virtual DTC::BlurayInfoGetBluray (const QString &Path)=0
 
virtual bool UpdateVideoWatchedStatus (int Id, bool Watched)=0
 
virtual 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)=0
 

Public Member Functions

 VideoServices (QObject *parent=nullptr)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=nullptr)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 

Private Member Functions

 Q_CLASSINFO ("version", "1.5")
 

Additional Inherited Members

- 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 41 of file videoServices.h.

Constructor & Destructor Documentation

◆ VideoServices()

VideoServices::VideoServices ( QObject *  parent = nullptr)
inline

Definition at line 55 of file videoServices.h.

Member Function Documentation

◆ Q_CLASSINFO()

VideoServices::Q_CLASSINFO ( "version"  ,
"1.5"   
)
private

◆ GetVideoList

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

Implemented in Video.

◆ GetVideo

virtual DTC::VideoMetadataInfo* VideoServices::GetVideo ( int  Id)
pure virtualslot

Implemented in Video.

◆ GetVideoByFileName

virtual DTC::VideoMetadataInfo* VideoServices::GetVideoByFileName ( const QString &  FileName)
pure virtualslot

Implemented in Video.

◆ LookupVideo

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

Implemented in Video.

◆ AddVideo

virtual bool VideoServices::AddVideo ( const QString &  FileName,
const QString &  HostName 
)
pure virtualslot

Implemented in Video.

◆ RemoveVideoFromDB

virtual bool VideoServices::RemoveVideoFromDB ( int  Id)
pure virtualslot

Implemented in Video.

◆ GetBluray

virtual DTC::BlurayInfo* VideoServices::GetBluray ( const QString &  Path)
pure virtualslot

Implemented in Video.

◆ UpdateVideoWatchedStatus

virtual bool VideoServices::UpdateVideoWatchedStatus ( int  Id,
bool  Watched 
)
pure virtualslot

Implemented in Video.

◆ UpdateVideoMetadata

virtual bool VideoServices::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 
)
pure virtualslot

Implemented in Video.


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