Sign up here and you can log into the forum!

UMSP Plugin: Shoutcast

UMSP Plugin Depot, the place for sharing plugins & info about them. No requests, just plugins/code.

Re: UMSP Plugin: Shoutcast   

Postby mad_ady » Sat Feb 04, 2012 3:51 am

I'm working on the plan B I mentioned earlier. I hope it will be done in a few hours.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: UMSP Plugin: Shoutcast   

Postby mad_ady » Sat Feb 04, 2012 5:54 am

Update - I've rewritten the parts that relied on the API to do site scraping. The results are satisfactory - the plugin should work like it used to work.

The stations are ordered by number of listeners. For genre selection, I get just the first 200 stations (the shoutcast web page lets you get 'next 10 stations', but I managed to work around that so we don't need to use pagination). For search results, I get the first 100 results.

Let me know if there are problems. You will need to update/reboot.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: UMSP Plugin: Shoutcast   

Postby PaulF » Sat Feb 04, 2012 1:59 pm

The scraper looks great.

I have no idea what Shoutcast is up to, but I don't like it. They are logging key usage for their partners and I am guessing the partners get some kind of kick back from the station's advertising revenue.

For US/Canada, I use http://www.thestreamcenter.com/ using VLC on my PC. That is how I learned you could display the current artist/song title on the fly. I am still working on displaying the song on the WD. Not because I need the feature, but because I would like figure the puzzle out. I have found only one small Easter egg in the debug process so far. echo "mask=63" > /tmp/dbg It dumps UPNP info to dmaosd.log
User avatar
PaulF
Developer
 
Posts: 420
Joined: Sat May 08, 2010 8:34 pm
Location: Oregon

Re: UMSP Plugin: Shoutcast   

Postby RadiOwaR » Sun Feb 19, 2012 1:35 am

hi, is there a search function included in this plugin?

i installed the firmaware and the plugin yesterday but i only get a specific number of stations within some predefined categories

how can i add a station? or how can i do a search in the shoutcast directory?

thanks!
RadiOwaR
n00b
 
Posts: 5
Joined: Sat Feb 18, 2012 9:15 am

Re: UMSP Plugin: Shoutcast   

Postby mad_ady » Sun Feb 19, 2012 6:12 am

You can't add stations to the plugin - all the stations must be available from shoutcast.

You can search, by entering the plugin and then by pressing the "Search" button on your remote.
Also, you can activate the "Last played" list and you will get a menu entry with the last played stations for quick access. You can activate this from the web end.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: UMSP Plugin: Shoutcast   

Postby RadiOwaR » Sun Feb 19, 2012 7:07 am

mad_ady wrote:You can't add stations to the plugin - all the stations must be available from shoutcast.

You can search, by entering the plugin and then by pressing the "Search" button on your remote.
Also, you can activate the "Last played" list and you will get a menu entry with the last played stations for quick access. You can activate this from the web end.


ok the search worked! thanks

i typed 'on' as well at the shoutcast config regarding the last played, is that the correct way?
RadiOwaR
n00b
 
Posts: 5
Joined: Sat Feb 18, 2012 9:15 am

Re: UMSP Plugin: Shoutcast   

Postby mad_ady » Sun Feb 19, 2012 10:49 pm

Yes, also make sure the station count is > 0.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: UMSP Plugin: Shoutcast   

Postby oudoulj » Tue Feb 21, 2012 1:54 pm

mad_ady wrote:...
You can search, by entering the plugin and then by pressing the "Search" button on your remote.

Hey, I did not know that feature ! Neat :)
WD TV Live (Model number WDBAAP0000NBK) running 1.02.21.WDLXTV_LIVE-0.5.1.1 + picto osd + MNv4 + webplayer
Synology DS212
oudoulj
DLX'er
 
Posts: 53
Joined: Fri Aug 13, 2010 12:38 am

Re: UMSP Plugin: Shoutcast   

Postby mad_ady » Tue Feb 21, 2012 10:53 pm

Search works in most UMSP plugins that implement it. Some plugins offer an entry as a link to remind users they can search, but most do not. When in doubt, try it out.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: UMSP Plugin: Shoutcast   

Postby mad_ady » Wed Apr 11, 2012 9:23 am

Made a change in preparation for the new UMSP_LAN feature that will be part of the future firmware (it will allow you to use UMSP plugins on other devices in your LAN, streaming the content from the WDTV). Changes include some extra escaping of special characters.
Let me know if I've broken anything...
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

PreviousNext

Return to UMSP Plugins

Who is online

Users browsing this forum: No registered users and 3 guests