fixed 'format' when playing .cue files

This commit is contained in:
Martin Wagner 2020-10-03 13:49:32 +02:00
parent c4ba4b0457
commit f8877ff3c3

View File

@ -2494,7 +2494,7 @@ class AudioType(Gtk.Label):
def _on_song_changed(self, *args):
try:
self.file_type=self._client.wrapped_call("currentsong")["file"].split(".")[-1]
self.file_type=self._client.wrapped_call("currentsong")["file"].split(".")[-1].split("/")[0]
self._refresh()
except:
pass