FAQ  •  Register  •  Login

Shoutcast Audio Web Resource Plug-in - Now Full Function

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 16, 2012 1:47 pm

Shoutcast Audio Web Resource Plug-in - Now Full Function

Here is an Audio Web Resource Plug-in for Shoutcast.

This 7th version supports all major and minor genres listed on the left side of the http://www.shoutcast.com page and requires the url formats as below:

http://www.shoutcast.com will create a folder containing the top 20 most listened to Stations with their bitrate, genre and number of listeners.

http://www.shoutcast.com?genre=xxxxx will create a folder containing the top 20 stations in genre xxxxx where xxxxx is any of the major or minor Radio Genres listed on the left side of the http://www.shoutcast.com page.
If xxxxx contains an & replace it with a _

http://www.shoutcast.com?search=yyyyy will create a folder containing the top 20 stations where the Station Name and/or Genre contains the search term yyyyy.
If yyyyy contains an & replace it with a _

Additional parameters are supported as follows:
stations=nn will return up to nn stations rather than the default 20 stations.
bitrate=mmm will limit the returned stations to those with bitrates >= mmm

eg: "http://www.shoutcast.com?search=classic r_b&bitrate=128&stations=8" will return the top 8 stations with bitrate >=128 that contain "classic r&b" in either the Station Name or Genre whereas "http://www.shoutcast.com?genre=classic r_b&bitrate=128&stations=8" will only return the top 8 stations with bitrate >=128 in the classic r&b Genre.

It is possible that Shoutcast will return no results for a given search, for example "search=rock" even though "genre=rock" works correctly. You can check this by testing your search on the Shoutcast web page.

Version 7 - Sept 05, 2014 - Support minor genres.
Attachments
Shoutcast.groovy
shoutcast.groovy V7 Sept. 5, 2014
(9.62 KiB) Downloaded 1148 times
Last edited by jhb50 on Fri Sep 05, 2014 4:55 pm, edited 15 times in total.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Mon Jan 16, 2012 6:53 pm

Re: Shoutcast Web Resource Plug-in

Good work. Thanks. So does one add "http://www.shoutcast.com" as a web resource to one's Online Resources? If so, could adding the following work?
http://www.shoutcast.com/radio/Greek#
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 16, 2012 8:40 pm

Re: Shoutcast Web Resource Plug-in

first one needs a / at the end as documented..haven't tested others yet..needs mor code for genres etc
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Mon Jan 16, 2012 8:52 pm

Re: Shoutcast Web Resource Plug-in

Sweet. Any ideas on how to get access to "Show more" items? I wonder if there are parameters one can add to the URL for sorting by bitrate, etc. I liked the old classic version of the shoutcast website.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

JustinSane

Serviio newbie

Posts: 17

Joined: Wed Jan 25, 2012 8:30 pm

Post Sun Apr 08, 2012 1:53 am

Re: Shoutcast Web Resource Plug-in

can someone show me an example url to get me started? I have set it up as a web resource, audio ticked, can't get anything to show up. Help?
<<

JustinSane

Serviio newbie

Posts: 17

Joined: Wed Jan 25, 2012 8:30 pm

Post Wed Apr 11, 2012 9:08 pm

Re: Shoutcast Web Resource Plug-in

This addon defunct then or wut?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Apr 12, 2012 4:51 pm

Re: Shoutcast Web Resource Plug-in

I have verified that it works fine per the instructions in the first post.
Due to a Shoutcast change only the MP3 streams displayed so i have upgraded the groovy to Version 2 which now includes the AAC streams as well.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sun Apr 22, 2012 6:38 am

Re: Shoutcast Web Resource Plug-in

Hello. Nothing shows up for me anymore. I have the new ShoutCast.groovy. In the log I see:
  Code:
java.io.IOException: Cannot parse resource from http://www.shoutcast.com/radio/Greek#/. Message: No plugin for web resource http://www.shoutcast.com/radio/Greek#/ has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:177)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:184)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:158)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:95)


I am using the latest beta of Serviio if that make any difference. Thanks.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

kappclark

DLNA master

Posts: 133

Joined: Fri Jan 13, 2012 10:36 pm

Location: Southern VT

Post Sun Apr 22, 2012 2:53 pm

Re: Shoutcast Web Resource Plug-in

I have found dozens of Internet Radio feeds with VLC... (do not believe they are Shoutcast)

When I find one I like, I get information about the feed address, Right-click) then enter that into Serviio (which is connected to the stereo) ... Listening to Radio Bach right now.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Apr 22, 2012 3:12 pm

Re: Shoutcast Web Resource Plug-in

only http://www.shoutcast.com/ works in version 1. genres are on my todo list.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sun Apr 22, 2012 8:40 pm

Re: Shoutcast Web Resource Plug-in

Ok, thanks.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Apr 26, 2012 10:58 pm

Re: Shoutcast Web Resource Plug-in

Version 3 supporting all options has been released. See the first post.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Apr 27, 2012 9:22 am

Re: Shoutcast Web Resource Plug-in - Now Full Function

Thanks heaps for that. The first post seems to have backslashes instead of forward slashes. Typos?
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Apr 27, 2012 12:20 pm

Re: Shoutcast Web Resource Plug-in - Now Full Function

Typos?


No. Dumb User LOL! Fixed.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Apr 27, 2012 7:08 pm

Re: Shoutcast Web Resource Plug-in - Now Full Function

:D
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

mirchy

Streaming enthusiast

Posts: 36

Joined: Sun Jun 17, 2012 3:10 am

Post Wed Feb 20, 2013 1:33 am

Re: Shoutcast Audio Web Resource Plug-in - Now Full Function

thanks a heap.. works well
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Feb 22, 2013 11:45 pm

Re: Shoutcast Audio Web Resource Plug-in - Now Full Function

This is an excellent plugin. Got a few requests i would absolutely love!
1. For the audiophiles, is it possible to have the bitrate in brackets, i usually ignore the low bitrate audio streams, example like this Shoutcast app
Possible as an extra option like you did with your other cool plugins
Example http://www.shoutcast.com?display=bitrate can displayed like (128K) 181.FM - POWER 181 -=[: The Hitz Channel
Maybe other users want display=genre or display=listeners

2. Also noticed, using http://www.shoutcast.com/, some of the 6 featured radio dont appear like .977 Hitz

3. The biggest request would be if the plugin can list the number of items requested in Serviio console. On the website the list expand when you press "SHOW MORE", love to hear more :D
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Feb 24, 2013 5:26 am

Re: Shoutcast Audio Web Resource Plug-in - Now Full Function

Version 4 posted with bitrate.

Note some featured stations are flashplayer video based and will not display.

There is no way to access "more" from the plug-in.
<<

isrmicha

Serviio newbie

Posts: 2

Joined: Thu Oct 24, 2013 10:48 am

Post Thu Oct 24, 2013 10:54 am

Re: Shoutcast Audio Web Resource Plug-in - Now Full Function

Hello, awesome plugin ! :D
Can i have any tips for my issue ? im trying to put shoutcast playing while i play my xbox360, but when i try to get the file of radio in music player of xbox i cant find the folder "Online", so... any chance to i put the radio file into a playlist ???

Thanks ! :D
<<

Vic Russell

Serviio newbie

Posts: 14

Joined: Sun Oct 27, 2013 10:11 am

Post Wed Jan 08, 2014 11:20 am

Re: Shoutcast Audio Web Resource Plug-in - Now Full Function

Is there any way to get artists and tracks to show up on my Samsung TV?
Next

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 7 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.