2023-03-11, 00:16
I'm currently using Player.updateInfoTag() to update the song metadata and artwork in the player. Since v20, I'm seeing this message in the logs a lot:
Quote:Setting most music properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagMusic.According to the documentation, this should work (at least for the song metadata):
Quote:tag = xbmc.Player().getMusicInfoTag()Unfortunately it doesn't. Did I miss something really obvious?
tag.setArtist('Foo')
tag.setTitle('Bar')