jellyfin/jellyfin-kodi

`ListItem.setInfo()` is deprecated

Opened this issue · 0 comments

Describe the bug
Not a bug, just noticed it in the logs and wanted to give a headsup before the addon breaks.

To Reproduce

  1. Add a new show or update an existing one (at least that's what it looks like in the logs)

Expected behavior
Everything is behaving correctly (for now)

Logs

2024-09-22 12:22:36.253 T:1896  warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2024-09-22 12:22:36.430 T:3872     info <general>: Skipped 21 duplicate messages..

Screenshots

System (please complete the following information):

  • OS: Windows/Xbox One
  • Jellyfin Version: 10.9.11
  • Kodi Version: 21.1
  • Addon Version: v1.0.5
  • Playback Mode: Addon

Additional context
Seems it's at least not used much:
https://github.com/search?q=repo%3Ajellyfin%2Fjellyfin-kodi+setinfo&type=code