Page 1 of 1

simultaneous streams/direct links

PostPosted: Sun Sep 24, 2006 11:08 pm
by boomp
hi.. first of all, great software!
i just installed it, and am still figuring out how everything's working.. i read the faq's and forum, but still no solace.. sorry for the probably very stupid questions ;)

i'd like to use subsonic to manage streams for me.. my plan is to be able to run 4 stream simultaneously, with all 4 running different playlists..

i was under the impression that this is possible but atm i have no idea how to :)

also i'd like to just have a url like http://mydomain.bla/stream1.mp3 wich would lead to that stream, instead of people having to log on the subsonic web interface.. (wich is nice btw, but i'd like to keep the playlist management to myself :) )
is this possible?

thanks!

PostPosted: Mon Sep 25, 2006 8:06 am
by sindre_mehus
Hi,

I suggest you try the following: Create your playlists, and save them as a.m3u, b.m3u, c.m3u (for instance).

Then you can open the following links in your player (e.g., WinAmp):

http://mydomain.bla/subsonic/stream?pla ... suffix=mp3
http://mydomain.bla/subsonic/stream?pla ... suffix=mp3
http://mydomain.bla/subsonic/stream?pla ... suffix=mp3

If you want to be able to start the streams directly from the browser, you must publish on your web server m3u files containing the links above. For instance, create a file "foo.m3u" with the following content:

Code: Select all
#EXTM3U
#EXTINF:-1,Subsonic
http://mydomain.bla/subsonic/stream?playlist=a.m3u&suffix=mp3

Finally, create a link to foo.m3u from your ordinary web page.

Hope this helps,
Sindre

PostPosted: Mon Sep 25, 2006 11:30 am
by boomp
wow. it's actually WORKING!

i've some more questions..

i see my playlist start at track one all the time.. i was kinda aiming on a radio-sortof thing.. is this possible as well? or at least a shuffle-mode?

also, i'd like to change the (subsonic) thing after the tracktitle..

another thing.. i was wondering if it's possible to stream stuff into icecast/shoutcast without too much trouble.. (i have a hunch it isn't but it just might be :)

thanks for helping out :)

PostPosted: Mon Sep 25, 2006 11:39 am
by sindre_mehus
Yeah, well, the "normal" way to use Subsonic is to let the end users log on to the system and select themselves what they want to play. But with the aforementioned tricks it should be possible to achieve what you want to do. Haven't tried it myself, though...

Sindre

PostPosted: Mon Sep 25, 2006 11:51 am
by boomp
ah, you replied while i was editing my last post.. hehe..

PostPosted: Mon Sep 25, 2006 12:53 pm
by sindre_mehus
With this modus operandi, not starting at the beginning of the playlist is currently not possible, neither is shuffle mode.

To change the "(Subsonic)", edit the #EXTINF in your m3u.

If you want to do radio-like broadcasting, you're probably better off using a pure Icecast solution. (However, it might be possible to have your Icecast server reading data from Subsonic. I haven't tried Icecast so I can't tell if it's feasible.)

Cheers,
Sindre

PostPosted: Mon Sep 25, 2006 2:27 pm
by boomp
hmm.. yes i figured something like that..
there doesn't seem to be any software that can broadcast multiple streams to a server.. and since i'm not planning on starting anything big i think running 4 boxes with a mediaplayer each is a bit overdone :)

oh well. this isn't too bad either..

PostPosted: Fri Feb 09, 2007 6:51 pm
by leolo
Hello.

With this modus operandi, not starting at the beginning of the playlist is currently not possible, neither is shuffle mode


And to open the playlist ramdomly?

I mean something like when you click it opens ramdomly a.m3u, b.m3u, or c.m3u.

Something like this is possible?

Thanks