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) v
« Previous 1 … 14 15 16 17 18 … 20 Next »
WebRadio

 
  • 0 Vote(s) - 0 Average
WebRadio
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#21
2012-04-02, 04:20 PM
Yes. I did it by editing the myradiostations.xml file in the Users\Public\Plugins\WebRadio folder. Insert the following into the file:

Code:
<Station>
    <Type>Radio</Type>
    <Title>Swedish Test</Title>
    <Icon>
    </Icon>
    <Genre>
    </Genre>
    <Target>http://sverigesradio.se/topsy/direkt/164.mp3</Target>
    <HomeURL>
    </HomeURL>
    <StreamType>mp3</StreamType>
    <Country />
    <State />
    <City>
    </City>
    <CountryCode />
    <BitRate>
    </BitRate>
</Station>

This needs to be between the <Stations> and </Stations> tags.

You can see there are some other fields you can enter, I just did the basics and it seems to work.

Martin and Jaggy may have a better way when they check in.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,182
Threads: 958
Joined: May 2006
#22
2012-04-02, 10:41 PM
I think that mikeh49 has shown the best way to add an existing URL but there are also ways to add m3u lists and pls files, if you are more comfortable with those. You can also add this <Station> block to UserMenu.xml if it is something you play often.

Martin
ThomasD
Offline

Junior Member

Posts: 36
Threads: 3
Joined: Oct 2006
#23
2012-04-03, 07:33 AM
Thanks a bunch, I'll try it tonight.
ThomasD
Offline

Junior Member

Posts: 36
Threads: 3
Joined: Oct 2006
#24
2012-04-03, 04:57 PM
Works like a charm! I've been having antenna troubles, but now I don't :-)

BTW, is there any way to get rid of the SHOUTcast Top 500?
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#25
2012-04-03, 05:06 PM
Looks like you can delete items from the ShoutcastGenre.xml file to manage what you see in the Shoutcast sub-menu. If you look into the various xml files you can figure out the menu structure and customize as you wish.

IIRC, an earlier version of WebRadio included a GUI editor for this, but I don't know if it works with the latest versions. Hasn't been a big issue for me.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
ThomasD
Offline

Junior Member

Posts: 36
Threads: 3
Joined: Oct 2006
#26
2012-04-03, 05:10 PM
I've had a look around the XML files, but what I really want to do is get rid of the whole Shoutcast menu item, leaving just my own stations. But maybe it's hardwired?
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#27
2012-04-03, 05:46 PM
Looks like the main menu is in radiostations.xml. You could try putting your station's xml section (what you put in myradiostations.xml) into this file. You can delete sections here to shorten the main menu. Or, put the block in usermenu.xml as Martin suggested; it would probably appear below My Radio Favourites. Usermenu.xml might be better in case of an update, the developers may not change usermenu, but might change radiostations. Just guessing.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
ThomasD
Offline

Junior Member

Posts: 36
Threads: 3
Joined: Oct 2006
#28
2012-04-03, 06:15 PM
Hm, I haven't got a radiostations.xml, only MyRadioStations.xml, ShoutcastGBPVR.xml and UserMenu.xml.

Then again, I don't have a <WebRadio> entry in config.xml either. Maybe I need to fiddle with that?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,182
Threads: 958
Joined: May 2006
#29
2012-04-03, 09:39 PM (This post was last modified: 2012-04-03, 09:45 PM by mvallevand.)
If you create a file called RadioStation.xml with nothing in it except

Code:
<Stations>
</Stations>

Your UserMenu.xml will be the only ones that shows up and as mikeh wrote, UserMenu.xml won't be overwritten during upgrades. Actually. RadioStations.xml is not part of the base install so it will only be overwritten if you run the advanced WebRadio install.

Martin
ThomasD
Offline

Junior Member

Posts: 36
Threads: 3
Joined: Oct 2006
#30
2012-04-04, 07:06 AM
I've tried to create both RadioStation.xml and RadioStations.xml, but Shoutcast still shows up. Should I install over with the advanced install, and what is that exactly?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


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

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

Linear Mode
Threaded Mode