mherger wrote:
> > What's the difference for your plugin regarding Material/ LMS and
> > Squeezer (Jive (Controller) is also working)?...
>
> I can only assume it's the way how it's calling MAI. If you enable INFO
>
> logging for control.command you should see what exact commands the
> clients are sending. Still odd that it would only skip one step, though.
E.g. for Album information/Find album cover online, Squeezer sends (via
a go action received for the current menu):
Code:
--------------------
{
"clientId": "2dc68800",
"data": {
"request": [
"52:54:00:3e:a6:cb",
[
"albuminfo",
"items",
"0",
"50",
"slideshow:1",
"useContextMenu:1",
"menu:albuminfo",
"item_id:454397f5.16.3"
]
],
"response": "/2dc68800/slim/request/20"
},
"channel": "/slim/request",
"id": "66"
}
--------------------
We then receive:
Code:
--------------------
{
"ext": {
"priority": ""
},
"data": {
"data": [
{
"owner": null,
"date": null,
"image":
"https://lastfm.freetls.fastly.net/i/u/300x300/30465f507c92d5b7997c25d2c872effd.png",
"caption": "Last.fm (300x300px, PNG)"
},
{
"date": null,
"owner": null,
"image":
"https://img.discogs.com/qM--izYDOO6jpCKDNkLyDopvw8U=/fit-in/300x300/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-4219039-1358872603-8686.jpeg.jpg",
"caption": "Discogs (300x300px, JPG)"
}
],
"offset": 0,
"title": "Find album cover online",
"base": {
"actions": {
"play": {
"itemsParams": "params",
"cmd": [
"albuminfo",
"playlist",
"play"
],
"params": {
"menu": "albuminfo"
},
"nextWindow": "nowPlaying",
"player": 0
},
"add": {
"itemsParams": "params",
"cmd": [
"albuminfo",
"playlist",
"add"
],
"params": {
"menu": "albuminfo"
},
"player": 0
},
"more": {
"itemsParams": "params",
"cmd": [
"albuminfo",
"items"
],
"window": {
"isContextMenu": 1
},
"params": {
"menu": "albuminfo"
},
"player": 0
},
"go": {
"itemsParams": "params",
"cmd": [
"albuminfo",
"items"
],
"params": {
"menu": "albuminfo"
}
},
"add-hold": {
"itemsParams": "params",
"cmd": [
"albuminfo",
"playlist",
"insert"
],
"params": {
"menu": "albuminfo"
},
"player": 0
},
"playControl": {
"itemsParams": "playControlParams",
"window": {
"isContextMenu": 1
},
"cmd": [
"albuminfo",
"items"
],
"params": {
"useContextMenu": "1",
"_index": "0",
"item_id": "8b15a0ef.16.3",
"_quantity": "50",
"slideshow": "1",
"menu": "albuminfo"
},
"player": 0
}
}
}
},
"channel": "/909d633c/slim/request/4",
"id": "19"
}
--------------------
Which we don't display because it's not define here:
https://wiki.slimdevices.com/index.php/SBS_SqueezePlay_interface (we
expect an "item_loop").
Is it safe to assume that if the parameters contains the key "slideshow"
then the data returned will be in the above format?
(this appears to be how squeezeplay does it)
------------------------------------------------------------------------
minamanda's Profile: http://forums.slimdevices.com/member.php?userid=63054
View this thread: http://forums.slimdevices.com/showthread.php?t=99537
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins