Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Mar 2014
    Posts
    191

    Add title / album by ID

    Hi

    I create a plugin for my home automation system that use the CLI.

    I've got some command that add title or album by name but I dont find a way to add title by ID ?

    If some music have the same name, I dpn't want to have them by name.

    Thanks for your help.

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

    Add title / album by ID

    > I've got some command that add title or album by name but I dont find a
    > way to add title by ID ?


    playlistcontrol cmdlay album_id:123

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Mar 2014
    Posts
    191
    Thank a lot !

    Do you have the same thing to insert on the next play ?

    I tried
    Code:
    "playlist","insert","track_id:1592"
    but it doesn't work

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

    Add title / album by ID

    Please try the documentation. It's included in your LMS.

    What would you consider the adding equivalent to the command I gave?

    playlistcontrol cmdlay album_id:123

    Search "play", replace with "insert" might work ;-)

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Mar 2014
    Posts
    191
    Thank a lot, it seems to work but my LMS crash right after

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,746

    Add title / album by ID

    > Thank a lot, it seems to work but my LMS crash right after

    Any last words in the server.log file?

    --

    Michael

  7. #7
    Senior Member
    Join Date
    Mar 2014
    Posts
    191
    Yes I've got this and I'm force to reboot to have a working LMS :

    [17-02-12 10:15:46.0565] Slim::Utils::Misc::msg (1244) Warning: [10:15:46.0564] Perl interpreter failed at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Utils/GDResizer.pm line 165.

Posting Permissions

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