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

#include <content.h>

Inheritance diagram for Content:
Inheritance graph
[legend]
Collaboration diagram for Content:
Collaboration graph
[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)
 

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 33 of file content.h.

Constructor & Destructor Documentation

◆ Content()

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

Definition at line 39 of file content.h.

Member Function Documentation

◆ GetFile()

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

Implements ContentServices.

Definition at line 55 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 110 of file content.cpp.

Referenced by GetRecordingArtwork(), and GetVideoArtwork().

◆ GetFileList()

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

Implements ContentServices.

Definition at line 232 of file content.cpp.

◆ GetDirList()

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

Implements ContentServices.

Definition at line 212 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 252 of file content.cpp.

◆ GetRecordingArtworkList()

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

Implements ContentServices.

Definition at line 298 of file content.cpp.

Referenced by ScriptableContent::GetRecordingArtworkList().

◆ GetProgramArtworkList()

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

Implements ContentServices.

Definition at line 316 of file content.cpp.

Referenced by ScriptableContent::GetProgramArtworkList(), and GetRecordingArtworkList().

◆ GetVideoArtwork()

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

Implements ContentServices.

Definition at line 330 of file content.cpp.

◆ GetAlbumArt()

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

Implements ContentServices.

Definition at line 389 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 486 of file content.cpp.

◆ GetRecording()

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

Implements ContentServices.

Definition at line 660 of file content.cpp.

◆ GetMusic()

QFileInfo Content::GetMusic ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 717 of file content.cpp.

◆ GetVideo()

QFileInfo Content::GetVideo ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 760 of file content.cpp.

◆ GetHash()

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

Implements ContentServices.

Definition at line 798 of file content.cpp.

Referenced by ScriptableContent::GetHash().

◆ DownloadFile()

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

Implements ContentServices.

Definition at line 831 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

◆ 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 994 of file content.cpp.

Referenced by ScriptableContent::AddRecordingLiveStream().

◆ 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 1067 of file content.cpp.

Referenced by ScriptableContent::AddVideoLiveStream().

◆ GetLiveStream()

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

Implements ContentServices.

Definition at line 957 of file content.cpp.

Referenced by ScriptableContent::GetLiveStream().

◆ GetLiveStreamList()

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

Implements ContentServices.

Definition at line 985 of file content.cpp.

Referenced by ScriptableContent::GetLiveStreamList().

◆ StopLiveStream()

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

Implements ContentServices.

Definition at line 948 of file content.cpp.

Referenced by ScriptableContent::StopLiveStream().

◆ RemoveLiveStream()

bool Content::RemoveLiveStream ( int  Id)
overridevirtual

Implements ContentServices.

Definition at line 939 of file content.cpp.

Referenced by ScriptableContent::RemoveLiveStream().


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