MythTV  master
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
VideoMetadataImp Class Reference

Public Types

typedef VideoMetadata::genre_list genre_list
 
typedef VideoMetadata::country_list country_list
 
typedef VideoMetadata::cast_list cast_list
 

Public Member Functions

 VideoMetadataImp (const QString &filename, const QString &sortFilename, const QString &hash, const QString &trailer, const QString &coverfile, const QString &screenshot, const QString &banner, const QString &fanart, const QString &title, const QString &sortTitle, const QString &subtitle, const QString &sortSubtitle, const QString &tagline, int year, const QDate &releasedate, const QString &inetref, int collectionref, const QString &homepage, const QString &director, const QString &studio, const QString &plot, float userrating, const QString &rating, int length, int playcount, int season, int episode, const QDate &insertdate, int id, ParentalLevel::Level showlevel, int categoryID, int childID, bool browse, bool watched, const QString &playcommand, const QString &category, const genre_list &genres, const country_list &countries, const cast_list &cast, const QString &host="", bool processed=false, VideoContentType contenttype=kContentUnknown)
 
 VideoMetadataImp (MSqlQuery &query)
 
 VideoMetadataImp (const VideoMetadataImp &other)
 
VideoMetadataImpoperator= (const VideoMetadataImp &rhs)
 
void ensureSortFields (void)
 
const QString & GetPrefix () const
 
void SetPrefix (const QString &prefix)
 
const QString & getTitle () const
 
const QString & getSortTitle () const
 
void SetTitle (const QString &title, const QString &sortTitle="")
 
const QString & getSubtitle () const
 
const QString & getSortSubtitle () const
 
void SetSubtitle (const QString &subtitle, const QString &sortSubtitle="")
 
const QString & GetTagline () const
 
void SetTagline (const QString &tagline)
 
const QString & GetInetRef () const
 
void SetInetRef (const QString &inetRef)
 
int GetCollectionRef () const
 
void SetCollectionRef (int collectionref)
 
const QString & GetHomepage () const
 
void SetHomepage (const QString &homepage)
 
const QString & getDirector () const
 
void SetDirector (const QString &director)
 
const QString & getStudio () const
 
void SetStudio (const QString &studio)
 
const QString & getPlot () const
 
void SetPlot (const QString &plot)
 
const QString & GetRating () const
 
void SetRating (const QString &rating)
 
const QString & getPlayCommand () const
 
void SetPlayCommand (const QString &playCommand)
 
const QString & GetCategory () const
 
const genre_listgetGenres () const
 
void SetGenres (const genre_list &genres)
 
const country_listGetCountries () const
 
void SetCountries (const country_list &countries)
 
const cast_listGetCast () const
 
void SetCast (const cast_list &cast)
 
const QString & GetHost () const
 
void SetHost (const QString &host)
 
const QString & getFilename () const
 
const QString & getSortFilename () const
 
void SetFilename (const QString &filename, const QString &sortFilename="")
 
bool sortBefore (const VideoMetadataImp *rhs) const
 Returns true if the object should appear before the argument. More...
 
const QString & GetHash () const
 
void SetHash (const QString &hash)
 
const QString & GetTrailer () const
 
void SetTrailer (const QString &trailer)
 
const QString & GetCoverFile () const
 
void SetCoverFile (const QString &coverFile)
 
const QString & GetScreenshot () const
 
void SetScreenshot (const QString &screenshot)
 
const QString & GetBanner () const
 
void SetBanner (const QString &banner)
 
const QString & GetFanart () const
 
void SetFanart (const QString &fanart)
 
int GetCategoryID () const
 
void SetCategoryID (int id)
 
int GetChildID () const
 
void SetChildID (int childID)
 
int getYear () const
 
void SetYear (int year)
 
QDate getReleaseDate () const
 
void SetReleaseDate (QDate releasedate)
 
int GetLength () const
 
void SetLength (int length)
 
unsigned int GetPlayCount () const
 
void SetPlayCount (int playcount)
 
int GetSeason () const
 
void SetSeason (int season)
 
int GetEpisode () const
 
void SetEpisode (int episode)
 
QDate GetInsertdate () const
 
void SetInsertdate (QDate date)
 
ParentalLevel::Level GetShowLevel () const
 
void SetShowLevel (ParentalLevel::Level showLevel)
 
bool GetBrowse () const
 
void SetBrowse (bool browse)
 
bool GetWatched () const
 
void SetWatched (bool watched)
 
unsigned int GetID () const
 
void SetID (int id)
 
float GetUserRating () const
 
void SetUserRating (float userRating)
 
bool GetProcessed () const
 
void SetProcessed (bool processed)
 
VideoContentType GetContentType () const
 
void SetContentType (VideoContentType contenttype)
 
void SaveToDatabase ()
 
void UpdateDatabase ()
 
bool DeleteFromDatabase ()
 
bool DeleteFile ()
 Deletes the file associated with a metadata entry. More...
 
void Reset ()
 
bool IsHostSet () const
 
void GetImageMap (InfoMap &imageMap) const
 

Private Member Functions

void fillCountries ()
 
void updateCountries ()
 
void fillGenres ()
 
void fillCast ()
 
void updateGenres ()
 
void updateCast ()
 
bool removeDir (const QString &dirName)
 
void fromDBRow (MSqlQuery &query)
 Sets metadata from a DB row. More...
 
void saveToDatabase ()
 

Private Attributes

QString m_title
 
QString m_sortTitle
 
QString m_subtitle
 
QString m_sortSubtitle
 
QString m_tagline
 
QString m_inetref
 
int m_collectionref
 
QString m_homepage
 
QString m_director
 
QString m_studio
 
QString m_plot
 
QString m_rating
 
QString m_playcommand
 
QString m_category
 
genre_list m_genres
 
country_list m_countries
 
cast_list m_cast
 
QString m_filename
 
QString m_sortFilename
 
QString m_hash
 
QString m_trailer
 
QString m_coverfile
 
QString m_screenshot
 
QString m_banner
 
QString m_fanart
 
QString m_host
 
int m_categoryID
 
int m_childID
 
int m_year
 
QDate m_releasedate
 
int m_length
 
int m_playcount
 
int m_season
 
int m_episode
 
QDate m_insertdate
 
ParentalLevel::Level m_showlevel
 
bool m_browse
 
bool m_watched
 
unsigned int m_id
 
float m_userrating
 
bool m_processed
 
VideoContentType m_contenttype
 
QString m_prefix
 

Detailed Description

Definition at line 26 of file videometadata.cpp.

Member Typedef Documentation

◆ genre_list

Definition at line 29 of file videometadata.cpp.

◆ country_list

Definition at line 30 of file videometadata.cpp.

◆ cast_list

Definition at line 31 of file videometadata.cpp.

Constructor & Destructor Documentation

◆ VideoMetadataImp() [1/3]

VideoMetadataImp::VideoMetadataImp ( const QString &  filename,
const QString &  sortFilename,
const QString &  hash,
const QString &  trailer,
const QString &  coverfile,
const QString &  screenshot,
const QString &  banner,
const QString &  fanart,
const QString &  title,
const QString &  sortTitle,
const QString &  subtitle,
const QString &  sortSubtitle,
const QString &  tagline,
int  year,
const QDate &  releasedate,
const QString &  inetref,
int  collectionref,
const QString &  homepage,
const QString &  director,
const QString &  studio,
const QString &  plot,
float  userrating,
const QString &  rating,
int  length,
int  playcount,
int  season,
int  episode,
const QDate &  insertdate,
int  id,
ParentalLevel::Level  showlevel,
int  categoryID,
int  childID,
bool  browse,
bool  watched,
const QString &  playcommand,
const QString &  category,
const genre_list genres,
const country_list countries,
const cast_list cast,
const QString &  host = "",
bool  processed = false,
VideoContentType  contenttype = kContentUnknown 
)
inline

Definition at line 34 of file videometadata.cpp.

◆ VideoMetadataImp() [2/3]

VideoMetadataImp::VideoMetadataImp ( MSqlQuery query)
inlineexplicit

Definition at line 85 of file videometadata.cpp.

◆ VideoMetadataImp() [3/3]

VideoMetadataImp::VideoMetadataImp ( const VideoMetadataImp other)
inline

Definition at line 91 of file videometadata.cpp.

Member Function Documentation

◆ operator=()

VideoMetadataImp& VideoMetadataImp::operator= ( const VideoMetadataImp rhs)
inline

Definition at line 96 of file videometadata.cpp.

◆ ensureSortFields()

void VideoMetadataImp::ensureSortFields ( void  )
inline

Definition at line 153 of file videometadata.cpp.

◆ GetPrefix()

const QString& VideoMetadataImp::GetPrefix ( ) const
inline

Definition at line 165 of file videometadata.cpp.

Referenced by VideoMetadata::GetPrefix().

◆ SetPrefix()

void VideoMetadataImp::SetPrefix ( const QString &  prefix)
inline

Definition at line 166 of file videometadata.cpp.

Referenced by VideoMetadata::SetPrefix().

◆ getTitle()

const QString& VideoMetadataImp::getTitle ( ) const
inline

Definition at line 168 of file videometadata.cpp.

Referenced by VideoMetadata::GetTitle().

◆ getSortTitle()

const QString& VideoMetadataImp::getSortTitle ( ) const
inline

Definition at line 169 of file videometadata.cpp.

Referenced by VideoMetadata::GetSortTitle().

◆ SetTitle()

void VideoMetadataImp::SetTitle ( const QString &  title,
const QString &  sortTitle = "" 
)
inline

Definition at line 170 of file videometadata.cpp.

Referenced by VideoMetadata::SetTitle().

◆ getSubtitle()

const QString& VideoMetadataImp::getSubtitle ( ) const
inline

Definition at line 177 of file videometadata.cpp.

Referenced by VideoMetadata::GetSubtitle().

◆ getSortSubtitle()

const QString& VideoMetadataImp::getSortSubtitle ( ) const
inline

Definition at line 178 of file videometadata.cpp.

Referenced by VideoMetadata::GetSortSubtitle().

◆ SetSubtitle()

void VideoMetadataImp::SetSubtitle ( const QString &  subtitle,
const QString &  sortSubtitle = "" 
)
inline

Definition at line 179 of file videometadata.cpp.

Referenced by VideoMetadata::SetSubtitle().

◆ GetTagline()

const QString& VideoMetadataImp::GetTagline ( ) const
inline

Definition at line 185 of file videometadata.cpp.

Referenced by VideoMetadata::GetTagline().

◆ SetTagline()

void VideoMetadataImp::SetTagline ( const QString &  tagline)
inline

Definition at line 186 of file videometadata.cpp.

Referenced by VideoMetadata::SetTagline().

◆ GetInetRef()

const QString& VideoMetadataImp::GetInetRef ( void  ) const
inline

Definition at line 188 of file videometadata.cpp.

Referenced by VideoMetadata::GetInetRef().

◆ SetInetRef()

void VideoMetadataImp::SetInetRef ( const QString &  inetRef)
inline

Definition at line 189 of file videometadata.cpp.

Referenced by VideoMetadata::SetInetRef().

◆ GetCollectionRef()

int VideoMetadataImp::GetCollectionRef ( ) const
inline

Definition at line 191 of file videometadata.cpp.

Referenced by VideoMetadata::GetCollectionRef().

◆ SetCollectionRef()

void VideoMetadataImp::SetCollectionRef ( int  collectionref)
inline

Definition at line 192 of file videometadata.cpp.

Referenced by VideoMetadata::SetCollectionRef().

◆ GetHomepage()

const QString& VideoMetadataImp::GetHomepage ( ) const
inline

Definition at line 194 of file videometadata.cpp.

Referenced by VideoMetadata::GetHomepage().

◆ SetHomepage()

void VideoMetadataImp::SetHomepage ( const QString &  homepage)
inline

Definition at line 195 of file videometadata.cpp.

Referenced by VideoMetadata::SetHomepage().

◆ getDirector()

const QString& VideoMetadataImp::getDirector ( ) const
inline

Definition at line 197 of file videometadata.cpp.

Referenced by VideoMetadata::GetDirector().

◆ SetDirector()

void VideoMetadataImp::SetDirector ( const QString &  director)
inline

Definition at line 198 of file videometadata.cpp.

Referenced by VideoMetadata::SetDirector().

◆ getStudio()

const QString& VideoMetadataImp::getStudio ( ) const
inline

Definition at line 200 of file videometadata.cpp.

Referenced by VideoMetadata::GetStudio().

◆ SetStudio()

void VideoMetadataImp::SetStudio ( const QString &  studio)
inline

Definition at line 201 of file videometadata.cpp.

Referenced by VideoMetadata::SetStudio().

◆ getPlot()

const QString& VideoMetadataImp::getPlot ( ) const
inline

Definition at line 203 of file videometadata.cpp.

Referenced by VideoMetadata::GetPlot().

◆ SetPlot()

void VideoMetadataImp::SetPlot ( const QString &  plot)
inline

Definition at line 204 of file videometadata.cpp.

Referenced by VideoMetadata::SetPlot().

◆ GetRating()

const QString& VideoMetadataImp::GetRating ( ) const
inline

Definition at line 206 of file videometadata.cpp.

Referenced by VideoMetadata::GetRating().

◆ SetRating()

void VideoMetadataImp::SetRating ( const QString &  rating)
inline

Definition at line 207 of file videometadata.cpp.

Referenced by VideoMetadata::SetRating().

◆ getPlayCommand()

const QString& VideoMetadataImp::getPlayCommand ( ) const
inline

Definition at line 209 of file videometadata.cpp.

Referenced by VideoMetadata::GetPlayCommand().

◆ SetPlayCommand()

void VideoMetadataImp::SetPlayCommand ( const QString &  playCommand)
inline

Definition at line 210 of file videometadata.cpp.

Referenced by VideoMetadata::SetPlayCommand().

◆ GetCategory()

const QString& VideoMetadataImp::GetCategory ( void  ) const
inline

Definition at line 215 of file videometadata.cpp.

Referenced by VideoMetadata::GetCategory().

◆ getGenres()

const genre_list& VideoMetadataImp::getGenres ( ) const
inline

Definition at line 218 of file videometadata.cpp.

Referenced by VideoMetadata::GetGenres().

◆ SetGenres()

void VideoMetadataImp::SetGenres ( const genre_list genres)
inline

Definition at line 219 of file videometadata.cpp.

Referenced by VideoMetadata::SetGenres().

◆ GetCountries()

const country_list& VideoMetadataImp::GetCountries ( ) const
inline

Definition at line 221 of file videometadata.cpp.

Referenced by VideoMetadata::GetCountries().

◆ SetCountries()

void VideoMetadataImp::SetCountries ( const country_list countries)
inline

Definition at line 222 of file videometadata.cpp.

Referenced by VideoMetadata::SetCountries().

◆ GetCast()

const cast_list& VideoMetadataImp::GetCast ( ) const
inline

Definition at line 227 of file videometadata.cpp.

Referenced by VideoMetadata::GetCast().

◆ SetCast()

void VideoMetadataImp::SetCast ( const cast_list cast)
inline

Definition at line 228 of file videometadata.cpp.

Referenced by VideoMetadata::SetCast().

◆ GetHost()

const QString& VideoMetadataImp::GetHost ( ) const
inline

Definition at line 230 of file videometadata.cpp.

Referenced by VideoMetadata::GetHost().

◆ SetHost()

void VideoMetadataImp::SetHost ( const QString &  host)
inline

Definition at line 231 of file videometadata.cpp.

Referenced by VideoMetadata::SetHost().

◆ getFilename()

const QString& VideoMetadataImp::getFilename ( ) const
inline

◆ getSortFilename()

const QString& VideoMetadataImp::getSortFilename ( ) const
inline

Definition at line 234 of file videometadata.cpp.

Referenced by VideoMetadata::GetSortFilename().

◆ SetFilename()

void VideoMetadataImp::SetFilename ( const QString &  filename,
const QString &  sortFilename = "" 
)
inline

Definition at line 235 of file videometadata.cpp.

Referenced by VideoMetadata::SetFilename().

◆ sortBefore()

bool VideoMetadataImp::sortBefore ( const VideoMetadataImp rhs) const

Returns true if the object should appear before the argument.

Definition at line 396 of file videometadata.cpp.

Referenced by VideoMetadata::sortBefore().

◆ GetHash()

const QString& VideoMetadataImp::GetHash ( ) const
inline

Definition at line 244 of file videometadata.cpp.

Referenced by VideoMetadata::GetHash().

◆ SetHash()

void VideoMetadataImp::SetHash ( const QString &  hash)
inline

Definition at line 245 of file videometadata.cpp.

Referenced by VideoMetadata::SetHash().

◆ GetTrailer()

const QString& VideoMetadataImp::GetTrailer ( ) const
inline

Definition at line 247 of file videometadata.cpp.

Referenced by VideoMetadata::GetTrailer().

◆ SetTrailer()

void VideoMetadataImp::SetTrailer ( const QString &  trailer)
inline

Definition at line 248 of file videometadata.cpp.

Referenced by VideoMetadata::SetTrailer().

◆ GetCoverFile()

const QString& VideoMetadataImp::GetCoverFile ( ) const
inline

Definition at line 250 of file videometadata.cpp.

Referenced by VideoMetadata::GetCoverFile().

◆ SetCoverFile()

void VideoMetadataImp::SetCoverFile ( const QString &  coverFile)
inline

Definition at line 251 of file videometadata.cpp.

Referenced by VideoMetadata::SetCoverFile().

◆ GetScreenshot()

const QString& VideoMetadataImp::GetScreenshot ( ) const
inline

Definition at line 253 of file videometadata.cpp.

Referenced by VideoMetadata::GetScreenshot().

◆ SetScreenshot()

void VideoMetadataImp::SetScreenshot ( const QString &  screenshot)
inline

Definition at line 254 of file videometadata.cpp.

Referenced by VideoMetadata::SetScreenshot().

◆ GetBanner()

const QString& VideoMetadataImp::GetBanner ( ) const
inline

Definition at line 256 of file videometadata.cpp.

Referenced by VideoMetadata::GetBanner().

◆ SetBanner()

void VideoMetadataImp::SetBanner ( const QString &  banner)
inline

Definition at line 257 of file videometadata.cpp.

Referenced by VideoMetadata::SetBanner().

◆ GetFanart()

const QString& VideoMetadataImp::GetFanart ( ) const
inline

Definition at line 259 of file videometadata.cpp.

Referenced by VideoMetadata::GetFanart().

◆ SetFanart()

void VideoMetadataImp::SetFanart ( const QString &  fanart)
inline

Definition at line 260 of file videometadata.cpp.

Referenced by VideoMetadata::SetFanart().

◆ GetCategoryID()

int VideoMetadataImp::GetCategoryID ( ) const
inline

Definition at line 262 of file videometadata.cpp.

Referenced by VideoMetadata::GetCategoryID().

◆ SetCategoryID()

void VideoMetadataImp::SetCategoryID ( int  id)

Definition at line 797 of file videometadata.cpp.

Referenced by VideoMetadata::SetCategoryID().

◆ GetChildID()

int VideoMetadataImp::GetChildID ( ) const
inline

Definition at line 268 of file videometadata.cpp.

Referenced by VideoMetadata::GetChildID().

◆ SetChildID()

void VideoMetadataImp::SetChildID ( int  childID)
inline

Definition at line 269 of file videometadata.cpp.

Referenced by VideoMetadata::SetChildID().

◆ getYear()

int VideoMetadataImp::getYear ( ) const
inline

Definition at line 271 of file videometadata.cpp.

Referenced by VideoMetadata::GetYear().

◆ SetYear()

void VideoMetadataImp::SetYear ( int  year)
inline

Definition at line 272 of file videometadata.cpp.

Referenced by VideoMetadata::SetYear().

◆ getReleaseDate()

QDate VideoMetadataImp::getReleaseDate ( ) const
inline

Definition at line 274 of file videometadata.cpp.

Referenced by VideoMetadata::GetReleaseDate().

◆ SetReleaseDate()

void VideoMetadataImp::SetReleaseDate ( QDate  releasedate)
inline

Definition at line 275 of file videometadata.cpp.

Referenced by VideoMetadata::SetReleaseDate().

◆ GetLength()

int VideoMetadataImp::GetLength ( ) const
inline

Definition at line 277 of file videometadata.cpp.

Referenced by VideoMetadata::GetLength().

◆ SetLength()

void VideoMetadataImp::SetLength ( int  length)
inline

Definition at line 278 of file videometadata.cpp.

Referenced by VideoMetadata::SetLength().

◆ GetPlayCount()

unsigned int VideoMetadataImp::GetPlayCount ( ) const
inline

Definition at line 280 of file videometadata.cpp.

Referenced by VideoMetadata::GetPlayCount().

◆ SetPlayCount()

void VideoMetadataImp::SetPlayCount ( int  playcount)
inline

Definition at line 281 of file videometadata.cpp.

Referenced by VideoMetadata::SetPlayCount().

◆ GetSeason()

int VideoMetadataImp::GetSeason ( void  ) const
inline

Definition at line 283 of file videometadata.cpp.

Referenced by VideoMetadata::GetSeason().

◆ SetSeason()

void VideoMetadataImp::SetSeason ( int  season)
inline

Definition at line 284 of file videometadata.cpp.

Referenced by VideoMetadata::SetSeason().

◆ GetEpisode()

int VideoMetadataImp::GetEpisode ( void  ) const
inline

Definition at line 286 of file videometadata.cpp.

Referenced by VideoMetadata::GetEpisode().

◆ SetEpisode()

void VideoMetadataImp::SetEpisode ( int  episode)
inline

Definition at line 287 of file videometadata.cpp.

Referenced by VideoMetadata::SetEpisode().

◆ GetInsertdate()

QDate VideoMetadataImp::GetInsertdate ( ) const
inline

Definition at line 289 of file videometadata.cpp.

Referenced by VideoMetadata::GetInsertdate().

◆ SetInsertdate()

void VideoMetadataImp::SetInsertdate ( QDate  date)
inline

Definition at line 290 of file videometadata.cpp.

Referenced by VideoMetadata::SetInsertdate().

◆ GetShowLevel()

ParentalLevel::Level VideoMetadataImp::GetShowLevel ( ) const
inline

Definition at line 292 of file videometadata.cpp.

Referenced by VideoMetadata::GetShowLevel().

◆ SetShowLevel()

void VideoMetadataImp::SetShowLevel ( ParentalLevel::Level  showLevel)
inline

Definition at line 293 of file videometadata.cpp.

Referenced by VideoMetadata::SetShowLevel().

◆ GetBrowse()

bool VideoMetadataImp::GetBrowse ( ) const
inline

Definition at line 298 of file videometadata.cpp.

Referenced by VideoMetadata::GetBrowse().

◆ SetBrowse()

void VideoMetadataImp::SetBrowse ( bool  browse)
inline

Definition at line 299 of file videometadata.cpp.

Referenced by VideoMetadata::SetBrowse().

◆ GetWatched()

bool VideoMetadataImp::GetWatched ( ) const
inline

Definition at line 301 of file videometadata.cpp.

Referenced by VideoMetadata::GetWatched().

◆ SetWatched()

void VideoMetadataImp::SetWatched ( bool  watched)
inline

Definition at line 302 of file videometadata.cpp.

Referenced by VideoMetadata::SetWatched().

◆ GetID()

unsigned int VideoMetadataImp::GetID ( ) const
inline

Definition at line 304 of file videometadata.cpp.

Referenced by VideoMetadata::GetID().

◆ SetID()

void VideoMetadataImp::SetID ( int  id)
inline

Definition at line 305 of file videometadata.cpp.

Referenced by VideoMetadata::SetID().

◆ GetUserRating()

float VideoMetadataImp::GetUserRating ( ) const
inline

Definition at line 307 of file videometadata.cpp.

Referenced by VideoMetadata::GetUserRating().

◆ SetUserRating()

void VideoMetadataImp::SetUserRating ( float  userRating)
inline

Definition at line 308 of file videometadata.cpp.

Referenced by VideoMetadata::SetUserRating().

◆ GetProcessed()

bool VideoMetadataImp::GetProcessed ( ) const
inline

Definition at line 310 of file videometadata.cpp.

Referenced by VideoMetadata::GetProcessed().

◆ SetProcessed()

void VideoMetadataImp::SetProcessed ( bool  processed)
inline

Definition at line 311 of file videometadata.cpp.

Referenced by VideoMetadata::SetProcessed().

◆ GetContentType()

VideoContentType VideoMetadataImp::GetContentType ( ) const
inline

Definition at line 313 of file videometadata.cpp.

Referenced by VideoMetadata::GetContentType().

◆ SetContentType()

void VideoMetadataImp::SetContentType ( VideoContentType  contenttype)
inline

Definition at line 314 of file videometadata.cpp.

Referenced by VideoMetadata::SetContentType().

◆ SaveToDatabase()

void VideoMetadataImp::SaveToDatabase ( )

Definition at line 763 of file videometadata.cpp.

Referenced by VideoMetadata::SaveToDatabase().

◆ UpdateDatabase()

void VideoMetadataImp::UpdateDatabase ( )

Definition at line 768 of file videometadata.cpp.

Referenced by VideoMetadata::UpdateDatabase().

◆ DeleteFromDatabase()

bool VideoMetadataImp::DeleteFromDatabase ( )

Definition at line 773 of file videometadata.cpp.

Referenced by VideoMetadata::DeleteFromDatabase().

◆ DeleteFile()

bool VideoMetadataImp::DeleteFile ( )

Deletes the file associated with a metadata entry.

Definition at line 436 of file videometadata.cpp.

Referenced by VideoMetadata::DeleteFile().

◆ Reset()

void VideoMetadataImp::Reset ( void  )

Definition at line 467 of file videometadata.cpp.

Referenced by VideoMetadata::Reset().

◆ IsHostSet()

bool VideoMetadataImp::IsHostSet ( ) const

Definition at line 486 of file videometadata.cpp.

Referenced by VideoMetadata::IsHostSet().

◆ GetImageMap()

void VideoMetadataImp::GetImageMap ( InfoMap imageMap) const

Definition at line 885 of file videometadata.cpp.

Referenced by VideoMetadata::GetImageMap().

◆ fillCountries()

void VideoMetadataImp::fillCountries ( )
private

Definition at line 510 of file videometadata.cpp.

◆ updateCountries()

void VideoMetadataImp::updateCountries ( )
private

Definition at line 843 of file videometadata.cpp.

◆ fillGenres()

void VideoMetadataImp::fillGenres ( )
private

Definition at line 491 of file videometadata.cpp.

◆ fillCast()

void VideoMetadataImp::fillCast ( )
private

Definition at line 529 of file videometadata.cpp.

◆ updateGenres()

void VideoMetadataImp::updateGenres ( )
private

Definition at line 822 of file videometadata.cpp.

◆ updateCast()

void VideoMetadataImp::updateCast ( )
private

Definition at line 864 of file videometadata.cpp.

◆ removeDir()

bool VideoMetadataImp::removeDir ( const QString &  dirName)
private

Definition at line 407 of file videometadata.cpp.

◆ fromDBRow()

void VideoMetadataImp::fromDBRow ( MSqlQuery query)
private

Sets metadata from a DB row.

Query string in VideoMetadataListManager::loadAllFromDatabase

Definition at line 552 of file videometadata.cpp.

◆ saveToDatabase()

void VideoMetadataImp::saveToDatabase ( )
private

Definition at line 609 of file videometadata.cpp.

Member Data Documentation

◆ m_title

QString VideoMetadataImp::m_title
private

Definition at line 342 of file videometadata.cpp.

Referenced by operator=().

◆ m_sortTitle

QString VideoMetadataImp::m_sortTitle
private

Definition at line 343 of file videometadata.cpp.

Referenced by operator=(), and sortBefore().

◆ m_subtitle

QString VideoMetadataImp::m_subtitle
private

Definition at line 344 of file videometadata.cpp.

Referenced by operator=().

◆ m_sortSubtitle

QString VideoMetadataImp::m_sortSubtitle
private

Definition at line 345 of file videometadata.cpp.

Referenced by operator=().

◆ m_tagline

QString VideoMetadataImp::m_tagline
private

Definition at line 346 of file videometadata.cpp.

Referenced by operator=().

◆ m_inetref

QString VideoMetadataImp::m_inetref
private

Definition at line 347 of file videometadata.cpp.

Referenced by operator=().

◆ m_collectionref

int VideoMetadataImp::m_collectionref
private

Definition at line 348 of file videometadata.cpp.

Referenced by operator=().

◆ m_homepage

QString VideoMetadataImp::m_homepage
private

Definition at line 349 of file videometadata.cpp.

Referenced by operator=().

◆ m_director

QString VideoMetadataImp::m_director
private

Definition at line 350 of file videometadata.cpp.

Referenced by operator=().

◆ m_studio

QString VideoMetadataImp::m_studio
private

Definition at line 351 of file videometadata.cpp.

Referenced by operator=().

◆ m_plot

QString VideoMetadataImp::m_plot
private

Definition at line 352 of file videometadata.cpp.

Referenced by operator=().

◆ m_rating

QString VideoMetadataImp::m_rating
private

Definition at line 353 of file videometadata.cpp.

Referenced by operator=().

◆ m_playcommand

QString VideoMetadataImp::m_playcommand
private

Definition at line 354 of file videometadata.cpp.

Referenced by operator=().

◆ m_category

QString VideoMetadataImp::m_category
private

Definition at line 355 of file videometadata.cpp.

Referenced by operator=().

◆ m_genres

genre_list VideoMetadataImp::m_genres
private

Definition at line 356 of file videometadata.cpp.

Referenced by operator=().

◆ m_countries

country_list VideoMetadataImp::m_countries
private

Definition at line 357 of file videometadata.cpp.

Referenced by operator=().

◆ m_cast

cast_list VideoMetadataImp::m_cast
private

Definition at line 358 of file videometadata.cpp.

Referenced by operator=().

◆ m_filename

QString VideoMetadataImp::m_filename
private

Definition at line 359 of file videometadata.cpp.

Referenced by operator=().

◆ m_sortFilename

QString VideoMetadataImp::m_sortFilename
private

Definition at line 360 of file videometadata.cpp.

Referenced by operator=(), and sortBefore().

◆ m_hash

QString VideoMetadataImp::m_hash
private

Definition at line 361 of file videometadata.cpp.

Referenced by operator=().

◆ m_trailer

QString VideoMetadataImp::m_trailer
private

Definition at line 362 of file videometadata.cpp.

Referenced by operator=().

◆ m_coverfile

QString VideoMetadataImp::m_coverfile
private

Definition at line 363 of file videometadata.cpp.

Referenced by operator=().

◆ m_screenshot

QString VideoMetadataImp::m_screenshot
private

Definition at line 364 of file videometadata.cpp.

Referenced by operator=().

◆ m_banner

QString VideoMetadataImp::m_banner
private

Definition at line 365 of file videometadata.cpp.

Referenced by operator=().

◆ m_fanart

QString VideoMetadataImp::m_fanart
private

Definition at line 366 of file videometadata.cpp.

Referenced by operator=().

◆ m_host

QString VideoMetadataImp::m_host
private

Definition at line 367 of file videometadata.cpp.

Referenced by operator=().

◆ m_categoryID

int VideoMetadataImp::m_categoryID
private

Definition at line 369 of file videometadata.cpp.

Referenced by operator=().

◆ m_childID

int VideoMetadataImp::m_childID
private

Definition at line 370 of file videometadata.cpp.

Referenced by operator=().

◆ m_year

int VideoMetadataImp::m_year
private

Definition at line 371 of file videometadata.cpp.

Referenced by operator=().

◆ m_releasedate

QDate VideoMetadataImp::m_releasedate
private

Definition at line 372 of file videometadata.cpp.

Referenced by operator=().

◆ m_length

int VideoMetadataImp::m_length
private

Definition at line 373 of file videometadata.cpp.

Referenced by operator=().

◆ m_playcount

int VideoMetadataImp::m_playcount
private

Definition at line 374 of file videometadata.cpp.

Referenced by operator=().

◆ m_season

int VideoMetadataImp::m_season
private

Definition at line 375 of file videometadata.cpp.

Referenced by operator=().

◆ m_episode

int VideoMetadataImp::m_episode
private

Definition at line 376 of file videometadata.cpp.

Referenced by operator=().

◆ m_insertdate

QDate VideoMetadataImp::m_insertdate
private

Definition at line 377 of file videometadata.cpp.

Referenced by operator=().

◆ m_showlevel

ParentalLevel::Level VideoMetadataImp::m_showlevel
private

Definition at line 378 of file videometadata.cpp.

Referenced by operator=().

◆ m_browse

bool VideoMetadataImp::m_browse
private

Definition at line 379 of file videometadata.cpp.

Referenced by operator=().

◆ m_watched

bool VideoMetadataImp::m_watched
private

Definition at line 380 of file videometadata.cpp.

Referenced by operator=().

◆ m_id

unsigned int VideoMetadataImp::m_id
private

Definition at line 381 of file videometadata.cpp.

Referenced by operator=().

◆ m_userrating

float VideoMetadataImp::m_userrating
private

Definition at line 382 of file videometadata.cpp.

Referenced by operator=().

◆ m_processed

bool VideoMetadataImp::m_processed
private

Definition at line 383 of file videometadata.cpp.

Referenced by operator=().

◆ m_contenttype

VideoContentType VideoMetadataImp::m_contenttype
private

Definition at line 384 of file videometadata.cpp.

Referenced by operator=().

◆ m_prefix

QString VideoMetadataImp::m_prefix
private

Definition at line 387 of file videometadata.cpp.

Referenced by operator=().


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