aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist_print.c')
-rw-r--r--src/playlist_print.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/playlist_print.c b/src/playlist_print.c
index 59c42f969..204ce3582 100644
--- a/src/playlist_print.c
+++ b/src/playlist_print.c
@@ -94,13 +94,6 @@ playlist_print_find(struct client *client, const struct playlist *playlist,
}
void
-playlist_print_search(struct client *client, const struct playlist *playlist,
- const struct locate_item_list *list)
-{
- queue_search(client, &playlist->queue, list);
-}
-
-void
playlist_print_changes_info(struct client *client,
const struct playlist *playlist,
uint32_t version)
@@ -164,7 +157,7 @@ playlist_provider_print(struct client *client, const char *uri,
else
song_print_uri(client, song);
- if (!song_in_database(song))
+ if (!song_in_database(song) || song_is_detached(song))
song_free(song);
}