Kodi Community Forum

Full Version: What resolution for SD/HD media flags?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm trying to find out what and where the definition is for the resolution (is that the name?) media flag. I don't mean editing the skin to remove the media flags, but what function and or config setting switches between the SD/HD or 480p/720p/1080x labels.

The reason I'm looking is I'm interested when something will show as HD. I have some 720x300 media showing up as SD although I think it should qualify as HD with a wacky aspect ratio.

If anyone can point me in the right direction that would be great.

Cheers,
Feday.
http://kodi.wiki/view/Media_flags

Quote:Media flags are icons in Kodi that displays the meta-information from the media file of a movie, TV show or music title.

Media flags have nothing to do with the content itself. You could use them for additional information in the skin. So you will notice some SD or HD signs/icons and/or BR/DVD cases in the specific skin view if you use those flags.

But normally:

Quote:Kodi tries to read the meta information from the media file after it's been added to the Library
(2016-01-07, 13:49)feday Wrote: [ -> ]The reason I'm looking is I'm interested when something will show as HD. I have some 720x300 media showing up as SD although I think it should qualify as HD with a wacky aspect ratio.

That resolution is most certainly not HD by any means.
(2016-01-07, 16:50)kyle84 Wrote: [ -> ]That resolution is most certainly not HD by any means.

Okay I had a brain fart I suppose 720p is 720 lines horizontal and not vertical Smile
The exact function that decides would be here:
https://github.com/xbmc/xbmc/blob/master...s.cpp#L547

The Confluence skin then uses the string returned as the name of the png file from this folder:
https://github.com/xbmc/xbmc/tree/master...ging/video
(which is all packaged up as an xbt file in the actual addon folder).