ListItem.Season for Specials is empty
#1
ListItem.Season returns nothing when it's a Special (s00) but shouldn't it be 0 (zero) because we can't assume that if it's empty it's a Special can we?

Thanks.
Reply
#2
I'll look into it
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#3
I should add this is Episode level.
Reply
#4
It turned out this isn't really straight forward issue - see for example: http://thetvdb.com/?tab=season&seriesid=...3361&lid=7 - in season 5 there is special episode and I think it should return season 5 with ListItem.Season (and not 0 as special episode).

What can be done is to add some property that could report if episode/season is special - maybe ListItem.Property(IsSpecial) or ListItem.IsSpecial - I'd like to get feedback on this.
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#5
listitem.sortseason (not an existing infolabel) is 5, listitem.season should be 0. the problem is GUIInfoManager.cpp l3908 - that should really be >= 0.
Reply
#6
added support for ListItem.Property(IsSpecial) for boolean condition to determine if season/episode is special in https://github.com/xbmc/xbmc/commit/7d68...07d5406471
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#7
Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
ListItem.Season for Specials is empty0