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

#include <mythbackend/servicesv2/v2video.h>

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

Public Slots

static V2VideoMetadataInfoGetVideo (int Id)
 
static V2VideoMetadataInfoGetVideoByFileName (const QString &FileName)
 
static long GetSavedBookmark (int Id)
 
static long GetLastPlayPos (int Id)
 
static V2VideoMetadataInfoListGetVideoList (const QString &Folder, const QString &Sort, bool Descending, int StartIndex, int Count, bool CollapseSubDirs)
 
static V2VideoLookupListLookupVideo (const QString &Title, const QString &Subtitle, const QString &Inetref, int Season, int Episode, const QString &GrabberType, bool AllowGeneric)
 
static bool RemoveVideoFromDB (int Id)
 
static bool AddVideo (const QString &FileName, const QString &HostName)
 
static bool UpdateVideoWatchedStatus (int Id, bool Watched)
 
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, 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, QDate InsertDate, const QString &ContentType, const QString &Genres, const QString &Cast, const QString &Countries)
 
static bool SetSavedBookmark (int Id, long Offset)
 
static bool SetLastPlayPos (int Id, long Offset)
 
static V2BlurayInfoGetBluray (const QString &Path)
 
static V2VideoStreamInfoListGetStreamInfo (const QString &StorageGroup, const QString &FileName)
 
static V2CutListGetVideoCutList (int Id, const QString &OffsetType, bool IncludeFps)
 
static V2CutListGetVideoCommBreak (int Id, const QString &OffsetType, bool IncludeFps)
 

Public Member Functions

 V2Video ()
 
 ~V2Video () 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 16 of file v2video.h.

Constructor & Destructor Documentation

◆ V2Video()

V2Video::V2Video ( )

Definition at line 50 of file v2video.cpp.

◆ ~V2Video()

V2Video::~V2Video ( )
overridedefault

Member Function Documentation

◆ RegisterCustomTypes()

static void V2Video::RegisterCustomTypes ( )
static

◆ GetVideo

V2VideoMetadataInfo * V2Video::GetVideo ( int  Id)
staticslot

Definition at line 55 of file v2video.cpp.

◆ GetVideoByFileName

V2VideoMetadataInfo * V2Video::GetVideoByFileName ( const QString &  FileName)
staticslot

Definition at line 70 of file v2video.cpp.

◆ GetSavedBookmark

long V2Video::GetSavedBookmark ( int  Id)
staticslot

Definition at line 93 of file v2video.cpp.

◆ GetLastPlayPos

long V2Video::GetLastPlayPos ( int  Id)
staticslot

Definition at line 140 of file v2video.cpp.

◆ GetVideoList

V2VideoMetadataInfoList * V2Video::GetVideoList ( const QString &  Folder,
const QString &  Sort,
bool  Descending,
int  StartIndex,
int  Count,
bool  CollapseSubDirs 
)
staticslot

Definition at line 202 of file v2video.cpp.

◆ LookupVideo

V2VideoLookupList * V2Video::LookupVideo ( const QString &  Title,
const QString &  Subtitle,
const QString &  Inetref,
int  Season,
int  Episode,
const QString &  GrabberType,
bool  AllowGeneric 
)
staticslot

Definition at line 376 of file v2video.cpp.

◆ RemoveVideoFromDB

bool V2Video::RemoveVideoFromDB ( int  Id)
staticslot

Definition at line 497 of file v2video.cpp.

◆ AddVideo

bool V2Video::AddVideo ( const QString &  FileName,
const QString &  HostName 
)
staticslot

Definition at line 513 of file v2video.cpp.

◆ UpdateVideoWatchedStatus

bool V2Video::UpdateVideoWatchedStatus ( int  Id,
bool  Watched 
)
staticslot

Definition at line 569 of file v2video.cpp.

◆ UpdateVideoMetadata

bool V2Video::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,
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,
QDate  InsertDate,
const QString &  ContentType,
const QString &  Genres,
const QString &  Cast,
const QString &  Countries 
)
slot

Definition at line 587 of file v2video.cpp.

◆ SetSavedBookmark

bool V2Video::SetSavedBookmark ( int  Id,
long  Offset 
)
staticslot

Definition at line 914 of file v2video.cpp.

◆ SetLastPlayPos

bool V2Video::SetLastPlayPos ( int  Id,
long  Offset 
)
staticslot

Definition at line 961 of file v2video.cpp.

◆ GetBluray

V2BlurayInfo * V2Video::GetBluray ( const QString &  Path)
staticslot

Definition at line 1005 of file v2video.cpp.

◆ GetStreamInfo

V2VideoStreamInfoList * V2Video::GetStreamInfo ( const QString &  StorageGroup,
const QString &  FileName 
)
staticslot

Definition at line 1068 of file v2video.cpp.

◆ GetVideoCutList

V2CutList * V2Video::GetVideoCutList ( int  Id,
const QString &  OffsetType,
bool  IncludeFps 
)
staticslot

Definition at line 1112 of file v2video.cpp.

◆ GetVideoCommBreak

V2CutList * V2Video::GetVideoCommBreak ( int  Id,
const QString &  OffsetType,
bool  IncludeFps 
)
staticslot

Definition at line 1174 of file v2video.cpp.


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