Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
2009-09-18, 19:31
(This post was last modified: 2009-09-18, 19:49 by ronie.)
i'm trying to create separate layouts for tv-show and season level in the video info dialog, but xbmc doesn't seem to recognize Container.Content(Seasons) in DialogVideoInfo.xml
can this be added? or is there a reason why it's left out?
the reason for having different layouts is because most people are using banners for tv shows and posters for seasons.
Posts: 17,193
Joined: Aug 2007
Reputation:
558
Hitcher
Team-Kodi Member
Posts: 17,193
2009-09-18, 20:27
(This post was last modified: 2009-09-18, 21:14 by Hitcher.)
Longwinded I know but couldn't you use !Container.Content(tvshows) + !Container.Content(episodes) + !Container.Content(movies) if it's only seasons that's not playing ball?
Posts: 302
Joined: Jun 2009
Reputation:
3
Maybe you can do it with a trick?
In the season level view installs a button without textures with an ID and in the video info dialog query if it is visible.
i don't know if it work.
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
thanx for the tips the both of you. i found something that works for me:
<visible>Container.Content(tvshows) + !StringCompare(Container.FolderPath,videodb://2/2/)</visible>
however, proper Container.Content(Seasons) support in dialogs would be better of course.
Posts: 26,215
Joined: Oct 2003
Reputation:
186
Note that technically we don't actually support season information in that dialog anyway. You'll notice you get the same info (other than the thumb??) as you do for doing an info lookup on the show item.
Given that there's no extra info for the season, IMO the better fix is to switch so that we display the tvshow thumb rather than the season thumb.
Your thoughts?
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
186
Heh - thanks for the ticket!