Total seasons for tvshows but NOT seasons
#1
I currently have this in my dialogvideoinfo:
Code:
    <item>
    <label>Total Seasons</label><!-- Total Seasons -->
    <label2>$INFO[Listitem.Property(TotalSeasons)]</label2>
    <onclick>noop</onclick>
    <visible>Container.Content(tvshows)</visible>
    </item>

It works as expected when viewing info from tvshows. If I go 1 deeper into seasons it also shows up, but won't give a total. Why is this showing up if I haven't defined for it to be visible in the seasons section? How would I go about hiding this from the seasons section?
Reply
#2
the video info dialog has no concept of 'seasons', it will just display the tv show info at season level.

see: 58154 (thread)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Code:
<visible>Container.Content(tvshows) + !Container.Content(seasons) </visible>

EDIT : Ah ! Then ...
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
#4
(2015-11-12, 00:10)ronie Wrote: the video info dialog has no concept of 'seasons', it will just display the tv show info at season level.

see: 58154 (thread)

Are you serious? It's been that long and hasn't been "fixed"Huh Wtf?

(2015-11-12, 00:12)Jayz2K Wrote:
Code:
<visible>Container.Content(tvshows) + !Container.Content(seasons) </visible>

EDIT : Ah ! Then ...

Yeah, doesn't work Sad
Reply
#5
A workaround might be to use:

Code:
<visible>!IsEmpty(ListItem.Property(TotalSeasons))</visible>
Reply
#6
(2015-11-12, 06:05)Fail$tyle420 Wrote:
(2015-11-12, 00:10)ronie Wrote: the video info dialog has no concept of 'seasons', it will just display the tv show info at season level.

see: 58154 (thread)

Are you serious? It's been that long and hasn't been "fixed"Huh Wtf?

heh, the usual 'patches welcome' would apply here.
i can't force anyone to work on this when they're not interested in it.

(2015-11-12, 06:05)Fail$tyle420 Wrote:
(2015-11-12, 00:12)Jayz2K Wrote:
Code:
<visible>Container.Content(tvshows) + !Container.Content(seasons) </visible>

EDIT : Ah ! Then ...

Yeah, doesn't work Sad

you might want to try the workaround i posted in the thread i linked to.
worked for sure back then, though things may have changed in recent years...
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
If you're using nightly builds then this will work -

Code:
<visible>Container.Content(tvshows) + !StringCompare(Container.Content,seasons)</visible>

Also mkortstiege has started work on a proper season info dialog -

https://github.com/mkortstiege/xbmc/tree...nfo-dialog

And here's a Windows test build if you want to try it -

http://mirrors.xbmc.org/test-builds/win3...dialog.exe
Reply
#8
Ok cool. I am using nightly builds, so I'll check that hitcher, thanks! Thank you guys for the workarounds! I'll test and report back here!

*EDIT* I tried Hitcher's answer first and it works! Thanks you guys, glad this is finally (although I just found out about it) getting taken care of!
Reply
#9
Will look at it again on the weekend when i get the chance.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Total seasons for tvshows but NOT seasons0