2011-05-10, 21:10
Also, is it possible to get the ability to use the episodes folder.jpg instead of the thumb?
Big_Noid Wrote:Do you think it's possible to have the XBMC.org repo as a source and an onclick action to the respective addon installer?
igotdvds Wrote:Anyway to get recent addons in the recently added script?
igotdvds Wrote:Also, is it possible to get the ability to use the episodes folder.jpg instead of the thumb?
Big_Noid Wrote:Didn't think of that.
I came across something, if there is no thumb available, it uses the last thumb of the list it displayed to display the missing thumb. It's probably better to just show nothing, then you can add a fallback image in the skin.
EDIT: or maybe the author of the add-on should add a icon.png
ronie Wrote:i doubt it. afaik xbmc doesn't keep track of install dates.
hmm...never heard of poeple using folder.jpg images for episodes.
what's the difference compared to the thumb?
ronie Wrote:for all the official addons it's required to include an icon.png.
third party addons can do whatever they like of course.
but to answer your question, for some reason xbmc will always return icon.png and fanart.jpg for every addon...even if they are not included.
see: http://trac.xbmc.org/ticket/9530
however, in the skin you should specify a fallback image and it should show up if icon.png can't be found.....at least it's working for me.
igotdvds Wrote:I want to use the TV Show poster. So I really want RandomEpisode.1.Path,,poster.jpg.
Big_Noid Wrote:About the repo, all available addons are also in the Addons14.db. You could get the information from there.
ronie Wrote:a very dirty, unethical, unrecommended and you didn't get this from me way
would be to use something like:
$INFO[Window.Property(RandomEpisode.1.Path),,/../../poster.jpg]
ronie Wrote:that's what i tried initially a few weeks ago, but as far as i know xbmc does not provide a way (neither json rpc nor http api) to query the addondb.you can query sql directly from python (using f.e. pysqlite)
igotdvds Wrote:@ronie
With your newest addition (addons), I cant get the addons to execute. I used your code RunAddon, but nothing runs.
ronie Wrote:i'll be needing a Debug Log before i can say anything usefull about it ;-)
<onclick>RunAddon($INFO[Window.Property(RandomAddon.%d.Path)])</onclick>