2020-01-13, 10:23
(2019-12-24, 17:51)vdb86 Wrote: I don't think it's an issue with that addon, it's probably an issue with the screensaver.
They changed something in Kodi and this functionality got broken because I haven't updated it in a million years.
If I find the time I'll sit down and update it, unfortunately I can't make any promises.
Do you know what it is? Its down on line 207 in default.py, there is an
and
where there could be an or
. The SomaFM plugin doesn't set an Artist! When the screensaver runs, it runs the test to see if it should put the MusicPlayer details on the screen and the test fails because artist is missing.I fixed it by changing this:
if self.nowplayinginfoshow == 'true':
if xbmc.getInfoLabel('MusicPlayer.Artist') and xbmc.getInfoLabel('MusicPlayer.Title'):
self.informationlist.append('$INFO[MusicPlayer.Artist]')
self.informationlist.append('$INFO[MusicPlayer.Title]')
to:
if self.nowplayinginfoshow == 'true':
if xbmc.getInfoLabel('MusicPlayer.Artist') or xbmc.getInfoLabel('MusicPlayer.Title'):
self.informationlist.append('$INFO[MusicPlayer.Artist]')
self.informationlist.append('$INFO[MusicPlayer.Title]')
I made a PR