Ubuntu TV Media Scanner
A centralized index for removable media content.
|
#include <mediascanner/mediautils.h>
Public Types | |
typedef PropertyVector::const_iterator | const_iterator |
typedef PropertyVector::value_type | value_type |
Public Member Functions | |
MediaInfo () | |
void | add_related (const Property::ValueMap &properties) |
void | add_single (const Property::BoundValue &value) |
Property::Value | first (Property key) const |
size_t | count (Property key) const |
template<typename PropertyType , typename ValueType > | |
ValueType | first (const GenericProperty< PropertyType, ValueType > &key) const |
std::wstring | first (StringProperty key) const |
std::wstring | first (TextProperty key) const |
GrlMedia * | make_media (GList *const requested_keys) const |
GrlMedia * | make_media (GList *const requested_keys, const std::string &url) const |
void | copy_to_media (GList *const requested_keys, GrlMedia *const media) const |
bool | fill_from_media (GrlMedia *media, const GList *const requested_keys, GList **failed_keys, std::string *error_message) |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
bool | operator== (const MediaInfo &other) const |
bool | operator!= (const MediaInfo &other) const |
template<typename P , typename V > | |
V | first (const GenericProperty< P, V > &key) const |
typedef PropertyVector::const_iterator mediascanner::MediaInfo::const_iterator |
typedef PropertyVector::value_type mediascanner::MediaInfo::value_type |
mediascanner::MediaInfo::MediaInfo | ( | ) |
void mediascanner::MediaInfo::add_related | ( | const Property::ValueMap & | properties) |
void mediascanner::MediaInfo::add_single | ( | const Property::BoundValue & | value) |
|
inline |
void mediascanner::MediaInfo::copy_to_media | ( | GList *const | requested_keys, |
GrlMedia *const | media | ||
) | const |
size_t mediascanner::MediaInfo::count | ( | Property | key) | const |
bool mediascanner::MediaInfo::empty | ( | ) | const |
|
inline |
bool mediascanner::MediaInfo::fill_from_media | ( | GrlMedia * | media, |
const GList *const | requested_keys, | ||
GList ** | failed_keys, | ||
std::string * | error_message | ||
) |
Property::Value mediascanner::MediaInfo::first | ( | Property | key) | const |
ValueType mediascanner::MediaInfo::first | ( | const GenericProperty< PropertyType, ValueType > & | key) | const |
|
inline |
|
inline |
|
inline |
GrlMedia* mediascanner::MediaInfo::make_media | ( | GList *const | requested_keys, |
const std::string & | url | ||
) | const |
|
inline |
|
inline |