PDA

View Full Version : Duplicated Thumbnails


padawan
2009-07-28, 13:44
Hi there,

I'm getting an error listing items (videos, after parsing html, you know...), sometimes several thumbs are duplicated, but the data (title, url, etc) is ok.
Instead of listing the correct thumbnail, the same one is used for several items, while other items are shown ok.

A look at the log shows that:

11:29:26 T:2793405328 M:1282564096 INFO: Creating thumb from: http://xxxxxx.com/videos/c/frames/ciqJlaJkeL.jpg as: special://masterprofile/Thumbnails/Video/3/32118a24.tbn
11:29:26 T:2793405328 M:1282564096 DEBUG: FileCurl::Open(0xa67fd95c) http://xxxxxx.com/videos/c/frames/ciqJlaJkeL.jpg
...
11:29:26 T:2785012624 M:1279827968 INFO: Creating thumb from: http://xxxxxx.com/videos/w/frames/wixKgaGpeW.jpg as: special://masterprofile/Thumbnails/Video/3/32118a24.tbn
11:29:26 T:2744064912 M:1279827968 INFO: Creating thumb from: http://xxxxxx.com/videos/r/frames/rokZziGtiR.jpg as: special://masterprofile/Thumbnails/Video/3/32118a24.tbn
11:29:26 T:2744064912 M:1279827968 DEBUG: FileCurl::Open(0xa38ef95c) http://xxxxxx.com/videos/r/frames/rokZziGtiR.jpg
11:29:26 T:2785012624 M:1279827968 DEBUG: FileCurl::Open(0xa5ffc95c) http://xxxxxx.com/videos/w/frames/wixKgaGpeW.jpg


I think that is saving several thumbnails into the same file (32118a24.tbn) one time and again.

I never had experienced this behaivour previously, in fact this error only happen in one "channel" of the plugin.

Thanks in advance!

PS: "xxxxxx.com" is because I don't want to show what plugin I'm developing, by the moment :grin:

jmarshall
2009-07-29, 10:22
The path of the items is probably the same.

padawan
2009-07-29, 13:14
The path of the items is probably the same.

Do you mean the (local) path to the thumbnails?

Yes, it looks like XBMC is saving several thumbnails with the same path/name: "special://masterprofile/Thumbnails/Video/3/32118a24.tbn" while the URL of the thumbnails is different for each one, as you can see in the debug lines

Can I change/control where/how thumbnails are downloaded?

Thanks for your answer jmarshalll

padawan
2009-07-29, 14:06
OK, now I know what you meant with "same path", you were not talking about thumbnail path but video path/URL.

The problem was that those items have the same video URL, it doesn't matter that each thumbnail has different URLs, XBMC will use the same cached thumbnail for every items with the same video URL.

Thank you very much for the clue jmarshall :)