VlcMetaManager Class Reference

Media meta information manager. More...

#include <VLCQtCore/MetaManager.h>

Public Member Functions

 VlcMetaManager (VlcMedia *media)
 VlcMetaManager constructor. More...
 
 ~VlcMetaManager ()
 VlcMetaManager destructor.
 
QString title () const
 Get current track title. More...
 
void setTitle (const QString &title)
 Set track title. More...
 
QString artist () const
 Get current track artist. More...
 
void setArtist (const QString &artist)
 Set track artist. More...
 
QString genre () const
 Get current track genre. More...
 
void setGenre (const QString &genre)
 Set track genre. More...
 
QString copyright () const
 Get current track copyright. More...
 
void setCopyright (const QString &copyright)
 Set track copyright. More...
 
QString album () const
 Get current track album. More...
 
void setAlbum (const QString &album)
 Set track album. More...
 
int number () const
 Get current track number. More...
 
void setNumber (int number)
 Set track number. More...
 
QString description () const
 Get current track description. More...
 
void setDescription (const QString &description)
 Set track description. More...
 
QString rating () const
 Get current track rating. More...
 
int year () const
 Get current track year. More...
 
void setYear (int year)
 Set track year. More...
 
QString setting () const
 Get current track setting. More...
 
QString url () const
 Get current track URL. More...
 
QString language () const
 Get current track language. More...
 
void setLanguage (const QString &language)
 Set track language. More...
 
QString publisher () const
 Get current track publisher. More...
 
void setPublisher (const QString &publisher)
 Set track publisher. More...
 
QString encoder () const
 Get current track encoder. More...
 
void setEncoder (const QString &encoder)
 Set track encoder. More...
 
QString artwork () const
 Get current track artwork URL. More...
 
QString id () const
 Get current track ID. More...
 
bool saveMeta () const
 Save the meta previously set. More...
 

Detailed Description

A manager and editor of media's meta information.

Constructor & Destructor Documentation

VlcMetaManager::VlcMetaManager ( VlcMedia media)
explicit

This constructor creates a new media instance from a media location.

Parameters
mediaselected media for meta information (VlcMedia *)

Member Function Documentation

QString VlcMetaManager::album ( ) const
Returns
current track album (const QString)
QString VlcMetaManager::artist ( ) const
Returns
current track artist (const QString)
QString VlcMetaManager::artwork ( ) const
Returns
current track artwork URL (const QString)
QString VlcMetaManager::copyright ( ) const
Returns
current track copyright (const QString)
QString VlcMetaManager::description ( ) const
Returns
current track description (const QString)
QString VlcMetaManager::encoder ( ) const
Returns
current track encoder (const QString)
QString VlcMetaManager::genre ( ) const
Returns
current track genre (const QString)
QString VlcMetaManager::id ( ) const
Returns
current track ID (const QString)
QString VlcMetaManager::language ( ) const
Returns
current track language (const QString)
int VlcMetaManager::number ( ) const
Returns
current track number (const int)
QString VlcMetaManager::publisher ( ) const
Returns
current track publisher (const QString)
QString VlcMetaManager::rating ( ) const
Returns
current track rating (const QString)
bool VlcMetaManager::saveMeta ( ) const
Returns
true if the write operation was successfull (const bool)
void VlcMetaManager::setAlbum ( const QString &  album)
Parameters
albumnew track album (QString)
void VlcMetaManager::setArtist ( const QString &  artist)
Parameters
artistnew track artist (QString)
void VlcMetaManager::setCopyright ( const QString &  copyright)
Parameters
copyrightnew track copyright (QString)
void VlcMetaManager::setDescription ( const QString &  description)
Parameters
descriptionnew track description (QString)
void VlcMetaManager::setEncoder ( const QString &  encoder)
Parameters
encodernew track encoder (QString)
void VlcMetaManager::setGenre ( const QString &  genre)
Parameters
genrenew track genre (QString)
void VlcMetaManager::setLanguage ( const QString &  language)
Parameters
languagenew track language (QString)
void VlcMetaManager::setNumber ( int  number)
Parameters
numbernew track number (int)
void VlcMetaManager::setPublisher ( const QString &  publisher)
Parameters
publishernew track publisher (QString)
QString VlcMetaManager::setting ( ) const
Returns
current track setting (const QString)
void VlcMetaManager::setTitle ( const QString &  title)
Parameters
titlenew track title (QString)
void VlcMetaManager::setYear ( int  year)
Parameters
yearnew track year (int)
QString VlcMetaManager::title ( ) const
Returns
current track title (const QString)
QString VlcMetaManager::url ( ) const
Returns
current track URL (const QString)
int VlcMetaManager::year ( ) const
Returns
current track year (const int)

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