Shoutcast

Need help? Post your questions here.

Moderator: moderators

Shoutcast

Postby j3tblk » Tue Sep 14, 2010 2:35 pm

I've searched Google and this forum but I cannot find an answer to this.
I'd like to use Subsonic to stream Shoutcast feeds. Are there instructions for this? Thank you
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Tue Sep 14, 2010 3:41 pm

Figuring that I am on my own here so I'll just post as I try stuff to figure this out.

My M3U files are formatted correctly:



Example:
#EXTM3U
#EXTINF:-1,Funked Up Radio September 9th 2010 - Hosted by DFunk (Bassdrive - Worldwide Drum and Bass Radio)
http://screlay-dtc0l-3.shoutcast.com:8084
#EXTINF:-1,[Connecting] http://screlay-dtc0l-3.shoutcast.com:8084
http://screlay-dtc0l-3.shoutcast.com:8084
#EXTINF:-1,http://shouthostdirect10.streams.bassdrive.com:8200
http://shouthostdirect10.streams.bassdrive.com:8200
#EXTINF:-1,http://shouthostdirect11.streams.bassdrive.com:8398
http://shouthostdirect11.streams.bassdrive.com:8398
#EXTINF:-1,http://shouthostdirect12.streams.bassdrive.com:8200
http://shouthostdirect12.streams.bassdrive.com:8200
#EXTINF:-1,http://shouthostdirect13.streams.bassdrive.com:8202
http://shouthostdirect13.streams.bassdrive.com:8202
#EXTINF:-1,http://blank-tv.de.streams.bassdrive.com:8000
http://blank-tv.de.streams.bassdrive.com:8000
#EXTINF:-1,http://ubradio.net.streams.bassdrive.com:8000
http://ubradio.net.streams.bassdrive.com:8000
#EXTINF:-1,http://berliner.streams.bassdrive.com:8000
http://berliner.streams.bassdrive.com:8000
#EXTINF:-1,http://orion.streams.bassdrive.com:80
http://orion.streams.bassdrive.com:80
#EXTINF:-1,http://hwilde.streams.bassdrive.com:8888
http://hwilde.streams.bassdrive.com:8888
#EXTINF:-1,http://beezle.streams.bassdrive.com:8765
http://beezle.streams.bassdrive.com:8765
#EXTINF:-1,http://aol.streams.bassdrive.com:8008
http://aol.streams.bassdrive.com:8008
#EXTINF:-1,http://spike.streams.bassdrive.com:80
http://spike.streams.bassdrive.com:80
#EXTINF:-1,http://aol.streams.bassdrive.com:8012
http://aol.streams.bassdrive.com:8012
#EXTINF:-1,http://ukfox.streams.bassdrive.com:80
http://ukfox.streams.bassdrive.com:80
#EXTINF:-1,http://us-tx1.streams.bassdrive.com:9000
http://us-tx1.streams.bassdrive.com:9000


still nothing. Tried making the M3U file point to a .pls file. no luck
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Tue Sep 14, 2010 3:43 pm

I installed sub air so I can at least see it dynamically pull up any content in the m3u file. What is weird is that even though the m3u is formatted to standards it will only read the m3u I made inside of Subsonic. Perhaps it can only see particular files and can't read URLs...?
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Tue Sep 14, 2010 3:55 pm

I moved my playlist into the same directory as my music and now I can see the entry in the playlist. It reads it as .pls file but nothing will stream. There has to be a way for subsonic to play the stream...
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Tue Sep 14, 2010 4:01 pm

I threw a few of the URLS from the playlist into "Internet TV/radio" section....nothing via shoutcast other formats work,

For instance WBBM Chicago streams fine but all Shoutcast feeds fail to play


I tried a few other Shoutcast feeds and some just show my browser downloading a file rather than streaming the content. It's writing the stream to disk -LOL.
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby ccandreva » Wed Sep 15, 2010 12:40 am

It's not really evident what you are trying to do. I don't know if this helps, but I posted a tutorial on playing Internet streams on the Jukebox player:

http://forum.subsonic.org/forum/viewtopic.php?t=4058
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby j3tblk » Wed Sep 15, 2010 8:28 am

Thanks for the reply.
I'm trying to play Shoutcast streams with Subsonic.

I checked out your link, I'm on Windows 7 Ult though.

Any help would be appreciated. (I wish there was some documentation on how to set this up... I see the Shoutcast logo everywhere so it must be a no brainer to get this working but I'm ripping my hair out over it.)
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Wed Sep 15, 2010 10:17 am

I'm still trying to figure this out. I'm seeing this in the logs:

[9/15/10 5:07:35 AM CDT] WARN PlaylistService Access denied to file http:\shouthostdirect13.streams.bassdrive.com:8202

(ports are wide open)
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Wed Sep 15, 2010 10:34 am

[9/15/10 5:31:10 AM CDT] WARN PlaylistService Access denied to file http:\shouthostdirect10.streams.bassdrive.com:8200
[9/15/10 5:32:58 AM CDT] WARN PlaylistService Access denied to file http:\orion.streams.bassdrive.com:80


Denied to file....hmmm well this isn't a file it's a URL and it's reformatted the URL too. *thinking* -WISH I HAD SOME DOCUMENTATION!
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby ccandreva » Wed Sep 15, 2010 11:05 am

Yes, but trying to play Shoutcast streams on what -- the Jukebox player, the web player, iphone, Android . . .
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby p2ranger » Wed Sep 15, 2010 1:51 pm

I've been looking at the same thing. I'm trying to play the shoutcast stream in the webplayer and on the android player. I've found an app called retro player that will let me play shoutcast on android, but I haven't been able to find much documentation on how to use the "Internet TV / Radio" tab in settings for Subsonic.

Jason
Subsonic 5.3
Ubuntu 14.04
User avatar
p2ranger
 
Posts: 46
Joined: Wed Dec 23, 2009 2:48 pm
Location: Sandy, UT

Postby j3tblk » Wed Sep 15, 2010 2:03 pm

ccandreva wrote:Yes, but trying to play Shoutcast streams on what -- the Jukebox player, the web player, iphone, Android . . .


Internal web player (Flash) -but none of them work, trust me I've tried.
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby ccandreva » Wed Sep 15, 2010 2:10 pm

From what I can tell, all the "Internet TV/Radio" support does is add links to streams to the Subsonic page. It's up to your browser to know what do do with them.

I hadn't tried to add a Shoutcast stream, but just did as an example. I went to www.shoutcast.com and looked for a Metal station, finding Rock Radio 1. The play button on shoutcast's page just plays it right in that window, so I went to the station's web site www.rockradio1.com and found the direct URL for the player, http://87.117.202.97:8005/listen.pls

In Subsonic, I go to Settings -> Internet TV/Radio, and fill in all the information for this station. After reloading the whole Subsonic web page, there is now an "Internet TV/Radio" section above my alphabetical music listing on the left side. The station name links to the stations web site, and there is a little play arrow on the left that links to the stream itself.

But that's all it is -- a link. It plays exactly as if you had clicked the link on the station's own web site, and nothing else. It doesn't add to the playlist, or the Subsonic's web page player. As far as I can tell it's not available from Subair or the Android player.

And to me this makes sense, you don't want the radio streams to go back to your server, then out again to your device. All you need here is a 'bookmark' service. Support for this would have to be added directly to Subair and/or Android app.

For the Jukebox however, it's entirely possible you want the server to play a stream. In my case, I run a Subsonic server in the basement hooked to a whole-house audio feed, so I want one stream into the house feed through the whole-house system. Hence my hack to play streams on the jukebox. (And in reality, you could use that to play any file format that mplayer supports).
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby j3tblk » Wed Sep 15, 2010 2:24 pm

That's an interesting take on things.
I don't want bookmarks. I want the audio to play *gasp* inside the browser like all the other music does and all the other streams do.
Meaning the link should play audio rather than throwing authentication errors in the log. This only happens when trying to use Shoutcast...yes all the other streams behave like you described and yes w/out support in subair or on Android. --That's all fine & understood.

This is helpful:
For the Jukebox however, it's entirely possible you want the server to play a stream. In my case, I run a Subsonic server in the basement hooked to a whole-house audio feed, so I want one stream into the house feed through the whole-house system. Hence my hack to play streams on the jukebox. (And in reality, you could use that to play any file format that mplayer supports).

Thinking it through that might work BUT
the problem is my subsonic server will not establish any connection to a Shoutcast server.



This is boiling down to Shoutcast using authentication of sort when the connection is made. I have to figure out what information to pass in order to allow the stream to connect.

At this point I'm trying to have someone point me to documentation where I can further rip apart the shoutcast authentication\subsonic\connection process.

The thing is that there are Shoutcast logos all over the main page and there is zero documentation (that I can find) on integrating Shoutcast with Subsonic.
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Postby j3tblk » Wed Sep 15, 2010 2:38 pm

This is the same source except one is Shoutcast and one is not.

Works (Non-Shoutcast)
http://radiotime.com/WebTuner.aspx?StationId=16743&

Fails: (Shoutcast)
http://orion.streams.bassdrive.com:80

There has to be a way to connect directly to the Shoutcast server.
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests