Kodi Community Forum
WEB-DL 4K media flag - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Madnox (https://forum.kodi.tv/forumdisplay.php?fid=314)
---- Thread: WEB-DL 4K media flag (/showthread.php?tid=362828)



WEB-DL 4K media flag - Simkin84 - 2021-05-26

Have just upgraded to 4K, and having some flag issues with WEB-DL content.

On my 1080p movies/series i just put WEB-DL in the file name and i get the WEB-DL flag in my library.

However, with 4K WEB-DL content, i get the "Ultra-HD Blu-ray" flag instead of the WEB-DL flag. The ones i have tried are HEVC codec files.

Does not matter if i rename it to DVD, Bluray or whatever, the flag does not change whatever i type in the filename


Anyone who can help me out?


RE: WEB-DL 4K media flag - Hitcher - 2021-05-27

Which skin?


RE: WEB-DL 4K media flag - Simkin84 - 2021-05-27

(2021-05-27, 01:21)Hitcher Wrote: Which skin?

Aeon Madnox 2.0 (Matrix)


RE: WEB-DL 4K media flag - Hitcher - 2021-05-27

(2021-05-27, 05:54)Simkin84 Wrote: Aeon Madnox 2.0 (Matrix)

Moved the appropriate section.


RE: WEB-DL 4K media flag - Simkin84 - 2021-06-23

Anyone?


RE: WEB-DL 4K media flag - Klojum - 2021-06-23

(2021-06-23, 22:48)Simkin84 Wrote: Anyone?

If the flag is in the video library, then it's a skin "problem".


RE: WEB-DL 4K media flag - Karellen - 2021-06-23

(2021-05-26, 22:53)Simkin84 Wrote: On my 1080p movies/series i just put WEB-DL in the file name and i get the WEB-DL flag in my library.
You can see what the skin is coded to display here... https://github.com/mistervee/skin.madnox/blob/matrix/16x9/Includes_MediaFlags.xml#L1626

Doesn't look like 4K WEB-DL has been coded.


RE: WEB-DL 4K media flag - Simkin84 - 2021-06-24

(2021-06-23, 23:35)Karellen Wrote:
(2021-05-26, 22:53)Simkin84 Wrote: On my 1080p movies/series i just put WEB-DL in the file name and i get the WEB-DL flag in my library.
You can see what the skin is coded to display here... https://github.com/mistervee/skin.madnox/blob/matrix/16x9/Includes_MediaFlags.xml#L1626

Doesn't look like 4K WEB-DL has been coded.

Hm ok. So the only way to get this, is for the Author of the skin to code it?


RE: WEB-DL 4K media flag - Karellen - 2021-06-24

(2021-06-24, 21:59)Simkin84 Wrote: Hm ok. So the only way to get this, is for the Author of the skin to code it?
Yes, the Author or another member.


RE: WEB-DL 4K media flag - Simkin84 - 2021-06-25

(2021-06-24, 22:24)Karellen Wrote:
(2021-06-24, 21:59)Simkin84 Wrote: Hm ok. So the only way to get this, is for the Author of the skin to code it?
Yes, the Author or another member.

Ok thanks. I tried changing/adding some values/strings in the "includes_mediafile.xml" but it did not work.

Well, I hope Mr.V is alright and will be back here on the forum. Don't know if anyone else can do this.


RE: WEB-DL 4K media flag - Daydream - 2021-06-25

Speculating (I'm no skinner): conditions evaluation happens in order. If the video resolution gets matched first to 4k (as it is right now), you'll get the 4k flag. Your custom line will have to precede that, to show a different flag.


RE: WEB-DL 4K media flag - Simkin84 - 2021-06-25

(2021-06-25, 17:31)Daydream Wrote: Speculating (I'm no skinner): conditions evaluation happens in order. If the video resolution gets matched first to 4k (as it is right now), you'll get the 4k flag. Your custom line will have to precede that, to show a different flag.

<value condition="String.IsEqual(ListItem.VideoResolution,4k) | String.Contains(ListItem.filename,UHD)">$VAR[MediaFlagsPathVar]videocodec/4k.png</value>
<value condition="String.IsEqual(Container(7005).ListItem.VideoResolution,4k) | String.Contains(Container(7005).ListItem.filename,UHD)">$VAR[MediaFlagsPathVar]videocodec/4k.png</value>
 <value condition="String.IsEqual(VideoPlayer.VideoResolution,4k) | String.Contains(Player.filename,UHD)">$VAR[MediaFlagsPathVar]videocodec/4k.png</value>

If i change "filename, UHD" to "web-dl" and "4k.png" to "web-dl.png" in these strings i get the WEB-DL + 4K flag. But then i also get WEB-DL flag on my 4K BluRay's.
If i add another "Value Condition" to sit first, adding web-dl it wont work, still get Ultra-HD BluRay logo if i have web-dl.

If anyone knows how to do this, i would be extremely greatful. A member of this skin or whatever.


RE: WEB-DL 4K media flag - Simkin84 - 2021-06-27

Ok, the only solution i have found is to remove these 3 lines (in my previous post) in the "Includes_MediaFlags" file, and replace the "hevc" flag with the "Ultra-HD BluRay" (rename the BluRay flag to hevc, or else you get the HEVC flag instead) This way my 4K Bluray and 4K WEB-DL videos get the correct flag. 4K HDTV also get the correct flag.
1080p BluRay encoded in HEVC/H.265 is not affected, and show the correct "old" bluray flag.

As for now, im gonna keep it like this.


This forum uses Lukasz Tkacz MyBB addons.