FAQ  •  Register  •  Login

OSX - Shoutcast plugin not functioning

<<

serviioadam

Streaming enthusiast

Posts: 27

Joined: Sun Mar 23, 2014 11:15 pm

Post Tue Mar 25, 2014 5:42 am

OSX - Shoutcast plugin not functioning

i've dug through all available on the topic, installed the plugin in the plugins folder, created the web resource call "http://www.shoutcast.com/" , specified Audio, saved. nothing appears under "Online Services."

everything else makes Serviio worth a good deal more than 25 bucks, and i appreciate it, but this plugin would improve the quality of my life. anybody know what's up? where IS the most current shoutcast plugin, anyway? mine is dated january 2013.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 25, 2014 5:31 pm

Re: OSX - Shoutcast plugin not functioning

there is a topic here, ask the dev there: viewtopic.php?f=20&t=4882
<<

serviioadam

Streaming enthusiast

Posts: 27

Joined: Sun Mar 23, 2014 11:15 pm

Post Wed Mar 26, 2014 1:16 am

Re: OSX - Shoutcast plugin not functioning

i just asked there, but the developer hasn't posted in that thread since Sun Feb 24, 2013, so i'm not holding my breath. my guess is that since the emphasis here is on video streaming these days, shoutcast may not be a hot topic.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Mar 26, 2014 9:26 am

Re: OSX - Shoutcast plugin not functioning

The plugin devs are mostly independent devs, so obviously there is a possibility they move on. You can always PM them.
<<

serviioadam

Streaming enthusiast

Posts: 27

Joined: Sun Mar 23, 2014 11:15 pm

Post Wed Mar 26, 2014 1:03 pm

Re: OSX - Shoutcast plugin not functioning

how about the tune-in radio plugin? that's b0rked too, and also, when i choose "Disable" under the "Presentation" tab, nothing is disabled. reducing onscreen clutter by removing unused icons is a fine idea. is the developer of those two items independent as well?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 28, 2014 12:36 am

Re: OSX - Shoutcast plugin not functioning

Presentation only works for DLNA devices, not MediaBrowser.

TuneIn I can have a look when I have some time, but last time I checked, it was working and no one complained on the plugin thread. make sure you have the plugin from the thread, rather than from the All plugins pack.
<<

serviioadam

Streaming enthusiast

Posts: 27

Joined: Sun Mar 23, 2014 11:15 pm

Post Fri Mar 28, 2014 9:26 pm

Re: OSX - Shoutcast plugin not functioning

thanks Petr, but i have good news. i fixed the plugin . tunein's output added escapes for a couple of quotes. i replaced this:

def stationMatcher = html =~ '(?s)<li class="clearfix play.*?">\\s*<a href="([a-zA-Z0-9-/]+)".*?<h3>(.*?)</h3>'

with this

def stationMatcher = html =~ '(?s)<li class=\"clearfix play.*?">\\s*<a href=\"([a-zA-Z0-9-/]+)".*?<h3>(.*?)</h3>'


and bingo! the modified plugin is uploaded here.
Attachments
TuneIn.groovy
(5.56 KiB) Downloaded 270 times
<<

serviioadam

Streaming enthusiast

Posts: 27

Joined: Sun Mar 23, 2014 11:15 pm

Post Sat Mar 29, 2014 12:23 am

Re: OSX - Shoutcast plugin not functioning

also zip, my groovy skills are minimal, but it shouldn't take you more than five minutes to craft a working shoutcast plugin from this:

http://www.shoutcast.com/radiolist.cfm? ... me%20Radio

where the "cat" argument is a genre (jazz, easy listening, etc.). the link to the .pls file is there for each station. (might be harder to parse the bit rate because it's a table with no CSS class to identify the bitrate.)

i wrestled with it for a while and gave up.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sat Mar 29, 2014 8:29 am

Re: OSX - Shoutcast plugin not functioning

You can organise the MediaBrowser icons by editing the contentDirectoryDef.xml found in serviio.jar\org\serviio\upnp\service\contentdirectory\definition\contentDirectoryDef.xml
so your most used categories appear first in MediaBrowser and ServiiGo

This is my screenshot:
Image
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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Mar 30, 2014 11:27 pm

Re: OSX - Shoutcast plugin not functioning

serviioadam wrote:thanks Petr, but i have good news. i fixed the plugin . tunein's output added escapes for a couple of quotes. i replaced this:

def stationMatcher = html =~ '(?s)<li class="clearfix play.*?">\\s*<a href="([a-zA-Z0-9-/]+)".*?<h3>(.*?)</h3>'

with this

def stationMatcher = html =~ '(?s)<li class=\"clearfix play.*?">\\s*<a href=\"([a-zA-Z0-9-/]+)".*?<h3>(.*?)</h3>'


and bingo! the modified plugin is uploaded here.

thanks, I uploaded it to the plugin's topic.
<<

serviioadam

Streaming enthusiast

Posts: 27

Joined: Sun Mar 23, 2014 11:15 pm

Post Mon Mar 31, 2014 8:19 pm

Re: OSX - Shoutcast plugin not functioning

i wish the shoutcast thing were as easy. it LOOKS like it ought to be. the "new" site is built in ColdFusion, and a link like this:

http://www.shoutcast.com/radiolist.cfm? ... me%20Genre

...spits out a simple table with links of the form:

<a class="transition" href="http://yp.shoutcast.com/sbin/tunein-station.pls?id=12345">Some Station</a>

i have whittled the groovy code down to a nub, but i still can't get the #$%@& thing to work. i'm stumped, that output ought to be easy to grab. guess i don't understand string literals very well in Java.

the .cfm script doesn't supply a page <title> so that would have to come from the &cat= input.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 61 guests

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