Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 2014
    Posts
    16

    Browsing Remote (UPnP / DLNA / LMS) Libraries

    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!

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,724

    Browsing Remote (UPnP / DLNA / LMS) Libraries

    > 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"]] }


    Did you try adding the "menu:1" parameter? I fear you'll have to enter
    poorly documented SlimBrowse land in order to achieve what you're
    looking for...


  3. #3
    Junior Member
    Join Date
    Nov 2014
    Posts
    16
    Quote Originally Posted by mherger View Post
    >Did you try adding the "menu:1" parameter? I fear you'll have to enter
    poorly documented SlimBrowse land in order to achieve what you're
    looking for...
    Wow... that returned a bunch of things I've never seen before... I want to learn more about this SlimBrowse thing!
    Can you point me to whatever documentation does exist?
    Also, can you recommend which source files I should be looking at to try to understand not only what the inputs are, but how to interpret this output?

    Thank you again for the help.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,724

    Browsing Remote (UPnP / DLNA / LMS) Libraries

    > Wow... that returned a bunch of things I've never seen before... I want
    > to learn more about this SlimBrowse thing!
    > Can you point me to whatever documentation does exist?


    Unfortunately there isn't much. The best I can offer is this:
    https://wiki.slimdevices.com/index.p...Interface.html

    > Also, can you recommend which source files I should be looking at to try
    > to understand not only what the inputs are, but how to interpret this
    > output?


    Squeezeplay would have the "reference" implementation of the client
    side. Might be around here:

    https://github.com/Logitech/squeezep...lay/share/jive

    But it's probably easier to ask around here. There are a few guys who've
    implemented their own.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •