Browsing Remote (UPnP / DLNA / LMS) Libraries

littla <littla.afbneo-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Fri, 4 Feb 2022 12:21:31 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
Hello,

I'm trying to browse remote libraries using the following JSON

{ "id" : 1, "method" : "slim.request", "params" : ["00:00:00:00:00:00",
["selectRemoteLibrary", "items", "0", "100", "item_id:1.0.1"]] }

This gets me a response of

{ "params" : ["00:00:00:00:00:00", ["selectRemoteLibrary", "items", "0",
"100", "item_id:1.0.1"]], "result" : { "title" : "All music",
"loop_loop" : [{ "id" : "1.0.1.0", "name" : "All Songs", "type" :
"playlist", "isaudio" : 1, "hasitems" : 1 }, { "id" : "1.0.1.1", "name"
: "Bad Moon Rising", "type" : "audio", "isaudio" : 1, "hasitems" : 0 },
{ "id" : "1.0.1.2", "name" : "I Remember Now", "type" : "audio",
"isaudio" : 1, "hasitems" : 0 }, { "id" : "1.0.1.3", "name" :
"Anarchy-X", "type" : "audio", "isaudio" : 1, "hasitems" : 0 }, { "id" :
"1.0.1.4", "name" : "Revolution Calling", "type" : "audio", "isaudio" :
1, "hasitems" : 0 }, { "id" : "1.0.1.5", "name" : "Operation:
Mindcrime", "type" : "audio", "isaudio" : 1, "hasitems" : 0 }, { "id" :
"1.0.1.6", "name" : "Speak", "type" : "audio", "isaudio" : 1, "hasitems"
: 0 }, { "id" : "1.0.1.7", "name" : "Spreading the Disease", "type" :
"audio", "isaudio" : 1, "hasitems" : 0 }, { "id" : "1.0.1.8", "name" :
"The Mission", "type" : "audio", "isaudio" : 1, "hasitems" : 0 }, { "id"
: "1.0.1.9", "name" : "Suite Sister Mary", "type" : "audio", "isaudio" :
1, "hasitems" : 0 }, { "id" : "1.0.1.10", "name" : "The Needle Lies",
"type" : "audio", "isaudio" : 1, "hasitems" : 0 }, { "id" : "1.0.1.11",
"name" : "Electric Requiem", "type" : "audio", "isaudio" : 1, "hasitems"
: 0 }, { "id" : "1.0.1.12", "name" : "Breaking the Silence", "type" :
"audio", "isaudio" : 1, "hasitems" : 0 }, { "id" : "1.0.1.13", "name" :
"I Don't Believe in Love", "type" : "audio", "isaudio" : 1, "hasitems" :
0 }, { "id" : "1.0.1.14", "name" : "Waiting for 22", "type" : "audio",
"isaudio" : 1, "hasitems" : 0 }, { "id" : "1.0.1.15", "name" : "My Empty
Room", "type" : "audio", "isaudio" : 1, "hasitems" : 0 }, { "id" :
"1.0.1.16", "name" : "Eyes of a Stranger", "type" : "audio", "isaudio" :
1, "hasitems" : 0 }], "count" : 17 }, "id" : 1, "method" :
"slim.request" }

Which is MOSTLY what I'm looking for... unfortunately it's missing some
key information... mainly the play URL, but also any art information,
possible other things I'm not sure about yet because I'm hung up on the
play URL part.

I have tried adding tags:u like so...

{ "id" : 2, "method" : "slim.request", "params" : ["00:00:00:00:00:00",
["selectRemoteLibrary", "items", "0", "100", "tags:u", "item_id:1.0.1"]]
}

This gets the same result (still missing the play Url)

I also tried adding want_url:1 like so...

{ "id" : 3, "method" : "slim.request", "params" : ["00:00:00:00:00:00",
["selectRemoteLibrary", "items", "0", "100", "item_id:1.0.1",
"want_url:1"]] }

This gets no response (just a timeout)...

Does anyone know what tags I can use or how I should be making this
request to successfully browse remote UPnP/DLNA servers through LMS so I
can not only see the contents, but play and/or bookmark them?

Alternatively... maybe I'm doing this all wrong... is there a
different/better way to browse and manage (bookmark/play) music on a
remote DLNA / UPnP server?

Thank you!


------------------------------------------------------------------------
littla's Profile: http://forums.slimdevices.com/member.php?userid=63581
View this thread: http://forums.slimdevices.com/showthread.php?t=115899