Container.Content(Season) in DialogVideoInfo

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-XBMC Member
Posts: 8,259
Joined: Jan 2009
Reputation: 108
Post: #1
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2009-09-18 19:49 by ronie.)
find quote
eumel Offline
Alaska Group
Posts: 280
Joined: Jun 2009
Location: Germany
Post: #2
ronie Wrote: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(Season) 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.
should be Container.Content(seasons)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,259
Joined: Jan 2009
Reputation: 108
Post: #3
eumel Wrote:should be Container.Content(seasons)

regardless of my typo, it's not working ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
eumel Offline
Alaska Group
Posts: 280
Joined: Jun 2009
Location: Germany
Post: #4
ronie Wrote:regardless of my typo, it's not working ;-)

oh excuse me, but sometimes there's just such typos are the tearing of hairWink
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,935
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #5
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?

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2009-09-18 21:14 by Hitcher.)
find quote
eumel Offline
Alaska Group
Posts: 280
Joined: Jun 2009
Location: Germany
Post: #6
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.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,259
Joined: Jan 2009
Reputation: 108
Post: #7
Hitcher Wrote: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?

thanx for the idea. tried it, but if i use !Container.Content(tvshows), it won't show up for seasons either.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,259
Joined: Jan 2009
Reputation: 108
Post: #8
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #9
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

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
ronie Offline
Team-XBMC Member
Posts: 8,259
Joined: Jan 2009
Reputation: 108
Post: #10
jmarshall Wrote: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

yep, agreed. just showing the tv show thumb at season level would be best.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply