Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListItem.setInfo() is deprecated #919

Open
mihawk90 opened this issue Sep 22, 2024 · 0 comments
Open

ListItem.setInfo() is deprecated #919

mihawk90 opened this issue Sep 22, 2024 · 0 comments
Labels
cleanup Non-functional code cleanup/readability/formatting

Comments

@mihawk90
Copy link

mihawk90 commented Sep 22, 2024

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

@oddstr13 oddstr13 added the cleanup Non-functional code cleanup/readability/formatting label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Non-functional code cleanup/readability/formatting
Projects
None yet
Development

No branches or pull requests

2 participants