PDA

View Full Version : RE: CLI working in 5.0.1?



Kevin Hawkins
2003-12-02, 10:41
Dean - is there any chance of getting the top and bottom display lines
addressable separately from the CLI interface for the display command ?

K

> -----Original Message-----
> From: developers-bounces (AT) lists (DOT) slimdevices.com
> [mailto:developers-bounces (AT) lists (DOT) slimdevices.com] On
> Behalf Of dean blackketter
> Sent: 02 December 2003 15:52
> To: SlimDevices Developers
> Subject: Re: [Developers] CLI working in 5.0.1?
>
> Hi Peter,
>
> On Dec 2, 2003, at 3:41 AM, Peter Heslin wrote:
>
> > On Mon, Dec 01, 2003 at 08:09:56PM -0800, dean blackketter wrote:
> >> The correct way to get the addresses is to use
> >>
> >> player address 0 ?
> >>
> >> to get the zeroth player's address.
> >
> > If you look back at my lonely e-mail in an earlier
> thread regarding
> > the changes to the server that I suggested making in
> order to permit
> > transport and transcoding of streams by an external Real Audio /
> > Windows Media to mp3/wav converter, I was suggesting
> that the client
> > address should be put in an environment variable before
> launching the
> > player/transcoder, so that this external process could
> feed textual
> > output to the client's display. That's what I've been trying to
> > implement.
>
> Sorry for not commenting on your previous e-mail. It was
> important and complex enough that I didn't have enough
> brains to deal with it at the time. I will later today.
>
> >
> > Anyway, I have transcoding of Real/Windows streams
> working now, and I
> > just need to get the client display working. So the
> server needs to
> > tell the player/transcoder which client's display to
> manipulate, and I
> > am now planning to do that like so:
> >
> > $ENV{SLIM_CLIENT} = Slim::Player::Client::macaddr($client)
> >
> > Is this right, or is there a more correct way?
>
> Environment variables are a great idea for transcoding. For that
> specific case, use
>
> $ENV{SLIM_CLIENT} = $client->id();
>
> as this is the unique identifier. The MAC address is the
> same as the
> ID for SLIMP3 & Squeezebox, but not for HTTP clients.
>
> >
> >> The 5.0.1 CLI documentation does
> >> use the MAC style addresses, but there may be other
> places I missed...
> >> Pointers welcome...
> >
> > Sorry, I was looking at the web page
> > http://www.slimp3.com/documentation/crestronCLI.html
> > which uses IP-style addresses.
>
> Yeah, another thing on my list to fix. Sorry for the confusion.
>
> -dean
>
>

dean
2003-12-02, 11:22
Chance? Yes.

Timing is the issue. It's on my list.

-dean

On Dec 2, 2003, at 9:41 AM, Kevin Hawkins wrote:

> Dean - is there any chance of getting the top and bottom display lines
> addressable separately from the CLI interface for the display command ?
>
> K
>
>> -----Original Message-----
>> From: developers-bounces (AT) lists (DOT) slimdevices.com
>> [mailto:developers-bounces (AT) lists (DOT) slimdevices.com] On
>> Behalf Of dean blackketter
>> Sent: 02 December 2003 15:52
>> To: SlimDevices Developers
>> Subject: Re: [Developers] CLI working in 5.0.1?
>>
>> Hi Peter,
>>
>> On Dec 2, 2003, at 3:41 AM, Peter Heslin wrote:
>>
>>> On Mon, Dec 01, 2003 at 08:09:56PM -0800, dean blackketter wrote:
>>>> The correct way to get the addresses is to use
>>>>
>>>> player address 0 ?
>>>>
>>>> to get the zeroth player's address.
>>>
>>> If you look back at my lonely e-mail in an earlier
>> thread regarding
>>> the changes to the server that I suggested making in
>> order to permit
>>> transport and transcoding of streams by an external Real Audio /
>>> Windows Media to mp3/wav converter, I was suggesting
>> that the client
>>> address should be put in an environment variable before
>> launching the
>>> player/transcoder, so that this external process could
>> feed textual
>>> output to the client's display. That's what I've been trying to
>>> implement.
>>
>> Sorry for not commenting on your previous e-mail. It was
>> important and complex enough that I didn't have enough
>> brains to deal with it at the time. I will later today.
>>
>>>
>>> Anyway, I have transcoding of Real/Windows streams
>> working now, and I
>>> just need to get the client display working. So the
>> server needs to
>>> tell the player/transcoder which client's display to
>> manipulate, and I
>>> am now planning to do that like so:
>>>
>>> $ENV{SLIM_CLIENT} = Slim::Player::Client::macaddr($client)
>>>
>>> Is this right, or is there a more correct way?
>>
>> Environment variables are a great idea for transcoding. For that
>> specific case, use
>>
>> $ENV{SLIM_CLIENT} = $client->id();
>>
>> as this is the unique identifier. The MAC address is the
>> same as the
>> ID for SLIMP3 & Squeezebox, but not for HTTP clients.
>>
>>>
>>>> The 5.0.1 CLI documentation does
>>>> use the MAC style addresses, but there may be other
>> places I missed...
>>>> Pointers welcome...
>>>
>>> Sorry, I was looking at the web page
>>> http://www.slimp3.com/documentation/crestronCLI.html
>>> which uses IP-style addresses.
>>
>> Yeah, another thing on my list to fix. Sorry for the confusion.
>>
>> -dean
>>
>>