2023-03-22, 20:24
(2023-03-22, 19:09)Nanomani Wrote:(2023-03-22, 18:44)beatmasterrs Wrote: The wiki pr can only be merged, when the tmdbhelper addon v5 is available in the official repo.
It is not so simple indeed.
Some existing parts of AZR that use TMDb helper no longer work when upgrading TMDb helper from version 4.x to 5.x.
Eg with TMDb 4.x :
Eg with TMDb 5.x :
Some code need to be change for TMDb 5.x :
eg
byxml:Window(Home).Property(TMDbHelper.ListItem.RottenTomatoes_UserMeter)
xml:Container(99950).ListItem.Property(RottenTomatoes_UserMeter)
There might be a simpler solution but I couldn't find it. And since I only use TMDb 5.x now for the feature "Crop Clearlogo" and "Wiki" I adapted the code...
For me this works well with both tmdb helper versions. Have you tried to
ClearProperty(TMDbHelper.WidgetContainer,home)
?EDIT: Now I remember. I had also set this setting back then when I tested the wiki function and then wondered why I no longer get MC and RT icons displayed. For me the only place in code where it is necessary to set the TMDbHelper.WidgetContainer property is in the main menu (home.xml) for the widgets. E.g.:
SetProperty(TMDbHelper.WidgetContainer,301,home)