2020-06-07, 02:31
(2020-06-07, 01:45)daminator Wrote: It looks like my data is coming in for the correct country, but it's formatted differently.Strange. Does the scraper save it as "GB-12A"?
(2020-06-07, 01:45)daminator Wrote: Is there any way to make the skin recognise this format?Yes. There are two methods...
1. Edit the skin files. Dont know what platform you are using but if it is Windows, it is located here... C:\Users\<username>\AppData\Roaming\Kodi\addons\skin.aeon.nox.silvo\16x9
Open the file Variables.xml and then search for UK:12A and you will see something like this...
<value condition="String.IsEqual(ListItem.MPAA,UK:12A) | String.IsEqual(ListItem.MPAA,United Kingdom:12A)">BBFC_12A_Certificate_UK.png</value>
Change the first UK:12A to your format. Nothing else on that line needs changing. Do that for each of your ratings, should be easy to spot as they are all grouped together. This occurs 4 times for each rating in the file.
2. Edit the database to change the values to your required format. But if you say it works in other skins, it will break the rating display in those skins (and probably make it work in other skins)
Whichever method you use, create a backup of the file before making any changes.