2010-11-26, 05:24
Im having some trouble with a plugin I am trying to write...
Essentially I am using a combination of httpapi/vfs to pull library data and thumbnails/fanart from a running xbmc install. This is being done from a plugin on _another_ xbmc install (which is running Dharma RC1). Im essentially trying to write a plugin that acts more or less like a remote library. I plan on switching to jsonrpc at some point, but I digress...
I have it all working except for one thing. When I do this (example is hardcoded just to demonstrate the problem):
in my plugin, the property is getting set correctly. The url is valid, I have tested numerous times in a browser. However, the fanart is never displayed and the logs have this in it:
I do the pretty much exactly the same thing for the thumbnails, and they work just fine. I can see the debug output for the thumbnail loads and it all looks normal. Its only the fanart doing this.
Any ideas? I have never run into this behavior before - and I have done lots of plugins, although never one that uses vfs urls (don't see how that would matter though)...
When I do "Movie Information" on an item, it will _occasionally_ (about 1 in 20 times) load the fanart in the dialog, but it is never displayed in the listview. I suspect those loads are uncached, and none of the fanart ever seems to get written to the xbmc fanart cache folder.
Essentially I am using a combination of httpapi/vfs to pull library data and thumbnails/fanart from a running xbmc install. This is being done from a plugin on _another_ xbmc install (which is running Dharma RC1). Im essentially trying to write a plugin that acts more or less like a remote library. I plan on switching to jsonrpc at some point, but I digress...
I have it all working except for one thing. When I do this (example is hardcoded just to demonstrate the problem):
Code:
listitem.setProperty( "fanart_image", "http://user:[email protected]:83/vfs/special://masterprofile/Thumbnails/Video/Fanart/7112eafe.tbn" )
in my plugin, the property is getting set correctly. The url is valid, I have tested numerous times in a browser. However, the fanart is never displayed and the logs have this in it:
Code:
21:11:58 T:1132 M:2530697216 DEBUG: CTextureCache::GetImageHash - unable to stat url http://user:[email protected]:83/vfs/special://masterprofile/Thumbnails/Video/Fanart/7112eafe.tbn
I do the pretty much exactly the same thing for the thumbnails, and they work just fine. I can see the debug output for the thumbnail loads and it all looks normal. Its only the fanart doing this.
Any ideas? I have never run into this behavior before - and I have done lots of plugins, although never one that uses vfs urls (don't see how that would matter though)...
When I do "Movie Information" on an item, it will _occasionally_ (about 1 in 20 times) load the fanart in the dialog, but it is never displayed in the listview. I suspect those loads are uncached, and none of the fanart ever seems to get written to the xbmc fanart cache folder.