pippin;643766 Wrote: 
> Anything in the logs?
> 

If I enable network.cometd debug logging iPeng produces this request
which doesn't work:


Code:
--------------------
    
  [11-07-27 16:12:43.8426] Slim::Web::Cometd::handler (149) Cometd request 
(172.16.0.2:54824): [
  {
  channel => "/slim/request",
  data => {
  request  => [
  "01:02:03:04:05:06",
  [
  "artistinfo",
  "items",
  0,
  100,
  "userInterfaceIdiom:iPeng",
  "menu:artistinfo",
  "item_id:13",
  "useContextMenu:1",
  ],
  ],
  response => "/c92759af/slim/request",
  },
  id => 181,
  },
  ]
  [11-07-27 16:12:43.8438] Slim::Web::Cometd::sendHTTPResponse (720) Sending 
Cometd response (172.16.0.2:54824):
  HTTP/1.1 200 OK
  Cache-Control: no-cache
  Connection: keep-alive
  Pragma: no-cache
  Content-Length: 108
  Content-Type: application/json
  Expires: -1
  X-Time-To-Serve: 0.00241494178771973
  
  [{"error":"request failed with error: Bad 
params!","id":"181","channel":"/slim/request","successful":false}]
  
--------------------


The corresponding SqueezePad request which works and returns valid menu
data looks like this:

Code:
--------------------
    
  [11-07-27 16:10:35.2176] Slim::Web::Cometd::handler (149) Cometd request 
(172.16.0.2:54723): [
  {
  channel => "/slim/request",
  data => {
  request  => [
  "01:02:03:04:05:06",
  [
  "artistinfo",
  "items",
  0,
  100,
  "menu:artistinfo",
  "item_id:13",
  "useContextMenu:1",
  ],
  ],
  response => "/7ad47a19/slim/request",
  },
  id => 15,
  },
  ]
  
--------------------


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=51929

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to