Page 1 of 1
		
			
				OSX - Shoutcast plugin not functioning
				
Posted: 
Tue Mar 25, 2014 5:42 amby serviioadam
				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.
			 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Tue Mar 25, 2014 5:31 pmby zip
				there is a topic here, ask the dev there: 
viewtopic.php?f=20&t=4882 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Wed Mar 26, 2014 1:16 amby serviioadam
				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.
			 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Wed Mar 26, 2014 9:26 amby zip
				The plugin devs are mostly independent devs, so obviously there is a possibility they move on. You can always PM them.
			 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Wed Mar 26, 2014 1:03 pmby serviioadam
				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?
			 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Fri Mar 28, 2014 12:36 amby zip
				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.
			 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Fri Mar 28, 2014 9:26 pmby serviioadam
				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.
			 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Sat Mar 29, 2014 12:23 amby serviioadam
				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%20Radiowhere 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.
 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Sat Mar 29, 2014 8:29 amby Xmantium
				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:

 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Sun Mar 30, 2014 11:27 pmby zip
				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.
 
			
		
			
				Re: OSX - Shoutcast plugin not functioning
				
Posted: 
Mon Mar 31, 2014 8:19 pmby serviioadam
				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.