diff options
author | Max Kellermann <max@duempel.org> | 2013-10-14 22:38:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-14 22:38:29 +0200 |
commit | 9508ea982b8feb012a9d354a7c80005421a854bc (patch) | |
tree | 4c50648506d2ad1bcc5ebbf93138b62074310840 /src/playlist/EmbeddedCuePlaylistPlugin.cxx | |
parent | 47d655ea7f0ed9c26ceba4767ef6aa82e434d129 (diff) | |
download | mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.gz mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.xz mpd-9508ea982b8feb012a9d354a7c80005421a854bc.zip |
fs/Path: add method IsAbsolute()
Diffstat (limited to '')
-rw-r--r-- | src/playlist/EmbeddedCuePlaylistPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/playlist/EmbeddedCuePlaylistPlugin.cxx b/src/playlist/EmbeddedCuePlaylistPlugin.cxx index 5fc1f28e0..2a06d2236 100644 --- a/src/playlist/EmbeddedCuePlaylistPlugin.cxx +++ b/src/playlist/EmbeddedCuePlaylistPlugin.cxx @@ -34,6 +34,7 @@ #include "Song.hxx" #include "TagFile.hxx" #include "cue/CueParser.hxx" +#include "fs/Path.hxx" #include <glib.h> #include <assert.h> @@ -95,7 +96,7 @@ embcue_playlist_open_uri(const char *uri, gcc_unused Mutex &mutex, gcc_unused Cond &cond) { - if (!g_path_is_absolute(uri)) + if (!Path::IsAbsoluteUTF8(uri)) /* only local files supported */ return NULL; |