Bug 11602 - Enhancement: Add ability for a user to select Squeezenetwork as a Music source for a Receiver on SqueezeCenter
: Enhancement: Add ability for a user to select Squeezenetwork as a Music sourc...
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.3.2
: All All
: P4 enhancement (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-01 12:49 UTC by Julius Dauz
Modified: 2009-10-05 14:37 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
patch to return hash of inactive players (1.67 KB, patch)
2009-04-09 04:31 UTC, Michael Herger
Details | Diff
allow switching a Receiver if it's known on SN (2.39 KB, patch)
2009-04-09 05:32 UTC, Michael Herger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julius Dauz 2009-04-01 12:49:57 UTC
Enhancement request if for adding the ability for a user to be able to moce a Squeezebox Receiver from SC to SN through the SC interface. Currently, you can do this with other players except the SBR.
Comment 1 James Richardson 2009-04-07 08:55:40 UTC
Dean: Your thoughts on this request?
Comment 2 Blackketter Dean 2009-04-07 10:01:15 UTC
Michael, shouldn't this work?
Comment 3 Michael Herger 2009-04-08 02:31:59 UTC
This probably won't be fixed - see bug 7254: if the player isn't registered on SN yet, it would be "lost".
Comment 4 Blackketter Dean 2009-04-08 06:49:51 UTC
Is it not possible to query SN to see if that player is attached to the account?  Shouldn't we be doing that for all players?
Comment 5 Michael Herger 2009-04-08 09:12:36 UTC
Andy - we currently only query players connected to SN. Could we enhance this query to include _all_ player, but add a "connected" flag to them? This way we could check whether a player is known to SN before trying to connect it.
Comment 6 Andy Grundman 2009-04-08 09:20:10 UTC
Sure, I think to avoid breaking old SC versions we will need to use /api/v2/...
Comment 7 Michael Herger 2009-04-09 04:31:20 UTC
Created attachment 5085 [details]
patch to return hash of inactive players

Andy - instead of adding a new protocol we could enhance the existing call to return another hash of inactive players:

{"inactive_players":[{"name":"Boom Test","id":"2","uuid":"4b93c4361231485910933162f205624a","mac":"00:04:20:1e:01:9e"},{"name":"Boulot","id":"1","uuid":null,"mac":"00:04:20:07:aa:e0"}],"active_services":{"napster":0,"lfm":1,"slacker":0,"pandora":1,"deezer":0,"rhapsody":0},"players":[],"next_poll":300}

What do you think?
Comment 8 Michael Herger 2009-04-09 05:32:33 UTC
Created attachment 5086 [details]
allow switching a Receiver if it's known on SN

This is the SC side of things: if a receiver is known to be registered in the user's SN account, allow moving it to SN.
Comment 9 Andy Grundman 2009-04-09 07:16:58 UTC
OK, I'm fine with that.
Comment 10 Michael Herger 2009-04-09 07:37:23 UTC
change 6210 - SN side of things: return hash of inactive players in player list
change 25888 - SC: allow switching of Receivers from SC to SN if the player is known on the user's SN account
Comment 11 Michael Herger 2009-04-09 09:34:57 UTC
working with revision 25896 (test.sn.com only - should be available on SN soon)

Receiver can now be switched to SN using the web UI if it has been registered on the user's SN account.
Comment 12 James Richardson 2009-10-05 14:37:00 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.