From d2f516d15c5f9a78991d661dd0ea4af4445cd086 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 23 Sep 2009 04:29:52 +0200 Subject: replace the last one mpd_song_get_uri with MyFilename() --- src/song.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/song.cpp') diff --git a/src/song.cpp b/src/song.cpp index 8cab1fcd..baae66e3 100644 --- a/src/song.cpp +++ b/src/song.cpp @@ -127,7 +127,7 @@ bool MPD::Song::Empty() const bool MPD::Song::isFromDB() const { - return (mpd_song_get_uri(itsSong)[0] != '/') || itsSlash == std::string::npos; + return (MyFilename()[0] != '/') || itsSlash == std::string::npos; } bool MPD::Song::isStream() const -- cgit v1.2.3