Bug 1496 - serv command should send BYE
: serv command should send BYE
Status: RESOLVED WONTFIX
Product: MySqueezebox.com
Classification: Unclassified
Component: SlimService
: unspecified
: PC All
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-04 17:27 UTC by Dave Cohen
Modified: 2005-06-07 20:19 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cohen 2005-05-04 17:27:35 UTC
Dean, when executing a SERV command to connect to SN, can you have the player
send a BYE to the server it is disconnecting from?
Comment 1 Dave Cohen 2005-05-05 09:29:24 UTC
Adding more to this enhancement request...

When handling a serv command, if the requested server is not available, the
client should either:

1) timeout, and remain connected to the original server (which issued the serv)
or 
2) present the user with a choice of either SN or local SlimServer.

As it currently is, it just says "Connecting to SqueezeNetwork..." and
eventually goes blank.

Is it possible to not drop the connection to one server until the other is
established?

Comment 2 Blackketter Dean 2005-05-16 11:30:00 UTC
I'm ready to add this, but I'm not sure we really need it.  With the current firmware, if you sign off SN 
you are taken to your SlimServer (if you've set one up) or back to the player settings menu (if you 
haven't).

Is the BYE message useful otherwise?
Comment 3 Dave Cohen 2005-05-16 12:37:06 UTC
I originally submitted this bug to solve a specific problem.  Namely, that if
you connect to SN, then returned to your Server, you were returned to the exact
same place in the menus that you left.  Specifically, a place where pressing
right connects you to SN.  But when you return from SN, you tend to be pressing
right already, so you immediately get bopped back to SN, without knowing why.

Of course, another way to solve the problem is to explicitly forget the client
after sending the message to connect to SN.  But how does the server really know
that the client even received that message?  It's a safe bet that it did, that's
true.  But sending a BYE seemed like a nice way to really confirm that the
message was recieved.
Comment 4 Blackketter Dean 2005-06-07 20:19:57 UTC
I'm not opposed to a bye message in principle, but we don't have a good use for it yet.