2011-09-10, 16:46
pecinko Wrote:I'm the skin author.
Thanks for the info. However, something is clearly setting the content to movies as I have view layout based on content type and Youtube is using movies layout in both thumbs and lists view. This results in poor thumbs.
Just double checked my code and you are right, and on line 398 we do set content to movie . I think we we're trying to get rid of the view hardcoding but never got it working right (ie. we couldn't get xbmc to change it's view to thumbnails when viewing videos). We'll remove it in the next release since it doesnt seem to do anything for confluence and I'm not aware of any category for webvideos, that will affect the way xbmc handles the content.
Code:
xbmcplugin.setContent( handle=int( sys.argv[ 1 ] ), content="movies" )
pecinko Wrote:I do not think that setting a view type should be done by addon but rather by user. If you force thumbnail view, you will loose all additional info you provide like comments or view counts.
I disagree, XBMC currently can't remember view settings for dynamically generated folder paths such as those provided by addons, the result is that most plugins default to boring file listings, or the user has to spend time setting the view for each new folder level. We created a trac ticket about this problem along time ago but i dont know if theres been any movement on that issue.
Considering that most youtube uploaders spend a good deal of time customizing the thumbnails for their videos it seems to me to be a very poor idea to disregard that. Also since humans seem to be very much visual "creatures", i think most will find the thumbnail to be preferable to a long listing of video statistics. And in confluence we still provide that additional info through the info view for each video, but it requires the user to ask for it.