2010-10-05, 02:11
I'm only looking for discussion on this, i.e. is what I'm describing actually bugs that I should submit to trac or is this just stuff that is deemed not worth bothering with. I have looked through the forum and trac and couldn't find any references to these issues. This is some behavior I have noticed while working on my plugin.
TV Shows
In confluence, when viewing tvshows (not seasons or episodes, the shows themselves) label2 in the listings shows episodes counts (i.e. "40 episodes"). However, when displaying a plugin with a contentType of "tvshows", label2 is blank - regardless of sort method. Is this a bug? Shouldn't it display label2 the same way if the sortmethod is set the same (i.e. Label)? I have tried setting label2mask as a work-around, but it seems that if the content type is set to "tvshows" then label2mask is ignored (it shows up as blank no matter what the sort method or label2mask is set to - its just always blank).
Ive tried to figure out how the "x episodes" business gets set, but so far I have not been able to find it... Is it in the skin or in code?
Seasons
If you set the contenttype to "seasons", and do NOT set the infolabel "tvshowtitle", the info dialog will display the season thumb correctly (to the left of the dialog, properly sized). However, if you DO set the infolabel for tvshowtitle, it is displayed as if xbmc thinks it is a tvshow banner (on the top, stretched horizontally). The problem with this is if you do not set tvshowtitle, the breadcrumb nav at the top of the screen does not sow the tvshow name as it should. its kind of a catch-22... This same problem actually seems to plague the native library as well, it has the same issue with the info dialog on seasons.
I realize this is probably just due to inconsistencies that have developed over time as new features were added - I suspect that the thshowtitle infolabel is used as a flag somewhere to determine which method of display for the thumbnail should be used. Would a patch that determined the info dialog layout for this based on the dimensions of the thumbnail be considered if it were made (i.e. if the width/height > 5)? That would make it more bullet proof I think. I'm willing to attempt the patch, but some pointers on where to start looking would be greatly appreciated.
Thoughts?
TV Shows
In confluence, when viewing tvshows (not seasons or episodes, the shows themselves) label2 in the listings shows episodes counts (i.e. "40 episodes"). However, when displaying a plugin with a contentType of "tvshows", label2 is blank - regardless of sort method. Is this a bug? Shouldn't it display label2 the same way if the sortmethod is set the same (i.e. Label)? I have tried setting label2mask as a work-around, but it seems that if the content type is set to "tvshows" then label2mask is ignored (it shows up as blank no matter what the sort method or label2mask is set to - its just always blank).
Ive tried to figure out how the "x episodes" business gets set, but so far I have not been able to find it... Is it in the skin or in code?
Seasons
If you set the contenttype to "seasons", and do NOT set the infolabel "tvshowtitle", the info dialog will display the season thumb correctly (to the left of the dialog, properly sized). However, if you DO set the infolabel for tvshowtitle, it is displayed as if xbmc thinks it is a tvshow banner (on the top, stretched horizontally). The problem with this is if you do not set tvshowtitle, the breadcrumb nav at the top of the screen does not sow the tvshow name as it should. its kind of a catch-22... This same problem actually seems to plague the native library as well, it has the same issue with the info dialog on seasons.
I realize this is probably just due to inconsistencies that have developed over time as new features were added - I suspect that the thshowtitle infolabel is used as a flag somewhere to determine which method of display for the thumbnail should be used. Would a patch that determined the info dialog layout for this based on the dimensions of the thumbnail be considered if it were made (i.e. if the width/height > 5)? That would make it more bullet proof I think. I'm willing to attempt the patch, but some pointers on where to start looking would be greatly appreciated.
Thoughts?