Release - script.extendedinfo

  Thread Rating:
  • 26 Vote(s) - 4.27 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #46
no idea.

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #47
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)

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
Martijn Offline
Team Kodi
Posts: 16,935
Joined: Jul 2011
Reputation: 310
Location: Dawn of time
Post: #48
(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.

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
(This post was last modified: 2013-04-03 16:09 by Martijn.)
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #49
where can i find info about how to use multipath://?

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
Martijn Offline
Team Kodi
Posts: 16,935
Joined: Jul 2011
Reputation: 310
Location: Dawn of time
Post: #50
(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

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #51
ok, looks simple. will give it a try when i find some time.

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #52
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...

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #53
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?

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
crimsonfury Offline
Fan
Posts: 517
Joined: Mar 2012
Reputation: 1
Location: Arizona, U.S.
Post: #54
Does this work for making widgets work for Video Addons as well?

[Image: all-thin-banner@2x.jpg]
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #55
(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)

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
(This post was last modified: 2013-04-04 03:17 by phil65.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,216
Joined: Oct 2003
Reputation: 185
Post: #56
Correct, a multipath:// will not work. A stack:// might though maybe - not sure.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #57
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.

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #58
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: 3ovfElc.jpg]

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #59
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=tru​e)
RunScript(script.extendedinfo,info=NearEvents,prefix=Rock,tag=rock)

+ new Property NearEvents.%i.Thumb


[Image: gQoYO24.jpg]

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
phil65 Offline
Team-Kodi Developer
Posts: 6,687
Joined: Mar 2009
Reputation: 147
Location: Cologne, Germany
Post: #60
the script now shows the busy dialog by default when active. you can suppress that by adding ,silent=True to parameters.

Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
Post Reply