Bug 15929 - Applet Installer fails to automatically reinstall after upgrade with TinySC
: Applet Installer fails to automatically reinstall after upgrade with TinySC
Status: RESOLVED FIXED
Product: SqueezePlay
Classification: Unclassified
Component: Applet
: 7.5.x
: PC Windows (legacy)
: P2 normal (vote)
: 7.5.x
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-20 05:19 UTC by Adrian Smith
Modified: 2011-03-16 04:47 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Smith 2010-03-20 05:19:44 UTC
Automatic reinstall of 3rd party applets after a firmware update does not work when the user is using TinySC (flagged by autopilot on fab4 forum).

This needs a change to the AppletInstaller code to force a connect to MySB.com as TinySC doesn't know about applets.  Fix not needed for 7.5, but would like to include it in the next 7.5 update after this so that when users update they don't see this.
Comment 1 Chris Owens 2010-03-23 09:40:37 UTC
Thanks, Adrian!
Comment 2 Adrian Smith 2010-04-17 07:36:05 UTC
Andy - how hard would it be for MySB.com to be extended to support queries which don't have a real player id - i.e. make it respond to queries for jiveapplets with a player id of ff:ff:ff:ff:ff:ff?  

This bug occurs as I only query MySB.com if the player is connected to it and the server object contains a non dummy player.  This means that if the local server is TinySC then I don't get a list of available applets.  Ideally I don't want the AppletInstaller applet to need force the player to connect to MySB.com before it searches for a list of applets as I don't really want it to meddle with the choose player mechanism.
Comment 3 Andy Grundman 2010-04-17 09:37:57 UTC
As long as the query doesn't depend on a player it's easy to add an exception for this particular command.
Comment 4 Adrian Smith 2010-04-17 10:27:28 UTC
Player is irrelavent to the query - for queries to SBS I send a nil player so would propose to do the same for MySB.com

I only ended up sending a player id based on a previous discussion on how to get SN to respond to it.  If you could add an exception that would be very useful.

Query comes from SetupAppletInstallerApplet: 

	server:userRequest(
		function(chunk, err)
			if err then
				log:debug(err)
			elseif chunk then
				self:menuSink(server, chunk.data)
			end
		end,
		player,
		{ "jiveapplets", 
		  "target:" .. System:getMachine(), 
		  "version:" .. version,
		  opt and "optstr:other|user" or "optstr:none",
		}
	)

Where player is nil normally.
Comment 5 Adrian Smith 2010-04-23 06:47:41 UTC
Andy - will you be able to add the exception to MySB.com so I can modify the applet in time for 7.5.1?
Comment 6 SVN Bot 2010-04-23 07:07:04 UTC
 == Auto-comment from SVN commit #8227 to the network repo by agrundman ==
 == http://svn.slimdevices.com/network?view=revision&revision=8227 ==

Bug 15929, add jiveapplets to passthrough command list
Comment 7 SVN Bot 2010-04-23 14:16:50 UTC
 == Auto-comment from SVN commit #8732 to the jive repo by adrian ==
 == http://svn.slimdevices.com/jive?view=revision&revision=8732 ==

Bug: 15929
Description: send jiveapplets query to squeezenetwork after trying all local servers, no longer needs a valid playerid to get applet list from squeezenetwork