artist and album labels fix
This commit is contained in:
parent
019bf5c8e7
commit
bd9070b1c8
10
main.py
10
main.py
@ -330,15 +330,19 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow):
|
||||
if self.current_song_metadata is not None:
|
||||
artist = (
|
||||
self.current_song_metadata["TPE1"][0]
|
||||
if "artist" in self.current_song_metadata
|
||||
if "TPE1" in self.current_song_metadata
|
||||
else None
|
||||
)
|
||||
album = (
|
||||
self.current_song_metadata["TALB"][0]
|
||||
if "album" in self.current_song_metadata
|
||||
if "TALB" in self.current_song_metadata
|
||||
else None
|
||||
)
|
||||
title = (
|
||||
self.current_song_metadata["TIT2"][0]
|
||||
if "TIT2" in self.current_song_metadata
|
||||
else None
|
||||
)
|
||||
title = self.current_song_metadata["TIT2"][0]
|
||||
|
||||
debug(artist)
|
||||
debug(title)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user