aboutsummaryrefslogtreecommitdiff
path: root/src/song.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/song.h')
-rw-r--r--src/song.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.h b/src/song.h
index 6016b8d9..e5413fb1 100644
--- a/src/song.h
+++ b/src/song.h
@@ -76,7 +76,7 @@ song_in_database(const struct song *song)
static inline bool
song_is_file(const struct song *song)
{
- return song_in_database(song);
+ return song_in_database(song) || song->url[0] == '/';
}
#endif