Remove .ogg

rr/dockerize
Will Hunt 2016-03-21 13:44:40 +00:00
parent a1aa987325
commit 4c241c88aa
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class CmdListener:
self.mpc.next()
elif parts[0] == "playlist":
plist = self.mpc.playlist().split("\n")[:-1][:3]
room.send_text("\n".join(plist))
room.send_text("\n".join(plist).replace(".ogg",""))
elif parts[0] == "current":
fname = self.mpc.current()
fname = fname.replace("_"," ").replace(".ogg","")