2021-10-31, 14:34
Gracias por responder.
(2021-10-31, 12:18)geowill76 Wrote:Let's start with this.(2021-10-31, 12:06)matke Wrote:Hi Matke(2021-10-31, 11:57)geowill76 Wrote: Hi MatkeI'll try to fix it today, so I'll send you an xml to test first before I update it.
Thanks for looking into this. Does that mean you will push an update to fix this or do I need to replace a specific xml file to fix the problem?
Sounds good. I will update xml file so I can test and let you know how it goes.
(2021-10-31, 17:50)matke Wrote:Hi Matke(2021-10-31, 12:18)geowill76 Wrote:Let's start with this.(2021-10-31, 12:06)matke Wrote: I'll try to fix it today, so I'll send you an xml to test first before I update it.Hi Matke
Sounds good. I will update xml file so I can test and let you know how it goes.
https://easyupload.io/tlz5og
(2021-10-31, 18:46)geowill76 Wrote:Try this one.(2021-10-31, 17:50)matke Wrote:Hi Matke(2021-10-31, 12:18)geowill76 Wrote: Hi MatkeLet's start with this.
Sounds good. I will update xml file so I can test and let you know how it goes.
https://easyupload.io/tlz5og
I have downloaded the xml file and used it to replace the xml file on my Kodi box. Restarted my Kodi box and it is still showing both 12 and 12A for any movie/tv show that has a rating of 12A. To be on safe side I also rebuilt/refreshed my library to see if that would help - unfortunately that hasn't helped. Another test I did was edit one of the movies that is rated 12A. I changed it to 12 and it only shows one icon (12). I then changed it back to 12A and it still shows both 12A and 12.
With the ratings does the IncludesMediaFlags.xml file also have to be updated as I remember a while ago that both IncludesMediaFlags.xml and IncludesBingie.xml contained info related to parental ratings.
(2021-10-31, 20:51)matke Wrote:(2021-10-31, 18:46)geowill76 Wrote:Try this one.(2021-10-31, 17:50)matke Wrote: Let's start with this.Hi Matke
https://easyupload.io/tlz5og
I have downloaded the xml file and used it to replace the xml file on my Kodi box. Restarted my Kodi box and it is still showing both 12 and 12A for any movie/tv show that has a rating of 12A. To be on safe side I also rebuilt/refreshed my library to see if that would help - unfortunately that hasn't helped. Another test I did was edit one of the movies that is rated 12A. I changed it to 12 and it only shows one icon (12). I then changed it back to 12A and it still shows both 12A and 12.
With the ratings does the IncludesMediaFlags.xml file also have to be updated as I remember a while ago that both IncludesMediaFlags.xml and IncludesBingie.xml contained info related to parental ratings.
https://easyupload.io/55ro95
(2021-10-31, 21:22)geowill76 Wrote:I know this is a little boring but we will try to solve the problem. Try this. If it doesn't work, I'll try something else next days.(2021-10-31, 20:51)matke Wrote:(2021-10-31, 18:46)geowill76 Wrote: Hi MatkeTry this one.
I have downloaded the xml file and used it to replace the xml file on my Kodi box. Restarted my Kodi box and it is still showing both 12 and 12A for any movie/tv show that has a rating of 12A. To be on safe side I also rebuilt/refreshed my library to see if that would help - unfortunately that hasn't helped. Another test I did was edit one of the movies that is rated 12A. I changed it to 12 and it only shows one icon (12). I then changed it back to 12A and it still shows both 12A and 12.
With the ratings does the IncludesMediaFlags.xml file also have to be updated as I remember a while ago that both IncludesMediaFlags.xml and IncludesBingie.xml contained info related to parental ratings.
https://easyupload.io/55ro95
Hi Matke
Tried the new file and still same issue. Ran the same tests as I did previously. However, I thought I would try another test and seem to have found what the issue is. I am using Emby server which scrapes all my movies and tv shows and creates an nfo file for each item. Emby uses the following for MPAA rating for UK:
GB-U
GB-PG
GB-12
GB-12A
GB-15
GB-18
GB-18R
All of the above, apart from GB-12A, are working as they should. They are displaying the correct image file, ie U, PG, 12, etc. The only one I am having as issue with is GB-12A. GB-12A was working in 2.0.1 but not working on 2.0.2.
As a test I thought I would manually edit the nfo file for one of my movies that is rated 12A. I edited the nfo file and changed mpaa from GB-12A to UK-12A. Rebooted my kodi box and now that movie which I edited the nfo file is showing the correct 12A mpaa rating. Of course all my other movies that are rated 12A are still showing the two logos. It seems 2.0.2. doesnt like it when the nfo file says GB-12A as the mpaa rating. Below is a grab of what my nfo looks like with the Emby mpaa rating for 12A
<rating>8.4</rating>
<year>2021</year>
<mpaa>GB-12A</mpaa>
<imdbid>tt1160419</imdbid>
<tmdbid>438631</tmdbid>
<premiered>2021-09-14</premiered>
<releasedate>2021-09-14</releasedate>
<runtime>155</runtime>
(2021-10-31, 21:40)matke Wrote:Hi Matke(2021-10-31, 21:22)geowill76 Wrote:I know this is a little boring but we will try to solve the problem. Try this. If it doesn't work, I'll try something else next days.(2021-10-31, 20:51)matke Wrote: Try this one.
https://easyupload.io/55ro95
Hi Matke
Tried the new file and still same issue. Ran the same tests as I did previously. However, I thought I would try another test and seem to have found what the issue is. I am using Emby server which scrapes all my movies and tv shows and creates an nfo file for each item. Emby uses the following for MPAA rating for UK:
GB-U
GB-PG
GB-12
GB-12A
GB-15
GB-18
GB-18R
All of the above, apart from GB-12A, are working as they should. They are displaying the correct image file, ie U, PG, 12, etc. The only one I am having as issue with is GB-12A. GB-12A was working in 2.0.1 but not working on 2.0.2.
As a test I thought I would manually edit the nfo file for one of my movies that is rated 12A. I edited the nfo file and changed mpaa from GB-12A to UK-12A. Rebooted my kodi box and now that movie which I edited the nfo file is showing the correct 12A mpaa rating. Of course all my other movies that are rated 12A are still showing the two logos. It seems 2.0.2. doesnt like it when the nfo file says GB-12A as the mpaa rating. Below is a grab of what my nfo looks like with the Emby mpaa rating for 12A
<rating>8.4</rating>
<year>2021</year>
<mpaa>GB-12A</mpaa>
<imdbid>tt1160419</imdbid>
<tmdbid>438631</tmdbid>
<premiered>2021-09-14</premiered>
<releasedate>2021-09-14</releasedate>
<runtime>155</runtime>
https://easyupload.io/thb235
(2021-10-31, 21:40)matke Wrote:I think you have to
xml:<variable name="mediaflags_large_rating_widgets">
<variable name="mediaflags_large_rating">
<variable name="RatingFlagVar">
<variable name="GetMPAA">
(2021-10-31, 22:39)Fuchs2468 Wrote:That's one of the things I did, only now it works a little differently so it's not in this file you wrote.(2021-10-31, 21:40)matke Wrote:I think you have to
GB-U
GB-PG
GB-12
GB-12A
GB-15
GB-18
GB-18R
define in "IncludesMediaFlags.xml".
The following variables:xml:<variable name="mediaflags_large_rating_widgets">
<variable name="mediaflags_large_rating">
<variable name="RatingFlagVar">
(2021-10-31, 23:26)matke Wrote:Yes, I have just seen it defined "$VAR[GetMPAA]". The definition should be in here.(2021-10-31, 22:39)Fuchs2468 Wrote:That's one of the things I did, only now it works a little differently so it's not in this file you wrote.
xml:<control type="button" id="123456">
<visible>!String.IsEmpty(ListItem.MPAA)</visible>
<posy>7</posy>
<height>34</height>
<width min="42">auto</width>
<align>center</align>
<aligny>top</aligny>
<textwidth>140</textwidth>
<textcolor>$INFO[Skin.String(MPAATextColor)]</textcolor>
<disabledcolor>$INFO[Skin.String(MPAATextColor)]</disabledcolor>
<texturenofocus colordiffuse="$INFO[Skin.String(GPanelColor)]" border="10">bingie/square-rounded.png</texturenofocus>
<texturefocus colordiffuse="$INFO[Skin.String(GPanelColor)]" border="10">bingie/square-rounded.png</texturefocus>
<textoffsetx>7</textoffsetx>
<textoffsety>-1</textoffsety>
<font>Bold26</font>
<label>$VAR[GetMPAA]</label>
<enable>false</enable>
</control>
(2021-10-31, 23:54)Fuchs2468 Wrote:Not enough 1x. Here we are talking about the fact that each mpaa needs a different color. I did this for the default gray mppa. 1x is enough here.(2021-10-31, 23:26)matke Wrote:Yes, I have just seen it defined "$VAR[GetMPAA]". The definition should be in here.(2021-10-31, 22:39)Fuchs2468 Wrote:That's one of the things I did, only now it works a little differently so it's not in this file you wrote.
Then it should be enough if you write 1x.
xml:<control type="button" id="123456">
<visible>!String.IsEmpty(ListItem.MPAA)</visible>
<posy>7</posy>
<height>34</height>
<width min="42">auto</width>
<align>center</align>
<aligny>top</aligny>
<textwidth>140</textwidth>
<textcolor>$INFO[Skin.String(MPAATextColor)]</textcolor>
<disabledcolor>$INFO[Skin.String(MPAATextColor)]</disabledcolor>
<texturenofocus colordiffuse="$INFO[Skin.String(GPanelColor)]" border="10">bingie/square-rounded.png</texturenofocus>
<texturefocus colordiffuse="$INFO[Skin.String(GPanelColor)]" border="10">bingie/square-rounded.png</texturefocus>
<textoffsetx>7</textoffsetx>
<textoffsety>-1</textoffsety>
<font>Bold26</font>
<label>$VAR[GetMPAA]</label>
<enable>false</enable>
</control>