MythTV  master
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
V2Content Class Reference

#include <v2content.h>

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

Public Slots

static QFileInfo GetFile (const QString &StorageGroup, const QString &FileName)
 
static QFileInfo GetImageFile (const QString &StorageGroup, const QString &FileName, int Width, int Height)
 
static QStringList GetFileList (const QString &StorageGroup)
 
static QStringList GetDirList (const QString &StorageGroup)
 
static QFileInfo GetRecordingArtwork (const QString &Type, const QString &Inetref, int Season, int Width, int Height)
 
static V2ArtworkInfoListGetRecordingArtworkList (int RecordedId, int ChanId, const QDateTime &StartTime)
 
static V2ArtworkInfoListGetProgramArtworkList (const QString &Inetref, int Season)
 
static QFileInfo GetVideoArtwork (const QString &Type, int Id, int Width, int Height)
 
static QFileInfo GetAlbumArt (int Id, int Width, int Height)
 
static QFileInfo GetPreviewImage (int RecordedId, int ChanId, const QDateTime &StartTime, int Width, int Height, int SecsIn, const QString &Format)
 
static QFileInfo GetRecording (int RecordedId, int ChanId, const QDateTime &StartTime)
 
static QFileInfo GetMusic (int Id)
 
static QFileInfo GetVideo (int Id)
 
static QString GetHash (const QString &StorageGroup, const QString &FileName)
 
static bool DownloadFile (const QString &URL, const QString &StorageGroup)
 

Public Member Functions

 V2Content ()
 
 ~V2Content () override=default
 
- Public Member Functions inherited from MythHTTPService
 MythHTTPService (MythHTTPMetaService *MetaService)
 
 ~MythHTTPService () override=default
 
virtual HTTPResponse HTTPRequest (const HTTPRequest2 &Request)
 Respond to a valid HTTPRequest. More...
 
QString & Name ()
 

Static Public Member Functions

static void RegisterCustomTypes ()
 
- Static Public Member Functions inherited from MythHTTPService
template<class T >
static HTTPServicePtr Create ()
 

Additional Inherited Members

- Protected Member Functions inherited from MythHTTPService
bool HAS_PARAMv2 (const QString &p)
 
- Protected Attributes inherited from MythHTTPService
QString m_name
 
MythHTTPMetaServicem_staticMetaService { nullptr }
 
HTTPRequest2 m_request {nullptr}
 

Detailed Description

Definition at line 37 of file v2content.h.

Constructor & Destructor Documentation

◆ V2Content()

V2Content::V2Content ( )

Definition at line 74 of file v2content.cpp.

◆ ~V2Content()

V2Content::~V2Content ( )
overridedefault

Member Function Documentation

◆ RegisterCustomTypes()

static void V2Content::RegisterCustomTypes ( )
static

◆ GetFile

QFileInfo V2Content::GetFile ( const QString &  StorageGroup,
const QString &  FileName 
)
staticslot

Definition at line 80 of file v2content.cpp.

Referenced by GetMusic(), and GetVideo().

◆ GetImageFile

QFileInfo V2Content::GetImageFile ( const QString &  StorageGroup,
const QString &  FileName,
int  Width,
int  Height 
)
staticslot

Definition at line 135 of file v2content.cpp.

Referenced by GetRecordingArtwork(), and GetVideoArtwork().

◆ GetFileList

QStringList V2Content::GetFileList ( const QString &  StorageGroup)
staticslot

Definition at line 257 of file v2content.cpp.

◆ GetDirList

QStringList V2Content::GetDirList ( const QString &  StorageGroup)
staticslot

Definition at line 237 of file v2content.cpp.

◆ GetRecordingArtwork

QFileInfo V2Content::GetRecordingArtwork ( const QString &  Type,
const QString &  Inetref,
int  Season,
int  Width,
int  Height 
)
staticslot

Definition at line 277 of file v2content.cpp.

◆ GetRecordingArtworkList

V2ArtworkInfoList * V2Content::GetRecordingArtworkList ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
staticslot

Definition at line 323 of file v2content.cpp.

◆ GetProgramArtworkList

V2ArtworkInfoList * V2Content::GetProgramArtworkList ( const QString &  Inetref,
int  Season 
)
staticslot

Definition at line 341 of file v2content.cpp.

Referenced by GetRecordingArtworkList().

◆ GetVideoArtwork

QFileInfo V2Content::GetVideoArtwork ( const QString &  Type,
int  Id,
int  Width,
int  Height 
)
staticslot

Definition at line 355 of file v2content.cpp.

◆ GetAlbumArt

QFileInfo V2Content::GetAlbumArt ( int  Id,
int  Width,
int  Height 
)
staticslot

Definition at line 414 of file v2content.cpp.

◆ GetPreviewImage

QFileInfo V2Content::GetPreviewImage ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
int  Width,
int  Height,
int  SecsIn,
const QString &  Format 
)
staticslot

Definition at line 511 of file v2content.cpp.

◆ GetRecording

QFileInfo V2Content::GetRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
staticslot

Definition at line 685 of file v2content.cpp.

◆ GetMusic

QFileInfo V2Content::GetMusic ( int  Id)
staticslot

Definition at line 743 of file v2content.cpp.

◆ GetVideo

QFileInfo V2Content::GetVideo ( int  Id)
staticslot

Definition at line 786 of file v2content.cpp.

◆ GetHash

QString V2Content::GetHash ( const QString &  StorageGroup,
const QString &  FileName 
)
staticslot

Definition at line 824 of file v2content.cpp.

◆ DownloadFile

bool V2Content::DownloadFile ( const QString &  URL,
const QString &  StorageGroup 
)
staticslot

Definition at line 857 of file v2content.cpp.


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