Skin images in a db

Got an idea, post it here

Skin images in a db

Postby jowaldo on Mon Nov 15, 2004 7:13 pm

I'm trying to make all of the menus in my skin with images (coverart specifically) using the side cover left layout.

Only problem is, when I choose an image for coverart I have to browse for it in a specific path. So if anyone uses my skin a different location that coverart for the specific button will not show up. Would it be possible to add an option to point coverart and other items to skin images (that don't require a path to them)?
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby chadwolcott on Mon Nov 15, 2004 11:54 pm

I am all for this from an architectural perspective. Having the ability to set "xlobby variables" similar to windows system variables would make skin portability much easier. You could then point the image to <SKIN>/images/image.png where <SKIN> is defined in the setup dialog.
chadwolcott
 
Posts: 107
Joined: Fri Sep 05, 2003 2:34 pm
Location: Boston, MA

Postby jowaldo on Tue Nov 16, 2004 12:27 am

yeah that could work pretty good
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby Colby on Tue Nov 16, 2004 2:21 pm

I have often wanted this too
Just a local place to point xlobby to.. LOCAL/Xlobby/whateverfolder
That way not only skins, but other custom things could be packaged and moved easier.
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby jowaldo on Tue Nov 30, 2004 12:00 am

bump! could really use this
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby Colby on Fri Dec 03, 2004 2:15 am

okay so steven added your request jowaldo!

in the field of a db item you can put
skin://whateverfolder/whateverfolder2/image.jpg

this makes images such as rating stars, dts, or whatever referenced to the local current skin directory. A modern marvel is born!

This new tool in conjunction with the new events category>variable set makes it possible to update db items with an image included in the skin.

steve 2 requests or questions,
1. can i have variables in the skin:// path ie. skin://radio/%station%.png
2. can I have non image files referenced this way ie. skin://playlists/radios.m3u
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby stevenhanna6 on Fri Dec 03, 2004 6:30 am

1. can i have variables in the skin:// path ie. skin://radio/%station%.png
2. can I have non image files referenced this way ie. skin://playlists/radios.m3u


No and No, I need some examples on both to see how you would use it to make sure its worthwhile adding.

fullcredit for colby comming up with "skin://" I wanted my % signs :)
stevenhanna6
 
Posts: 904
Joined: Tue Feb 18, 2003 10:39 am
Location: Ontario, Canada

Postby jowaldo on Fri Dec 03, 2004 6:58 am

too cool!! I'm gonna really use this, like colby said this will open up many new options. As always you are the man steven!
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm