PDA

View Full Version : pre-defined playlists?



Jonathan Greene
2004-12-08, 20:37
Is there a way to define a playlist that is automatically connected to
by certain clients? I was thinking slim server would be a good way to
stream to a wireless device, but would like to have a pre-populated
playlist queued so I don't need a computer to manage tracks. I'd also
like to control the bitrate if possible so I don't overwhelm the
device's capabilities.

Thanks,
JG

Jesse David Hollington
2004-12-09, 10:45
The Slimserver maintains a playlist for each individual client, and
there is a setting to allow these playlists to be maintained, even
across restarts of the SlimServer (it can be found under Server
Settings, Behaviour, Maintain Client Playlists). So if you queue up a
playlist for a specific player, it will remain queued.

The bitrate can also be controlled on an individual player basis.


On Wed, 8 Dec 2004 22:37:34 -0500, Jonathan Greene
<atmasphere (AT) atmasphere (DOT) net> wrote:
> Is there a way to define a playlist that is automatically connected to
> by certain clients? I was thinking slim server would be a good way to
> stream to a wireless device, but would like to have a pre-populated
> playlist queued so I don't need a computer to manage tracks. I'd also
> like to control the bitrate if possible so I don't overwhelm the
> device's capabilities.
>
> Thanks,
> JG
>
>

Jonathan Greene
2004-12-09, 12:49
The trick for me is that the device will most likely have more than a
single IP since it will be connecting via cellular data. Also - is
there a specific URL type I need to specify the bitrate?

Thanks!
JG


On Dec 9, 2004, at 12:45 PM, Jesse David Hollington wrote:

> The Slimserver maintains a playlist for each individual client, and
> there is a setting to allow these playlists to be maintained, even
> across restarts of the SlimServer (it can be found under Server
> Settings, Behaviour, Maintain Client Playlists). So if you queue up a
> playlist for a specific player, it will remain queued.
>
> The bitrate can also be controlled on an individual player basis.
>
>
> On Wed, 8 Dec 2004 22:37:34 -0500, Jonathan Greene
> <atmasphere (AT) atmasphere (DOT) net> wrote:
>> Is there a way to define a playlist that is automatically connected to
>> by certain clients? I was thinking slim server would be a good way to
>> stream to a wireless device, but would like to have a pre-populated
>> playlist queued so I don't need a computer to manage tracks. I'd also
>> like to control the bitrate if possible so I don't overwhelm the
>> device's capabilities.
>>
>> Thanks,
>> JG
>>
>>

Jason Holtzapple
2004-12-09, 13:21
Jonathan Greene wrote:
> The trick for me is that the device will most likely have more than a
> single IP since it will be connecting via cellular data. Also - is
> there a specific URL type I need to specify the bitrate?

You should be able to specify a pre-defined playlist and bitrate in
the URL:

http://my.ip.add.ress:9000/stream.mp3?p0=playlist&p1=play&p2=relaxation&bitrate=128

Aaron Zinck
2004-12-09, 13:48
This shouldn't cause trouble--the slimserver distinguishes clients based on
MAC address. The bitrate is set in the player properties through the slim
web gui and the setting remains associated with that player every time it
reconnects.


"Jonathan Greene" <atmasphere (AT) atmasphere (DOT) net> wrote
in message news:67E39439-4A1B-11D9-B573-000A95C47866 (AT) atmasphere (DOT) net...
> The trick for me is that the device will most likely have more than a
> single IP since it will be connecting via cellular data. Also - is
> there a specific URL type I need to specify the bitrate?
>
> Thanks!
> JG
>
>
> On Dec 9, 2004, at 12:45 PM, Jesse David Hollington wrote:
>
> > The Slimserver maintains a playlist for each individual client, and
> > there is a setting to allow these playlists to be maintained, even
> > across restarts of the SlimServer (it can be found under Server
> > Settings, Behaviour, Maintain Client Playlists). So if you queue up a
> > playlist for a specific player, it will remain queued.
> >
> > The bitrate can also be controlled on an individual player basis.
> >
> >
> > On Wed, 8 Dec 2004 22:37:34 -0500, Jonathan Greene
> > <atmasphere (AT) atmasphere (DOT) net> wrote:
> >> Is there a way to define a playlist that is automatically connected to
> >> by certain clients? I was thinking slim server would be a good way to
> >> stream to a wireless device, but would like to have a pre-populated
> >> playlist queued so I don't need a computer to manage tracks. I'd also
> >> like to control the bitrate if possible so I don't overwhelm the
> >> device's capabilities.
> >>
> >> Thanks,
> >> JG
> >>
> >>

kdf
2004-12-09, 18:45
Quoting Jonathan Greene <atmasphere (AT) atmasphere (DOT) net>:

> The trick for me is that the device will most likely have more than a
> single IP since it will be connecting via cellular data. Also - is
> there a specific URL type I need to specify the bitrate?

http://serverIP:9000/stream.mp3?bitrate=128 (if you are accessing from a
winamp-type client)

you can also do this in yoru browser:
http://serverIP:9000/status_header.html?p0=playlist&p1=play&p2=file:///path/to/playlists/myplaylist.m3u&player=<playerID>
where playerID is the IP address of the winamp player and serverIP is the ip
address of the machine running slimserver.

-kdf

Jonathan Greene
2004-12-09, 20:05
Thanks everyone! These seem pretty straightforward... I have to just
work out a few kinks in my new multiple router setup and I should be
all set. Works great internally...


On Dec 9, 2004, at 8:45 PM, kdf wrote:

> Quoting Jonathan Greene <atmasphere (AT) atmasphere (DOT) net>:
>
>> The trick for me is that the device will most likely have more than a
>> single IP since it will be connecting via cellular data. Also - is
>> there a specific URL type I need to specify the bitrate?
>
> http://serverIP:9000/stream.mp3?bitrate=128 (if you are accessing from
> a
> winamp-type client)
>
> you can also do this in yoru browser:
> http://serverIP:9000/status_header.html?p0=playlist&p1=play&p2=file://
> /path/to/playlists/myplaylist.m3u&player=<playerID>
> where playerID is the IP address of the winamp player and serverIP is
> the ip
> address of the machine running slimserver.
>
> -kdf
>

Jonathan Greene
2004-12-10, 18:52
I can't quite get this to work...

I've tried a few varieties of the URL in order to play a specific
playlist saved by iTunes. I can manage a saved playlist for each
device - love that the mac addressing keeps the unit in place
regardless of IP number changes.

Can someone help breakdown each piece of the suffix for me?

p0=playlist&
p1=play&
p2=relaxation&
bitrate=128

p0 /p1 - is that simply saying get a play list and play it, and then
the next piece says which one? p2 - seems it's the actual name of the
playlist, but I don't know how to best use it. bitrate is clear
enough...

Thanks!


On Dec 9, 2004, at 3:21 PM, Jason Holtzapple wrote:
>>
> You should be able to specify a pre-defined playlist and bitrate in
> the URL:
>
> http://my.ip.add.ress:9000/stream.mp3?
> p0=playlist&p1=play&p2=relaxation&bitrate=128

kdf
2004-12-10, 19:00
Quoting Jonathan Greene <atmasphere (AT) atmasphere (DOT) net>:

> I can't quite get this to work...
>
> I've tried a few varieties of the URL in order to play a specific
> playlist saved by iTunes. I can manage a saved playlist for each
> device - love that the mac addressing keeps the unit in place
> regardless of IP number changes.
>
> Can someone help breakdown each piece of the suffix for me?
>
> p0=playlist&
> p1=play&
> p2=relaxation&
> bitrate=128
>
> p0 /p1 - is that simply saying get a play list and play it, and then
> the next piece says which one? p2 - seems it's the actual name of the
> playlist, but I don't know how to best use it. bitrate is clear
> enough...

p2 needs to be the full path to the playlist, I believe. or in the case of
itunes playlists, put itunesplaylist: in front. well, at least that's what I
would try first were I to attempt to do this :)

-kdf

Jonathan Greene
2004-12-10, 19:49
On Dec 10, 2004, at 9:00 PM, kdf wrote:

> Quoting Jonathan Greene <atmasphere (AT) atmasphere (DOT) net>:
>
>> I can't quite get this to work...
>>
>> I've tried a few varieties of the URL in order to play a specific
>> playlist saved by iTunes. I can manage a saved playlist for each
>> device - love that the mac addressing keeps the unit in place
>> regardless of IP number changes.
>>
>> Can someone help breakdown each piece of the suffix for me?
>>
>> p0=playlist&
>> p1=play&
>> p2=relaxation&
>> bitrate=128
>>
>> p0 /p1 - is that simply saying get a play list and play it, and then
>> the next piece says which one? p2 - seems it's the actual name of the
>> playlist, but I don't know how to best use it. bitrate is clear
>> enough...
>
> p2 needs to be the full path to the playlist, I believe. or in the
> case of
> itunes playlists, put itunesplaylist: in front. well, at least that's
> what I
> would try first were I to attempt to do this :)
>

My url looks like this -

http://server:9000/stream.mp3?p0=playlist&p1=play&p2=itunesplaylist:
jazz&bitrate=128

It starts, but does not play the jazz playlist I've saved in iTunes.
Instead, when I look in the web UI on the right side I see this -- The
current playlist: itunesplaylist:jazz but no music plays.