Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 76
  1. #21
    Hi,

    I send you a mail but posting the question here as well. I would like to display additional album art and pdfs stored in my music folders. You have implemented this allready in your plugin, and I would like to know if there is anyway I can use that in my web page. When I look at the URL for a file, I get this, for example:

    http://192.168.0.18:9000/imageproxy/...400x400_o%202x

    Can the CLI interfaces be used to obtain the list of local files ? If not, is there another way of doing this through the LMS "interfaces" ?

    thanks

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

    CLI interface limitations - workarounds?

    I'm sorry I didn't get back to you quicker... I've been a bit busy
    lately. And your original mail was much longer :-)

    > Can the CLI interfaces be used to obtain the list of local files ? If
    > not, is there another way of doing this through the LMS "interfaces" ?


    There's indeed the "localfiles folder:/path/to/folder" CLI command. Make
    sure you correctly URI escape the path.

    --

    Michael

  3. #23
    Quote Originally Posted by mherger View Post
    I'm sorry I didn't get back to you quicker... I've been a bit busy
    lately. And your original mail was much longer :-)

    > Can the CLI interfaces be used to obtain the list of local files ? If
    > not, is there another way of doing this through the LMS "interfaces" ?


    There's indeed the "localfiles folder:/path/to/folder" CLI command. Make
    sure you correctly URI escape the path.

    --

    Michael
    Thanks. I cannot seem to get it to work. Is there any documentation on the localfiles command ?

    My library folder in LMS is: G:/Library
    I have a folder in it which is: Johnny Hodges - Master of Jazz
    Within that folder I have a subfolder: Johnny Hodges - Master of Jazz/artwork

    I tried it for example with many different combinations and get no result:
    localfiles folder:G:/Library/Johnny%20Hodges%20-%20Master%20of%20Jazz
    localfiles folder:file:///G:/Library/Johnny%20Hodges%20-%20Master%20of%20Jazz
    localfiles folder:/Johnny%20Hodges%20-%20Master%20of%20Jazz
    localfiles folder://Johnny%20Hodges%20-%20Master%20of%20Jazz
    localfiles folder:/Johnny%20Hodges%20-%20Master%20of%20Jazz/artwork
    and so on.

    Thanks
    Last edited by hopkins; 2019-04-12 at 10:03.

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

    CLI interface limitations - workarounds?

    > localfiles folder:G:/Library/Johnny%20Hodges%20-%20Master%20of%20Jazz

    Make sure you encode the full path:

    G%3A%2FLibrary%2FJohnny%20Hodges%20-%20Master%20of%20Jazz%2Fartwork

    --

    Michael

  5. #25
    Quote Originally Posted by mherger View Post
    > localfiles folder:G:/Library/Johnny%20Hodges%20-%20Master%20of%20Jazz

    Make sure you encode the full path:

    G%3A%2FLibrary%2FJohnny%20Hodges%20-%20Master%20of%20Jazz%2Fartwork

    --

    Michael

    I cannot get this to work. Are there any prerequisites ?

    If someone has tested this, could they confirm it works and give me an example of the exact syntax ?

    thanks

  6. #26
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,298

    CLI interface limitations - workarounds?

    > I cannot get this to work. Are there any prerequisites ?

    The Music & Artist Information plugin :-)

    Anything in server.log? Enable logging for plugin.musicartistinfo and
    try again.

    --

    Michael

  7. #27
    Quote Originally Posted by mherger View Post
    > I cannot get this to work. Are there any prerequisites ?

    The Music & Artist Information plugin :-)

    Anything in server.log? Enable logging for plugin.musicartistinfo and
    try again.

    --

    Michael
    thanks I enabled logging and I get this:

    I first got this:
    Slim::Control::Request::new (1102) Request [localfiles folder:G:\Library\Johnny Hodges - Master of Jazz]: no match in dispatchDB!
    then after with another call:
    Slim::Plugin::CLI::Plugin::cli_process (664) Request [localfiles] unknown or missing client -- will echo as is...

  8. #28
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,298

    CLI interface limitations - workarounds?

    > Slim::Control::Request::new (1102) Request [localfiles
    > folder:G:\Library\Johnny Hodges - Master of Jazz]: no match in
    > dispatchDB!


    Oh... it should be "musicartistinfo localfiles folder:..."

    --

    Michael

  9. #29
    Thanks! Are there other CLI commands associated with thr plugin?

  10. #30
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,298

    CLI interface limitations - workarounds?

    > Thanks! Are there other CLI commands associated with thr plugin?

    Yes there are... but I don't have a summary of them, nor
    documentation... will try to come up with something in the next days.

    Basically lyrics, biography, albumreview, albumcovers, artistphoto(s),
    localfile. With different parameters... "artist:xyz", "album:abc" etc.
    should work where appropriate. More to be documented.

    --

    Michael

Posting Permissions

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