NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) UbuStream, Web Radio and Universe v
« Previous 1 2 3 4 5 … 8 Next »
WR2 skinning question(s)

 
  • 0 Vote(s) - 0 Average
WR2 skinning question(s)
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,624
Threads: 148
Joined: Mar 2006
#1
2009-11-22, 02:20 AM
I have one question to start with but as I go along there may be more.

I am just wondering if there is any way for me to display skin specific "@thumbnail" & "@streamtype" images?

I have tried putting a different VLC.png & VLC logo.png into my skin2\Blue-Retro-HV\_CoreImages directory but it still seems to display the image (I assume) from C:\Program Files\Devnz\GBPVR\media\RadioLogos?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2009-11-22, 03:46 AM
The IconDirectory is a config.xml setting so it is possible to point this anywhere you'd like. If the image isn't found there it is hard-coded to look in media\Country for the flags.

You could point config.xml to your skin folder and work from there but I'd also copy all the files from media\RadioLogo to media\Country first.

Martin
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,624
Threads: 148
Joined: Mar 2006
#3
2009-11-22, 05:21 AM
Hmmm that's not very user friendly Sad I would really prefer to not ask users to edit config.xml so they could use my skin.

No problem for my own personal use & I could just replace the images in the media\RadioLogo directory with the ones I want to use for B-R-xHV but I much prefer to keep my skin stuff only used for my skins & out of the way if users want to use/change to a different skin at some stage or for users like my brother who uses B-R-SHV on the bedroom TV & blue on the main TV.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2009-11-22, 05:46 AM
I don't know much about skinning (I need MixMan's album just to add the album art) but I suppose for the skin related png's I could take the following from PluginHelperFactory.getPluginHelper().GetSkinRootDirectory + "web radio" if that helps.

aac.png
m3u.png
mp3.png
OGG.png
pls.png
ram.png
VLC.png
WMA.png
wmp.png

Martin
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#5
2009-11-22, 08:01 PM
Another ideal place for plugin specific images are in the skin's own folder, instead of _CoreImages.

This allows that folder to be copied from skin to skin, allowing the plugin to work without having to "cherry pick" specific images from the _CoreImages folder.

The idea behind _CoreImages was to contain universal images shared among a broad group of plugins, thus creating an image repository used to develop themes.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#6
2009-11-22, 08:19 PM
Fatman_do doesn't PluginHelperFactory.getPluginHelper().GetSkinRootDirectory + "web radio" look in the root of the active skin? Are you suggesting another generic location?

Martin
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#7
2009-11-22, 09:12 PM
I know nothing about coding, so I cannot answer that with any confidence. Doesn't that example suggest "Skin2\SkinName\WebRadio\" as the default path?


Normally, skins are able to map where to look for images (ie. "Logo.png", "..\Logo.png", "..\_CoreImages\Logo.png") so this normally isn't an issue.

Built-in, hard coded image references are an animal of a different nature. It is acceptable to also use a large collection of extra images in the Media folders and such, so this isn't a big deal in the scheme of things (Weather is an example of this).

My comments were of a general nature referring to general skinning practices for a few "specific focus" images. Since there are so many images in the Media folder, for good reason, I wouldn't think you would need to change it. It sounds like Jaggy, would prefer the file type images to be stored locally (per skin2\PluginName) rather than globally (Media folders).
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,624
Threads: 148
Joined: Mar 2006
#8
2009-11-22, 10:01 PM
Fatman_do Wrote:Normally, skins are able to map where to look for images (ie. "Logo.png", "..\Logo.png", "..\_CoreImages\Logo.png") so this normally isn't an issue.

That's right I have no problems with these types of images

Quote:Built-in, hard coded image references are an animal of a different nature. It is acceptable to also use a large collection of extra images in the Media folders and such, so this isn't a big deal in the scheme of things (Weather is an example of this).

My comments were of a general nature referring to general skinning practices for a few "specific focus" images. Since there are so many images in the Media folder, for good reason, I wouldn't think you would need to change it. It sounds like Jaggy, would prefer the file type images to be stored locally (per skin2\PluginName) rather than globally (Media folders).

I guess now thinking about it this is for all plugins that use the media\xxx to display images & not default to look somewhere else first in the selected skin directory & then if not found then look in media\xxx for there images.

I would think this would affect CS4 with it's different schemes even more than my stand alone skin if the user wants to use different themes on their MVP/NMT to their HTPC? Personally I just don't like the idea of dictating to the user what images they will see in all the skins after installing my skin & there are a number of images in media\RadioLogos that don't fit into the retro theme that I would like to change.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#9
2009-11-22, 10:34 PM
I know that MixMan has downloaded about 4000 radio icons that he was think of making available, and since they come from the radio stations those aren't configurable. The others images which I guess you are needing a mode for are the links to the Stations themselves. On the following screen
[Image: WebRadio-HD.jpg]

I guess I could allow skinning the StationList icons too but there are several of them. Now we are talking more about a theme then a skin issue.

Martin
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,624
Threads: 148
Joined: Mar 2006
#10
2009-11-22, 11:03 PM
Yep I guess we are talking a theme rather than a skin thing....but the theme is half what my skins are about :p

I won't be changing the radio station icons that come from the stations themselves, those in your pic I may want to change (I haven't got as far as thinking about them yet) but the main one at the moment is the Radio.png that displays a lot in detailsview
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  webradio/webstreams on pch question ryanmc 6 4,194 2008-05-15, 12:18 AM
Last Post: ryanmc
  sirius streams using ubu streams question ryanmc 3 2,939 2008-05-01, 10:56 AM
Last Post: ryanmc

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode