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

#include <mythbackend/services/video.h>

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

Public Member Functions

Q_INVOKABLE Video (QObject *=nullptr)
 
DTC::VideoMetadataInfoListGetVideoList (const QString &Folder, const QString &Sort, bool Descending, int StartIndex, int Count) override
 
DTC::VideoMetadataInfoGetVideo (int Id) override
 
DTC::VideoMetadataInfoGetVideoByFileName (const QString &FileName) override
 
DTC::VideoLookupListLookupVideo (const QString &Title, const QString &Subtitle, const QString &Inetref, int Season, int Episode, const QString &GrabberType, bool AllowGeneric) override
 
bool RemoveVideoFromDB (int Id) override
 
bool AddVideo (const QString &FileName, const QString &HostName) override
 
bool UpdateVideoWatchedStatus (int Id, bool Watched) override
 
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) override
 
long GetSavedBookmark (int Id) override
 
bool SetSavedBookmark (int Id, long Offset) override
 
DTC::BlurayInfoGetBluray (const QString &Path) override
 
DTC::VideoStreamInfoListGetStreamInfo (const QString &StorageGroup, const QString &FileName) override
 
- Public Member Functions inherited from VideoServices
 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)
 
bool HAS_PARAM (const QString &p) const
 

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 37 of file video.h.

Constructor & Destructor Documentation

◆ Video()

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

Definition at line 43 of file video.h.

Member Function Documentation

◆ GetVideoList()

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

Implements VideoServices.

Definition at line 56 of file video.cpp.

◆ GetVideo()

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

Implements VideoServices.

Definition at line 143 of file video.cpp.

◆ GetVideoByFileName()

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

Implements VideoServices.

Definition at line 162 of file video.cpp.

◆ LookupVideo()

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

Implements VideoServices.

Definition at line 184 of file video.cpp.

◆ RemoveVideoFromDB()

bool Video::RemoveVideoFromDB ( int  Id)
overridevirtual

Implements VideoServices.

Definition at line 301 of file video.cpp.

◆ AddVideo()

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

Implements VideoServices.

Definition at line 321 of file video.cpp.

◆ UpdateVideoWatchedStatus()

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

Implements VideoServices.

Definition at line 377 of file video.cpp.

◆ 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 
)
overridevirtual

Implements VideoServices.

Definition at line 455 of file video.cpp.

◆ GetSavedBookmark()

long Video::GetSavedBookmark ( int  Id)
overridevirtual

Implements VideoServices.

Definition at line 831 of file video.cpp.

◆ SetSavedBookmark()

bool Video::SetSavedBookmark ( int  Id,
long  Offset 
)
overridevirtual

Implements VideoServices.

Definition at line 878 of file video.cpp.

◆ GetBluray()

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

Implements VideoServices.

Definition at line 399 of file video.cpp.

◆ GetStreamInfo()

DTC::VideoStreamInfoList * Video::GetStreamInfo ( const QString &  StorageGroup,
const QString &  FileName 
)
overridevirtual

Implements VideoServices.

Definition at line 788 of file video.cpp.


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