From 533da8f89ca144506ccb53e176a17f085a199cf8 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Feb 2020 00:06:19 +0100 Subject: [PATCH] Use isLocalFile() --- src/playlist/playlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist/playlist.cpp b/src/playlist/playlist.cpp index d7fdc5f82..11f23bf74 100644 --- a/src/playlist/playlist.cpp +++ b/src/playlist/playlist.cpp @@ -1864,7 +1864,7 @@ void Playlist::RemoveDeletedSongs() { PlaylistItemPtr item = items_[row]; Song song = item->Metadata(); - if (!song.is_stream() && !QFile::exists(song.url().toLocalFile())) { + if (song.url().isLocalFile() && !QFile::exists(song.url().toLocalFile())) { rows_to_remove.append(row); } }