Posts: 442
Joined: Mar 2018
Reputation:
13
This issue hasn't gone away. I can't be the only one experiencing it on multiple instances of Kodi.
Is this thread in the wrong section?
Posts: 13,692
Joined: Mar 2010
Reputation:
507
PatK
Team-Kodi Member
Posts: 13,692
The only difference, I'm getting <aspect>1.777778</aspect> which in turns translates into 16:9 on the skin while a HEVC encode delivers <aspect>0.000000</aspect> and the skin shows no flag, if I place 1.777778 into the field this gets the 16:9 aspect reporting to the skin. It looks like the scrape has not returned an aspect report in a timely fashion, perhaps a re-scrape will offer some resolve.
Posts: 442
Joined: Mar 2018
Reputation:
13
I have re-scraped and the issue still remains.
As stated, when scraped the aspect is scraped as 1920x1088 1.7777778 Aspect ratio. This is what is exported to a NFO. Upon playing the file the aspect is displayed while playing via the onscreen info as 1920x1088 1.78 Aspect Ratio. Once stopped the aspect returns no information/flag from the aspect ratio field. If you export to NFO at this point the Aspect Ratio field of the NFO will read 0.00000.
This is present in my customized skin I've been working on for some time and also in the Aeon Nox Silvo skin as I showed in my screenshots. I have not tested other skins but in the Kodi default skin there is no flag for aspect ratio to look at. As this, as well as the subtitles flags issue, is prevalent across multiple skins it's not a skinning issue but something that has changed in Kodi between 17.2 and 18.2. This issue was non-existent in 17.6 and prior versions of Kodi.
I have a lot of content with 1920x1088 pixels that this bug affects. Re-scraping will always return 1920x1088 and always export 1920x1088 to NFO unless the file is played first and then aspect will become 0.00000.
I would suggest finding 1920x1088 content, scrape it then export it to NFO. Rename that NFO and then re-scrape, play the file and export again. Compare those 2 NFO files. I'm certain you will get the same results I have described. Don't forget to look at the subtitles flags as well.
Posts: 5,246
Joined: Jul 2012
Reputation:
339
It does appear that when a video file 1280x720 1.78 is added to the library with nfo file, the <aspect> is saved to streamdetails fVideoAspect, but after playing the file fVideoAspect is set to 0.
scott s.
.
Posts: 442
Joined: Mar 2018
Reputation:
13
Got the ball rolling! Yay.
Seriously glad this is getting some notice. It does seem to be a common occurance and was not there in Krypton. I'll leave it to the mad minds who created this Kodi monster to work out. thanks to all those involved@
Posts: 13,692
Joined: Mar 2010
Reputation:
507
PatK
Team-Kodi Member
Posts: 13,692
I've confirmed this behavior, but I have a hard time co-in-siding this behavior with the majority of scrapes which result in correct aspect reports. I'm looking for commonalities that might point at the issue. I have two files both .mkv as a set in series scanned at the same time, on one the aspect is missing, while the other properly labeled. Using Medianfo there is no meaningful differences in the encodes and both report 1920x1080 but the interface in T! reports one as aspect missing (numerous refresh at this point doesn't correct) manual edit and local refresh brings the correct result, but a web refresh again brings 0.00000 which when .nfo is exported shows this. Somehow a new bug, suggest it may have coincided with the fix for resolution scrape.
Suggestion: put up a trac and point back at this thread.
Posts: 442
Joined: Mar 2018
Reputation:
13
As noted in my second screen capture the actual pixels of these files (mainly TV episode downloads) is 1920x1088 not 1920x1080. This reports in the Kodi player as 1.78 Aspect Ratio but upon returning to the menu screen that 1920x1088 has now returned 0.00000 Aspect Ratio.
If the file is say Blu-ray rip MKV the actual pixels will be 1920x1080 and there will be no issue.
All of this worked fine previously in Krypton.
Posts: 442
Joined: Mar 2018
Reputation:
13
As was pointed out by Mike Silvo, this behavior is new to Kodi 18.2 but works properly in 18.1. Subtitle flags seem to work as well. For some reason my watched flags for TV episodes are not though.
Posts: 442
Joined: Mar 2018
Reputation:
13
Doesn't seem to matter what the actual pixels are for content, after playing in 18.2 the aspect ratio returns as 0.00000. 4:3 content, 16:9 ect. Looks like a bug that was introduced at some point but I know very little beyond the initial discovery of the problem.
Posts: 70
Joined: Feb 2011
Reputation:
0
I beleive, it's not only a matter of the aspect ratio set to zero.
I noticed that the database table "streamdetails" does not contain all streams a video file has. Only the video and one (the last used/played) audio stream is present in the table. No subtitle and no additional audio stream is stored in the table. In the player, you can select all avialable audio and subtitle streams. After quitting the player, the last used audio stream is stored in streamdetails, but nothing more.
So, from my point of view, the database handling (streamdetails) has been changed here in a significant way.
Cheers,
Zap
"Programming is like s*e*x, one mistake and you have to support it for the rest of your life" - Mike Sinz
Posts: 2,122
Joined: Sep 2014
Reputation:
56
Experiencing the same issue with aeon tajo