Kodi Community Forum
Mediaflags on season level? - 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)
+--- Thread: Mediaflags on season level? (/showthread.php?tid=56208)



Mediaflags on season level? - topkat - 2009-08-12

Is it possible to use media flags (like network, tv-rating, etc) on season level? I'm using transparency! and want to mod it to display rating-icons (MA-14, FSK 16 etc) as cover-overlays. In the movie-library it already works, eg.

Code:
<control type="image">
  <posx>50</posx>
  <posy>650</posy>
  <width>50</width>
  <height>50</height>
  <texture>special://skin/images/flags/movies/rating/fsk6.png</texture>
  <visible>substring(listitem.mpaa,6) + !substring(listitem.mpaa,1</visible>
</control>

in ViewsVideoLibrary.xml works fine and will look like this:

Image

But in the TV-section on season-level it won't work.

Any help?

Thanks


- ronie - 2009-08-12

studio info should be available at season level: http://trac.xbmc.org/changeset/21036
but it appears to be broken.

mpaa is only available at tv show and episode level.


btw. you're missing a closing bracket in your visible condition ;-)


- topkat - 2009-08-13

Ok, this might makes sense, because episodes could get individual ratings. On the other hands, in real life, when an episode gets a high rating, usally the whole season will get that rating. Eg. one episode of Lost, Season 2, was rated 'for adults' here in Germany, hence the whole season was shifted to a later timeslot in TV and the dvd-relaese was rated 'FSK-18'.

So, I think there are some properties (eg. ratings, studio, director, main cast) that could be assumed to be valid for the whole season, even when some episodes could differ.