Bug 14529 - JSON query for player alarms fails with Query Error: Unknown in dispatch table
: JSON query for player alarms fails with Query Error: Unknown in dispatch table
Status: CLOSED FIXED
Product: MySqueezebox.com
Classification: Unclassified
Component: API
: unspecified
: All All
: -- normal (vote)
: Hotfix
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-02 12:01 UTC by JP Moins
Modified: 2009-10-05 16:44 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
perl script, 2 queries ok, 1 ko. (3.54 KB, application/x-gzip)
2009-10-02 12:01 UTC, JP Moins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JP Moins 2009-10-02 12:01:26 UTC
Created attachment 5990 [details]
perl script, 2 queries ok, 1 ko.

The attached perl script runs a few queries on mySB to get player statuses.
It used to operate on SN.
On mySB, JSON queries to serverstatus and (player) status  work, but the alarms
query does not: 
@query = [$playerid,['alarms','0','999']] returns Query Error: Unknown in
dispatch table.

I attach the script I run. You need edit it to enter a mySB account login/pass
before running.
Comment 1 SVN Bot 2009-10-02 12:34:23 UTC
 == Auto-comment from SVN commit #28760 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=28760 ==

Fixed bug 14529, alarms query was being blocked if library was not enabled
Comment 2 James Richardson 2009-10-05 16:44:09 UTC
This bug has been fixed in the latest release of MySqueezebox.com (formally known as SqueezeNetwork)!

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