2017-03-07, 02:24
(2017-03-06, 22:06)kingkearney Wrote: Thanks for adding this to your skin, 2 problems I noticed so far:
1 - you have gone with the image name 'extrathumb1' EMM uses 'thumb1.jpg and therefore Artwork Beef / Skin Helper imports the extrathumb images as' thumb1' 'thumb2' etc.
2 - I added a view images as 'extrathumb1, extrathumb2, extrathumb3 to test it out and they display fine, they just rotate through all the images in less than a second. There seems to be no delay between each image.
1. This shouldn't be a problem, I'll just add the thumb entries in the label itself, it ought to go through those that are available and ignore the filenames that aren't found.
2. This second point was a puzzler. The problem happened to me upon setting up the initial fadelabel control. Since then I did some more digging. Essentially, the fadelabel is a hack, but the only one I could think of to add proper rotating thumbs inside containers without completely overhauling the entire info section. The way it works is, it sets up an actual label that's the path to the thumb. We then hide the text, but the image remains. Simple enough, eh?
The problem is that you get wildly varied scroll-times depending on the actual structure of your library. So, for instance, if your library is in D:/Movies/Your Movie/extrathumbs/thumb1.jpg, that will take 10 seconds to scroll in a given label width. If your library is in C:/Users/Username/Kodi/Movies/Your movie with a much longer title/extrathumbs/thumb1.jpg, then that same thumb, being nearly twice as long, will take close to twice the time to rotate per item. Except the scroll-time setting tries to compensate for the difference, so it becomes closer to +-2 seconds. However, if the width of the label is large and the file path is short, the label doesn't have the need to scroll, hence, no delay.
I think I can fix the issue, and that's it's a simple matter of ensuring the "scrollabillity" of every label. If you'd like to test it out, you could go into MyVideoNav.xml, line 159, and try to change the width from 750 to something like 50. If I'm correct about the way things work, that should be enough to scroll the label of even the shortest of file paths, while keeping the rotation to around 10 seconds or so.