- stitle = currPlay.info().getInfoString(iServiceInformation.sTitle)
- if stitle == "":
- stitle = currPlay.info().getName().split('/')[-1]
-
- self.updateMusicInformation( artist = currPlay.info().getInfoString(iServiceInformation.sArtist),
- title = stitle,
- album = currPlay.info().getInfoString(iServiceInformation.sAlbum),
- genre = currPlay.info().getInfoString(iServiceInformation.sGenre),
- clear = True)
+ sTitle = currPlay.info().getInfoString(iServiceInformation.sTitle)
+ sAlbum = currPlay.info().getInfoString(iServiceInformation.sAlbum)
+ sGenre = currPlay.info().getInfoString(iServiceInformation.sGenre)
+ sArtist = currPlay.info().getInfoString(iServiceInformation.sArtist)
+
+ if sTitle == "":
+ sTitle = currPlay.info().getName().split('/')[-1]
+
+ if self.AudioCD_albuminfo:
+ if sAlbum == "" and "TITLE" in self.AudioCD_albuminfo:
+ sAlbum = self.AudioCD_albuminfo["TITLE"]
+ if sGenre == "" and "GENRE" in self.AudioCD_albuminfo:
+ sGenre = self.AudioCD_albuminfo["GENRE"]
+ if sArtist == "" and "PERFORMER" in self.AudioCD_albuminfo:
+ sArtist = self.AudioCD_albuminfo["PERFORMER"]
+
+ self.updateMusicInformation( artist = sArtist, title = sTitle, album = sAlbum, genre = sGenre, clear = True )