Properly set MPD filename if no title
This commit is contained in:
parent
ad2f08e89b
commit
e3194147fa
@ -114,7 +114,7 @@ class MPD(IntervalModule):
|
||||
"bitrate": int(status.get("bitrate", 0)),
|
||||
}
|
||||
|
||||
if not fdict["title"] and "filename" in fdict:
|
||||
if not fdict["title"]:
|
||||
fdict["filename"] = '.'.join(
|
||||
basename(currentsong["file"]).split('.')[:-1])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user