db122;682125 Wrote:
> I'm debugging some issues reported to me that Orange Squeeze has with
> this (fantastic!) plugin and I've run into a bit of a stumper.
> Basically, I'm finding that when responding to json or CLI requests for
> subitems, the plugin seems to be ignoring the complete item_id filter.
> For example:
>
> This CLI request:
> 00:04:20:16:0f:2d spotify items 0 100 item_id:1.3
>
> Actually returns the data that I would expect to be returned for this:
> 00:04:20:16:0f:2d spotify items 0 100 item_id:1.0
>
> Trying to navigate down any other paths is an even more abject failure,
> with no results being returned for this:
>
> 00:04:20:16:0f:2d spotify items 0 100 item_id:2.0
>
> Apparently, none of the other apps have this problem so I suspect that
> maybe Orange Squeeze is just one of the few apps still using json-rpc.
> The web interface works fine and I can confirm that, at least in the
> case of iPeng, the queries being routed through cometd seem to be
> working OK as well.
>
> In the longer term I'm sure a switch to using the comet-based protocol
> will be warranted, but I'm hoping to fix this issue for a maintenance
> release without making such a drastic change.
>
> Any ideas?
Looks to be working for browsing to me (I'm not sure that playback will
work), but I get responses which I believe matches the other interfaces:
Code:
--------------------
00:04:20:10:02:b3 spotify items 0 10 item_id:1.0
00%3A04%3A20%3A10%3A02%3Ab3 spotify items 0 10 item_id%3A1.0
title%3AVersioner%20by%20Timbuktu id%3A1.0.0 name%3AKamouflage%20(Invisible)
type%3Aaudio isaudio%3A1 hasitems%3A0 id%3A1.0.1
name%3AKom%20och%20h%C3%A5ll%20om%20mig type%3Aaudio isaudio%3A1 hasitems%3A0
id%3A1.0.2 name%3ADet%20g%C3%B6r%20ont type%3Aaudio isaudio%3A1 hasitems%3A0
id%3A1.0.3 name%3A%C3%96vertygad%20(True%20Believer) type%3Aaudio isaudio%3A1
hasitems%3A0 id%3A1.0.4 name%3AFlickan%20och%20kr%C3%A5kan type%3Aaudio
isaudio%3A1 hasitems%3A0 id%3A1.0.5 name%3ASnart%20tystnar%20musiken
type%3Aaudio isaudio%3A1 hasitems%3A0 count%3A6
00:04:20:10:02:b3 spotify items 0 10 item_id:1.3
00%3A04%3A20%3A10%3A02%3Ab3 spotify items 0 10 item_id%3A1.3
title%3AStupid%20Hoe%20by%20Nicki%20Minaj id%3A1.3.0
name%3AStupid%20Hoe%20-%20Explicit%20Version type%3Aaudio isaudio%3A1
hasitems%3A0 count%3A1
00:04:20:10:02:b3 spotify items 0 10 item_id:2.0
00%3A04%3A20%3A10%3A02%3Ab3 spotify items 0 10 item_id%3A2.0 title%3AArtists
id%3A2.0.0 name%3AEd%20Sheeran type%3Aplaylist isaudio%3A1 hasitems%3A1
count%3A1
--------------------
Note that for 2.0 to give a response you need to have stored entries in
the plugin's artist library.
--
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins