peterw;186329 Wrote: 
> So if I connected to SN services through SS, all my SS plugins would see
> the normal button & IR commands, etc.? This sounds very good! The
> "currently playing" info would then look, what, like Internet Radio but
> with a "squeezenetwork:" URL or something? 
> 
> Might my SaverSwitcher plugin even be able to use its current
> 
> Slim::Music::Info::getCurrentTitle(undef, Slim::Player::Playlist::url(
> $client, Slim::Player::Source::streamingSongIndex($client)))
> 
> to get something like the name of the current song from
> Rhapsody/Pandora/etc.? That would be *excellent*!
> 
> 

Yeah this should work. :)

> 
> 
> Controlling a player that's connected to SN, like Slimserver could
> start up & regain control of a SB that's currently controlled by SN?
> I'd be concerned about the security/authorization design for such an
> API. SB serial numbers and MACs don't seem very hard to guess, so the
> SS request to regain control of an SB would need some other token to
> convince SN that it is the rightful master of the SB. If my SB3 is
> happily connectd to SN, I don't want some confused or malicious SS
> instance somewhere else telling SN to let it control my SB3. Perhaps
> when a SB connects through SS to SN, SN could give the SS instance a
> strongly random token associated with that SB, and the SS instance
> could use that token as authorization to control the SB when the SB is
> acting as a SN player.
> 
> -Peter

All API calls will require a session ID obtained by calling a login
method with your SN username and password.  So it'll be secure.


-- 
andyg
------------------------------------------------------------------------
andyg's Profile: http://forums.slimdevices.com/member.php?userid=3292
View this thread: http://forums.slimdevices.com/showthread.php?t=32930

_______________________________________________
squeezenetwork mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/squeezenetwork

Reply via email to