Adding RottenTomatoes rating to Arctic Zephyr (legacy) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Arctic: Zephyr - Reloaded (https://forum.kodi.tv/forumdisplay.php?fid=221) +---- Thread: Adding RottenTomatoes rating to Arctic Zephyr (legacy) (/showthread.php?tid=351157) |
Adding RottenTomatoes rating to Arctic Zephyr (legacy) - .:B:. - 2020-01-25 Hey guys! I'm running 'legacy' Arctic Zephyr on Kodi Leia. I am trying to get RottenTomatoes ratings to show in the movies overview (by default it shows a numeric rating, and if applicable an IMDb 250 logo). I have taken a look at the code for that functionality, how Arctic Zephyr 2 and how Leia-MOD do it, and modified the legacy AZ accordingly. AZ2 uses the Skin Helper Service, which requires an OMDB API key (which I have, and activated a while ago). I have installed the add-on (the testing version, 1.1.24, with OMDB support) and inserted the API key into the settings. Kodi log is here - I had to remove the VideoInfoScanner and CAddonSettings[metadata.universal] info messages since it would be too long otherwise, I don't think those matter for this issue. I have added the following code in 1080i/SkinSettings.xml:
And the following to 1080i/Includes_Furniture.xml, in three places (it seems the star ratings code, the IMDb Top 250 code etc. is in multiple of those as well; however, the icons or rating aren't showing up in the movie list or the movie info panel.
I can see the RottenTomatoes setting in the skin settings menu, and tick it (I'm not seeing anything in the Kodi log though, and debugging is set to loglevel 1; don't know if it should print anything). Ticking or unticking it doesn't make the RottenTomatoes info show up in the movie info (both the list of movies and the movie info panel you can open for a single movie). The texture paths check out (rtrotten.png and rtfresh.png are in media/flags/ratings/). I'm not seeing any errors in the Kodi log either (be they related to the Skin Helper Service or I've installed Arctic Zephry 2, and there the RottenTomatoes rating shows up in the movie details screen when I keep the panel open for a bit (it doesn't show up immediately, behaviour which jurialmonkey confirmed in the AZ2 topic start). So there's no OMDB API key problem or anything. Thank you! RE: Adding RottenTomatoes rating to Arctic Zephyr (legacy) - .:B:. - 2020-01-26 Bumpty. RE: Adding RottenTomatoes rating to Arctic Zephyr (legacy) - .:B:. - 2020-01-27 Bump RE: Adding RottenTomatoes rating to Arctic Zephyr (legacy) - jurialmunkey - 2020-01-29 Try removing the <visible> conditions and check that the textures are actually showing where you expect them to show. Also, why do you have this condition? <visible>String.IsEqual(Container(9500).ListItem.DBType,movie)</visible> Are you trying to add to a hub with this one? You will need to point skin helper to the correct container ID if that's the case. See here: https://github.com/kodi-community-addons/script.skin.helper.service/wiki/Widget-Properties RE: Adding RottenTomatoes rating to Arctic Zephyr (legacy) - .:B:. - 2020-01-29 Thanks @jurialmunkey - I had been looking at that container ID but unsure whether I needed to keep or change that... Once I remove that, the ratings and fresh/rotten tomato icons do show up! They're overlapping, I have to look into that further. Edit: solved that as well. RE: Adding RottenTomatoes rating to Arctic Zephyr (legacy) - hootie318 - 2020-04-30 (2020-01-29, 21:06).:B:. Wrote: Thanks @jurialmunkey - I had been looking at that container ID but unsure whether I needed to keep or change that... Once I remove that, the ratings and fresh/rotten tomato icons do show up! @.:B:. Can you report the code after your changes? I would really like to have it in this skin RE: Adding RottenTomatoes rating to Arctic Zephyr (legacy) - .:B:. - 2020-05-01 @hootie318 You can find the commits in my Github branch. |