Re: How to get extid in e.g the albums list using the SqueezePlay interface
minamanda <minamanda.abbxvz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
mherger wrote:
> > --------------------
> >
> ["browselibrary","items","0","512","mode:albums","useContextMenu:1","menu:1"]]
> > --------------------
>
> The browselibrary commands use the 'E' flag to get external ids. What
> would be the result for such a query when returning an external item?
Thanks for the quick response.
I'm not sure I understand what you mean, but I'll give it a try. Please
let me know if you meant something else.
In the item loop of the response we get e.g. these items which can't be
distinguished except for the album id:
Code:
--------------------
{
icon-id: 7cc06c01
commonParams: {
album_id: 372
}
presetParams: {
favorites_type: playlist
icon: music/7cc06c01/cover
favorites_url: db:album.title=21
favorites_title: 21
}
icon: music/7cc06c01/cover
text: 21
Adele
type: playlist
textkey: 2
}
{
icon-id: a6b85953
commonParams: {
album_id: 4
}
presetParams: {
favorites_type: playlist
icon: music/a6b85953/cover
favorites_url: db:album.title=21
favorites_title: 21
}
icon: music/a6b85953/cover
text: 21
Adele
type: playlist
textkey: 2
}
--------------------
If I get e.g:
Code:
--------------------
extid: deezer
--------------------
in the json object for an item, I would be able to display an icon of
the music service for the item.
------------------------------------------------------------------------
minamanda's Profile: http://forums.slimdevices.com/member.php?userid=63054
View this thread: http://forums.slimdevices.com/showthread.php?t=115432