DetachedSong: add attribute "real_uri"
Prepare for UPnP songs that retain there database identity.
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
void
|
||||
playlist_print_song(FILE *file, const DetachedSong &song)
|
||||
{
|
||||
if (playlist_saveAbsolutePaths && song.IsInDatabase()) {
|
||||
if (playlist_saveAbsolutePaths &&
|
||||
song.IsInDatabase() && song.IsFile()) {
|
||||
const auto path = map_song_fs(song);
|
||||
if (!path.IsNull())
|
||||
fprintf(file, "%s\n", path.c_str());
|
||||
|
Reference in New Issue
Block a user