Thanks for you answers

mherger wrote: 
> > - other than using CLI or HTTP interface, is there a way to inform
> LMS
> > of a volume change on a device ? I'm a bit confused here on how boom
> and
> > other do that, for example
> 
> Volume is handled on the server. When you change the volume on Boom, 
> then it's telling the server "hey, someone hit that button. What do you
> 
> want me to do?". And the server will in return tell it to change the
> volume.
> 
> Radio is a bit different in that regard. It would change volume locally,
> 
> but still talk to the server, and listen to server initiated volume
> chnages.
> 
> Now I'm not sure what other way you are looking for. From an external 
> application (could use CLI)? From a plugin (could use CLI, too, or 
> $client->volume)?
> 
> Sounds reasonnable to me, but what command is sent by the client ? Docs
> I google'd does not talk about that client-->server command direction, 
> only an "audg" command that is server-->client (and that i'm using) but
> I want to be able to feedback to LMS that volume has been changed 
> manually on upnp device
> 
> > - similar, is there a command that is sent by LMS to turn on /off a
> > device ? all I had today is to declare myself as a receiver and use
> the
> > "ledc" command ... huh ?
> 
> $client->power()
> 
> what slimproto does it use ? my device does not receive any packet about
> that from LMS on the socket I'm connected to
> 
> 
> > - is there a way to request/get the size & duration of the stream
> that
> > LMS will send ? (it is not in the HTTP header sent)  is a bit a pain
> > today as some upnp devices do not like to not know the size of the
> song,
> > and tend to consider is a live stream then (which prevents proper
> track
> > transition)
> 
> You need to be a little more specific as I still don't understand from 
> which pov you're trying to get that information.
> 
> My app needs to proxy the stream betweenLMS and the uPNP device. When an
> URI is set on an upnp device, it expects a <didl> header with 
> track duration and file size, but my app does not know that (LMS does
> not tell), so I have to fake a "very large file". When not knowing the
> filesize, the only way for the upnp player to declare end of track is
> when no more data is received 
> but some don't like that. Difficulty also is that I don't need the size
> of the whole song, but just the sub-part that LMS will send (happens
> when the user seeks FW and BW, 
> LMS constructs a new stream that is *just* the remaining part)
> 
> 
> > - some upnp device are unable to properly pause (even on non live
> stream
> > ... they can't resume where they stop) so I'll send a seek command
> when
> > unpause but, same question, any other option that through the CLI ?
> 
> Dito. Why not the CLI?
> CLI it is
> -- 
> 
> Michael


------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=102387

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to