MythTV  master
Public Slots | Public Member Functions | Private Attributes | List of all members
ScriptableVideo Class Reference

#include <video.h>

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

Public Slots

QObject * GetVideoList (const QString &Folder, const QString &Sort, bool Descending, int StartIndex, int Count)
 
QObject * GetVideo (int Id)
 
QObject * GetVideoByFileName (const QString &FileName)
 
QObject * LookupVideo (const QString &Title, const QString &Subtitle, const QString &Inetref, int Season, int Episode, const QString &GrabberType, bool AllowGeneric)
 
bool RemoveVideoFromDB (int Id)
 
bool AddVideo (const QString &FileName, const QString &HostName)
 
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)
 

Public Member Functions

Q_INVOKABLE ScriptableVideo (QScriptEngine *pEngine, QObject *parent=0)
 

Private Attributes

Video m_obj
 
QScriptEngine * m_pEngine
 

Detailed Description

Definition at line 134 of file video.h.

Constructor & Destructor Documentation

§ ScriptableVideo()

Q_INVOKABLE ScriptableVideo::ScriptableVideo ( QScriptEngine *  pEngine,
QObject *  parent = 0 
)
inline

Definition at line 145 of file video.h.

Member Function Documentation

§ GetVideoList

QObject* ScriptableVideo::GetVideoList ( const QString &  Folder,
const QString &  Sort,
bool  Descending,
int  StartIndex,
int  Count 
)
inlineslot

Definition at line 152 of file video.h.

§ GetVideo

QObject* ScriptableVideo::GetVideo ( int  Id)
inlineslot

Definition at line 164 of file video.h.

§ GetVideoByFileName

QObject* ScriptableVideo::GetVideoByFileName ( const QString &  FileName)
inlineslot

Definition at line 171 of file video.h.

§ LookupVideo

QObject* ScriptableVideo::LookupVideo ( const QString &  Title,
const QString &  Subtitle,
const QString &  Inetref,
int  Season,
int  Episode,
const QString &  GrabberType,
bool  AllowGeneric 
)
inlineslot

Definition at line 178 of file video.h.

§ RemoveVideoFromDB

bool ScriptableVideo::RemoveVideoFromDB ( int  Id)
inlineslot

Definition at line 193 of file video.h.

§ AddVideo

bool ScriptableVideo::AddVideo ( const QString &  FileName,
const QString &  HostName 
)
inlineslot

Definition at line 200 of file video.h.

§ UpdateVideoMetadata

bool ScriptableVideo::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 
)
inlineslot

Definition at line 208 of file video.h.

Member Data Documentation

§ m_obj

Video ScriptableVideo::m_obj
private

Definition at line 140 of file video.h.

§ m_pEngine

QScriptEngine* ScriptableVideo::m_pEngine
private

Definition at line 141 of file video.h.


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