Handle Mopidy local:track:file paths
This commit is contained in:
committed by
craig.p.drummond
parent
ed4b0007c3
commit
6333aa1ff0
@@ -109,6 +109,11 @@ QString Song::decodePath(const QString &file)
|
||||
return file.startsWith(constMopidyLocal) ? QUrl(file.mid(constMopidyLocal.length())).path() : file;
|
||||
}
|
||||
|
||||
QString Song::encodePath(const QString &file)
|
||||
{
|
||||
return constMopidyLocal+QString(QUrl::toPercentEncoding(file));
|
||||
}
|
||||
|
||||
static bool useComposerIfSet=false;
|
||||
|
||||
bool Song::useComposer()
|
||||
|
||||
Reference in New Issue
Block a user