diff options
author | Max Kellermann <max@duempel.org> | 2014-01-18 18:20:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-21 21:06:56 +0100 |
commit | 5d4b450c52b3af92a03a8380a40dc703f0df4233 (patch) | |
tree | 9f861173b3861c544670dfb3f38b436902f67b63 /src/PlaylistUpdate.cxx | |
parent | 483b1f51c96303f2b587870cce6803cc6f699158 (diff) | |
download | mpd-5d4b450c52b3af92a03a8380a40dc703f0df4233.tar.gz mpd-5d4b450c52b3af92a03a8380a40dc703f0df4233.tar.xz mpd-5d4b450c52b3af92a03a8380a40dc703f0df4233.zip |
DetachedSong: add attribute "real_uri"
Prepare for UPnP songs that retain there database identity.
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistUpdate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistUpdate.cxx b/src/PlaylistUpdate.cxx index 755589786..800ad49c9 100644 --- a/src/PlaylistUpdate.cxx +++ b/src/PlaylistUpdate.cxx @@ -30,7 +30,7 @@ static bool UpdatePlaylistSong(const Database &db, DetachedSong &song) { - if (!song.IsInDatabase()) + if (!song.IsInDatabase() || !song.IsFile()) /* only update Songs instances that are "detached" from the Database */ return false; |