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

#include <mythbackend/services/content.h>

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

Public Member Functions

Q_INVOKABLE Content (QObject *=nullptr)
 
QFileInfo GetFile (const QString &StorageGroup, const QString &FileName) override
 
QFileInfo GetImageFile (const QString &StorageGroup, const QString &FileName, int Width, int Height) override
 
QStringList GetFileList (const QString &StorageGroup) override
 
QStringList GetDirList (const QString &StorageGroup) override
 
QFileInfo GetRecordingArtwork (const QString &Type, const QString &Inetref, int Season, int Width, int Height) override
 
DTC::ArtworkInfoListGetRecordingArtworkList (int RecordedId, int ChanId, const QDateTime &recstarttsRaw) override
 
DTC::ArtworkInfoListGetProgramArtworkList (const QString &Inetref, int Season) override
 
QFileInfo GetVideoArtwork (const QString &Type, int Id, int Width, int Height) override
 
QFileInfo GetAlbumArt (int Id, int Width, int Height) override
 
QFileInfo GetPreviewImage (int RecordedId, int ChanId, const QDateTime &recstarttsRaw, int Width, int Height, int SecsIn, const QString &Format) override
 
QFileInfo GetRecording (int RecordedId, int ChanId, const QDateTime &recstarttsRaw) override
 
QFileInfo GetMusic (int Id) override
 
QFileInfo GetVideo (int Id) override
 
QString GetHash (const QString &StorageGroup, const QString &FileName) override
 
bool DownloadFile (const QString &URL, const QString &StorageGroup) override
 
DTC::LiveStreamInfoAddLiveStream (const QString &StorageGroup, const QString &FileName, const QString &HostName, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate) override
 
DTC::LiveStreamInfoAddRecordingLiveStream (int RecordedId, int ChanId, const QDateTime &recstarttsRaw, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate) override
 
DTC::LiveStreamInfoAddVideoLiveStream (int Id, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate) override
 
DTC::LiveStreamInfoGetLiveStream (int Id) override
 
DTC::LiveStreamInfoListGetLiveStreamList (const QString &FileName) override
 
DTC::LiveStreamInfoStopLiveStream (int Id) override
 
bool RemoveLiveStream (int Id) override
 
- Public Member Functions inherited from ContentServices
 ContentServices (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 ContentServices
- 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 36 of file content.h.

Constructor & Destructor Documentation

◆ Content()

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

Definition at line 42 of file content.h.

Member Function Documentation

◆ GetFile()

QFileInfo Content::GetFile ( const QString &  StorageGroup,
const QString &  FileName 
)
overridevirtual

Implements ContentServices.

Definition at line 67 of file content.cpp.

Referenced by GetMusic(), and GetVideo().

◆ GetImageFile()

QFileInfo Content::GetImageFile ( const QString &  StorageGroup,
const QString &  FileName,
int  Width,
int  Height 
)
overridevirtual

Implements ContentServices.

Definition at line 122 of file content.cpp.

Referenced by GetRecordingArtwork(), and GetVideoArtwork().

◆ GetFileList()

QStringList Content::GetFileList ( const QString &  StorageGroup)
overridevirtual

Implements ContentServices.

Definition at line 244 of file content.cpp.

◆ GetDirList()

QStringList Content::GetDirList ( const QString &  StorageGroup)
overridevirtual

Implements ContentServices.

Definition at line 224 of file content.cpp.

◆ GetRecordingArtwork()

QFileInfo Content::GetRecordingArtwork ( const QString &  Type,
const QString &  Inetref,
int  Season,
int  Width,
int  Height 
)
overridevirtual

Implements ContentServices.

Definition at line 264 of file content.cpp.

◆ GetRecordingArtworkList()

DTC::ArtworkInfoList * Content::GetRecordingArtworkList ( int  RecordedId,
int  ChanId,
const QDateTime &  recstarttsRaw 
)
overridevirtual

Implements ContentServices.

Definition at line 310 of file content.cpp.

◆ GetProgramArtworkList()

DTC::ArtworkInfoList * Content::GetProgramArtworkList ( const QString &  Inetref,
int  Season 
)
overridevirtual

Implements ContentServices.

Definition at line 328 of file content.cpp.

Referenced by GetRecordingArtworkList().

◆ GetVideoArtwork()

QFileInfo Content::GetVideoArtwork ( const QString &  Type,
int  Id,
int  Width,
int  Height 
)
overridevirtual

Implements ContentServices.

Definition at line 342 of file content.cpp.

◆ GetAlbumArt()

QFileInfo Content::GetAlbumArt ( int  Id,
int  Width,
int  Height 
)
overridevirtual

Implements ContentServices.

Definition at line 401 of file content.cpp.

◆ GetPreviewImage()

QFileInfo Content::GetPreviewImage ( int  RecordedId,
int  ChanId,
const QDateTime &  recstarttsRaw,
int  Width,
int  Height,
int  SecsIn,
const QString &  Format 
)
overridevirtual

Implements ContentServices.

Definition at line 500 of file content.cpp.

◆ GetRecording()

QFileInfo Content::GetRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  recstarttsRaw 
)
overridevirtual

Implements ContentServices.

Definition at line 674 of file content.cpp.

◆ GetMusic()

QFileInfo Content::GetMusic ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 732 of file content.cpp.

◆ GetVideo()

QFileInfo Content::GetVideo ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 775 of file content.cpp.

◆ GetHash()

QString Content::GetHash ( const QString &  StorageGroup,
const QString &  FileName 
)
overridevirtual

Implements ContentServices.

Definition at line 813 of file content.cpp.

◆ DownloadFile()

bool Content::DownloadFile ( const QString &  URL,
const QString &  StorageGroup 
)
overridevirtual

Implements ContentServices.

Definition at line 846 of file content.cpp.

◆ AddLiveStream()

DTC::LiveStreamInfo * Content::AddLiveStream ( const QString &  StorageGroup,
const QString &  FileName,
const QString &  HostName,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
overridevirtual

Implements ContentServices.

Definition at line 880 of file content.cpp.

Referenced by AddRecordingLiveStream(), and AddVideoLiveStream().

◆ AddRecordingLiveStream()

DTC::LiveStreamInfo * Content::AddRecordingLiveStream ( int  RecordedId,
int  ChanId,
const QDateTime &  recstarttsRaw,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
overridevirtual

Implements ContentServices.

Definition at line 1008 of file content.cpp.

◆ AddVideoLiveStream()

DTC::LiveStreamInfo * Content::AddVideoLiveStream ( int  Id,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
overridevirtual

Implements ContentServices.

Definition at line 1090 of file content.cpp.

◆ GetLiveStream()

DTC::LiveStreamInfo * Content::GetLiveStream ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 971 of file content.cpp.

◆ GetLiveStreamList()

DTC::LiveStreamInfoList * Content::GetLiveStreamList ( const QString &  FileName)
overridevirtual

Implements ContentServices.

Definition at line 999 of file content.cpp.

◆ StopLiveStream()

DTC::LiveStreamInfo * Content::StopLiveStream ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 962 of file content.cpp.

◆ RemoveLiveStream()

bool Content::RemoveLiveStream ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 953 of file content.cpp.


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