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

Media meta information manager.

A manager and editor of media's meta information.

Constructor & Destructor Documentation

VlcMetaManager::VlcMetaManager ( VlcMedia media)
explicit

VlcMetaManager constructor.

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

Get current track album.

Returns
current track album (const QString)
QString VlcMetaManager::artist ( ) const

Get current track artist.

Returns
current track artist (const QString)
QString VlcMetaManager::artwork ( ) const

Get current track artwork URL.

Returns
current track artwork URL (const QString)
QString VlcMetaManager::copyright ( ) const

Get current track copyright.

Returns
current track copyright (const QString)
QString VlcMetaManager::description ( ) const

Get current track description.

Returns
current track description (const QString)
QString VlcMetaManager::encoder ( ) const

Get current track encoder.

Returns
current track encoder (const QString)
QString VlcMetaManager::genre ( ) const

Get current track genre.

Returns
current track genre (const QString)
QString VlcMetaManager::id ( ) const

Get current track ID.

Returns
current track ID (const QString)
QString VlcMetaManager::language ( ) const

Get current track language.

Returns
current track language (const QString)
int VlcMetaManager::number ( ) const

Get current track number.

Returns
current track number (const int)
QString VlcMetaManager::publisher ( ) const

Get current track publisher.

Returns
current track publisher (const QString)
QString VlcMetaManager::rating ( ) const

Get current track rating.

Returns
current track rating (const QString)
bool VlcMetaManager::saveMeta ( ) const

Save the meta previously set.

Returns
true if the write operation was successfull (const bool)
void VlcMetaManager::setAlbum ( const QString &  album)

Set track album.

Parameters
albumnew track album (QString)
void VlcMetaManager::setArtist ( const QString &  artist)

Set track artist.

Parameters
artistnew track artist (QString)
void VlcMetaManager::setCopyright ( const QString &  copyright)

Set track copyright.

Parameters
copyrightnew track copyright (QString)
void VlcMetaManager::setDescription ( const QString &  description)

Set track description.

Parameters
descriptionnew track description (QString)
void VlcMetaManager::setEncoder ( const QString &  encoder)

Set track encoder.

Parameters
encodernew track encoder (QString)
void VlcMetaManager::setGenre ( const QString &  genre)

Set track genre.

Parameters
genrenew track genre (QString)
void VlcMetaManager::setLanguage ( const QString &  language)

Set track language.

Parameters
languagenew track language (QString)
void VlcMetaManager::setNumber ( int  number)

Set track number.

Parameters
numbernew track number (int)
void VlcMetaManager::setPublisher ( const QString &  publisher)

Set track publisher.

Parameters
publishernew track publisher (QString)
QString VlcMetaManager::setting ( ) const

Get current track setting.

Returns
current track setting (const QString)
void VlcMetaManager::setTitle ( const QString &  title)

Set track title.

Parameters
titlenew track title (QString)
void VlcMetaManager::setYear ( int  year)

Set track year.

Parameters
yearnew track year (int)
QString VlcMetaManager::title ( ) const

Get current track title.

Returns
current track title (const QString)
QString VlcMetaManager::url ( ) const

Get current track URL.

Returns
current track URL (const QString)
int VlcMetaManager::year ( ) const

Get current track year.

Returns
current track year (const int)

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