MythTV  master
musicutils.h
Go to the documentation of this file.
1 // qt
2 #include <QString>
3 
4 // mythtv
5 #include "mythmetaexp.h"
6 
7 class MusicMetadata;
8 
10 META_PUBLIC QString fixFilename(const QString &filename);
11 
13 META_PUBLIC QString fixFileToken_sl (QString token);
14 
16 META_PUBLIC QString findIcon(const QString &type, const QString &name, bool ignoreCache = false);
17 
20 
22 META_PUBLIC bool isNewTune(const QString &artist, const QString &album, const QString &title);
fixFilename
META_PUBLIC QString fixFilename(const QString &filename)
remove any bad filename characters
Definition: musicutils.cpp:27
MusicMetadata
Definition: musicmetadata.h:81
mythmetaexp.h
isNewTune
META_PUBLIC bool isNewTune(const QString &artist, const QString &album, const QString &title)
try to find a track in the db using the given artist, album and title
Definition: musicutils.cpp:126
filenameFromMetadata
META_PUBLIC QString filenameFromMetadata(MusicMetadata *track)
create a filename using the template in the settings and a MusicMetadata object
Definition: musicutils.cpp:78
fixFileToken_sl
META_PUBLIC QString fixFileToken_sl(QString token)
remove any bad filename characters (leaving '/' untouched)
Definition: musicutils.cpp:69
build_compdb.filename
filename
Definition: build_compdb.py:21
META_PUBLIC
#define META_PUBLIC
Definition: mythmetaexp.h:9
findIcon
META_PUBLIC QString findIcon(const QString &type, const QString &name, bool ignoreCache=false)
find an image for a artist or genre
Definition: musicutils.cpp:34