aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/song.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.c b/src/song.c
index 7d28a3348..14e4ff9b7 100644
--- a/src/song.c
+++ b/src/song.c
@@ -315,7 +315,7 @@ char * getSongUrl(Song * song) {
return NULL;
}
- if(!song->parentDir || !song->parentDir->name) return song->url;
+ if(!song->parentDir || !song->parentDir->path) return song->url;
/* be careful with this!*/
if(song == lastSong) return buffer;