Kodi Community Forum

Full Version: script.extendedinfo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
no idea.
i now added a function to add extrathumbs / extrafanart to artwork database.
(perhaps i should also add it to script.artwork.downloader?)
btw you can start the addon now from programs section. that will give you options to start some functions manually.

after running the db update you can get the images with listitem.art(extrathumbX) / listitem.art(extrafanartX) with X = 0,1,2...

if pieh / jmarshall is reading this: is there any downside when saving 20+ artwork images per movie? (except disk space usage)
(2013-04-03, 15:58)phil65 Wrote: [ -> ]i now added a function to add extrathumbs / extrafanart to artwork database.
(perhaps i should also add it to script.artwork.downloader?)
btw you can start the addon now from programs section. that will give you options to start some functions manually.

after running the db update you can get the images with listitem.art(extrathumbX) / listitem.art(extrafanartX) with X = 0,1,2...

if pieh / jmarshall is reading this: is there any downside when saving 20+ artwork images per movie? (except disk space usage)

i think we better add it there yes (and definitely create a standard way so we don't create way to much overhead) Smile
our idea was to store those images as a single multipath:// image
Downside of adding that much images like you do is that in Gotham the select image will search database for available "artwork" labels and this way you get one huge list to select from

This way you could use a multiimage control with listitem.art(extrathumb) with extrathumb containing the multipath:// location
Didn't get around to it yet to test that out.
where can i find info about how to use multipath://?
(2013-04-03, 16:11)phil65 Wrote: [ -> ]where can i find info about how to use multipath://?

This is how i split multipath
https://github.com/XBMC-Addons/script.ar...up.py#L190
so basically you need to reverse that process and combine the complete path+file for each image into that single multipath:// and throw that in a multiimage control

this is of course theoretical™ Cool
ok, looks simple. will give it a try when i find some time.
had a quick look in xbmc code... is it safe that multipath:// works for single files? i got the impression that it is exclusively for paths...
tried it, and it seems my suspicion was correct:

03:06:43 T:8292 DEBUG: CMultiPathDirectory::GetDirectory(multipath://C%3a%5c720p%5cthumb2.png/....)
03:06:43 T:8292 DEBUG: Getting Directory (C:\720p\thumb2.png)
03:06:43 T:8292 ERROR: XFILE::CDirectory::GetDirectory - Error getting C:\720p\thumb2.png
03:06:43 T:8292 ERROR: Error Getting Directory (C:\720p\thumb2.png)

so I´m right to assume that there is no better way to add extrafanart / extrathumbs to database?
Does this work for making widgets work for Video Addons as well?
(2013-04-04, 03:14)crimsonfury Wrote: [ -> ]Does this work for making widgets work for Video Addons as well?

nothing to do with this, skin-related and wrong subforum (devs only here)
Correct, a multipath:// will not work. A stack:// might though maybe - not sure.
quick test gave me this:
04:16:59 T:8552 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(stack) in stack://C%3A%2FAMD%2Fthumb1.png
04:16:59 T:8552 DEBUG: CTextureCacheJob::GetImageHash - unable to stat url stack://C:/AMD/thumb1.png

i hope i URL encoded correctly.
in backend mode:

on artist level you have:

Artist.Album.%d.Title
Artist.Album.%d.Plot
Artist.Album.%d.PlotOutline
Artist.Album.%d.Year
Artist.Album.%d.Duration
Artist.Album.%d.Thumb
Artist.Album.%d.ID
Artist.Albums.Newest
Artist.Albums.Oldest
Artist.Albums.Count
Artist.Albums.Playcount

Image
NearEvents now supports some parameters:

prefix: will get added in front of property name
festivalsonly: only show festivals (default off)
tag: filter by tag (example: tag=rock)

Examples:
RunScript(script.extendedinfo,info=NearEvents,prefix=Festivals,festivalsonly=true)
RunScript(script.extendedinfo,info=NearEvents,prefix=Rock,tag=rock)

+ new Property NearEvents.%i.Thumb


Image
the script now shows the busy dialog by default when active. you can suppress that by adding ,silent=True to parameters.