Storing Local Images
#1
what am i doing wrong as my image are not showing when i have them in my plugin folder

Code:
def art(file):
    iconimage = os.path.join('art')
    return iconimage


Code:
addDir('Search Mikeys Karaoke','url',3,iconimage=('icons.png'))



all i done was take some of 1channels code but image are blank


even if i do
Code:
iconimage = os.path.join(xbmc.translatePath('special://profile/data/plugin.video.MikeysKaraoke'), 'art')

does xbmc still cache local imagesHuh



cause if they do it makes no odds having a local images folder
Reply
#2
Bump
Reply
#3
(2012-08-04, 23:32)mikey1234 Wrote: Bump

bump with 10 minutes is considered extremely rude Stare
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
Reply
#4
You mean 24hr and 10
Reply
#5
XBMC will still cache them, yes.
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
Reply
#6
@mikey1234 Looks like you forgot to give it the name of the file. You're accepting it as a parameter, just not combining it with the art folder to get the full relative path. This should do it:

Code:
def art(file):
    iconimage = os.path.join('art', file)
    return iconimage
Reply
#7
Is it worth having an images folder for your artwork if xbmc caches it anyway if images are stored online ??
Reply
#8
Basically no, unless the images are going to go away.

Just set the image URL to the http:// one and XBMC will grab it for you.
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
Reply

Logout Mark Read Team Forum Stats Members Help
Storing Local Images0