Posts: 483
Joined: Mar 2018
Reputation:
14
Discovered a new oddity. Content with a 1920x1088 pixel aspect ratio, which used to show as 16:9 in Krypton, now returns no aspect ratio flag. It seems to return a flag in the default skin and a couple others I have tested but in my custom skin there's nothing. I can't seen any specific code or media flags that stand out as missing from mine. Anyone have any ideas?
Posts: 17,571
Joined: Aug 2007
Reputation:
602
Hitcher
Team-Kodi Member
Posts: 17,571
Depends how they're being evaluated? Let's see the code for them.
Posts: 483
Joined: Mar 2018
Reputation:
14
I will look into this a little later. Just something strange that popped up. On my second Kodi machine still running Krypton with the un-updated version of my skin there's no issue.
Posts: 483
Joined: Mar 2018
Reputation:
14
My aspect ratio is generated by a variable. The default code is
<value>$INFO[ListItem.VideoAspect,flags/aspectratio/,.png]</value>
This string works in Krypton for 1920x1088 content (returns 1.78 aspect ration). In Leia the codec info shows 1920x1088 1.78 aspect ratio. The string returns no flag. The string returns no label of any kind.
Looking at 2 other skins their code for aspect ratio only differs from mine by placing the flags resource directory in a different location within the string. Same results. Those skins return 1.78 and/or associated flag.
I am confused.
Posts: 17,571
Joined: Aug 2007
Reputation:
602
Hitcher
Team-Kodi Member
Posts: 17,571
Replace ListItem.Label with ListItem.VideoAspect in a list and see what the results are.
Posts: 17,571
Joined: Aug 2007
Reputation:
602
Hitcher
Team-Kodi Member
Posts: 17,571
Sorry, I don't see how ListItem.VideoAspect can return different results in different skins.
Posts: 17,571
Joined: Aug 2007
Reputation:
602
Hitcher
Team-Kodi Member
Posts: 17,571
Not skin related so maybe you're better off posting these issues elsewhere on the forum or even report a bug on GitHub.
Posts: 483
Joined: Mar 2018
Reputation:
14
2019-05-17, 17:40
(This post was last modified: 2019-05-18, 15:29 by K0D1User1138.)
Another quick I've encountered. My watch icon for TV episodes doesn't seem to work any longer. Oddly it worked for 1 episode but now doesn't work on any others even if I manually flag an episode as watched. Has something changed to how these were handled that I've not discovered in my research?
*** Never mind, figured this out. something odd in the old modified skin prevented watched flags from working correctly but pulling some code out and they work fine now.
Posts: 483
Joined: Mar 2018
Reputation:
14
Hadn't really noticed before when doing my migration but there is an issue displaying season posters for "specials" seasons. All specials are collected and scraped in Season 0 sub-folders and all NFO shows <season>0</season>
This used to work before but I can't seem to figure out why's changed to prevent it from working now. I haven't seen another working skin using season posters in an episode list view to pull example code from either.
Anyone have any ideas?
Cheers!
Posts: 483
Joined: Mar 2018
Reputation:
14
Doing a big more digging and my season poster in episode view uses a variable with this string that used to work for seasons 9 and below including season 0 specials.
<value condition="!String.IsEmpty(ListItem.Episode) + !Integer.IsGreater(ListItem.Season,9)">$INFO[ListItem.Path]$INFO[ListItem.Season,../season0,-poster.jpg]</value>
It works for season 1-9 but not 0 anymore. I've tried adding another string to the variable that states Integer.IsEqual(ListItem,Season,0) but that didn't work either.
I am stumped. Not sure what is broken now.