Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member Paul_B's Avatar
    Join Date
    Dec 2005

    Smooth transition between playlists

    I am trying to use the CLI interface to send an audible and message alert to the Squeezebox. I am just wondering the smoothest way to do this?

    Currently I am:
    - Saving current songs as a temporary playlist
    - Querying for index in the song list and time through the song
    - Pausing the song
    - Increasing the volume by 50%
    - Playing a notify sound
    - Displaying a message
    - Returning Volume to original level
    - Reloading the temporary playlist
    - Starting to replay from the Index and Time I saved earlier

    The volume increase can cause problems because the current song hasn't yet paused. The notify sound sometimes doesn't get played, and the reloading of the playlist can take a second or so by which time the screensaver has kicked in.

    This is my first venture into using the CLI, so any pointers would be appreciated.

    Many thanks,

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Squeeze Server 7.9 on Windows 2012 R2
    SB3 x1, Squeezebox Boom x 1 (Deceased - 2018), Radio with (battery) x 1, Touch x 1, piCoreplayer (with HifiBerry DAC+ Pro) x 1
    RIP - dBpowerAMP R16 to FLAC
    ID3 Tags - MP3Tag v2.89 & Discogs
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~

  2. #2
    Senior Member
    Join Date
    Jun 2005

    For the timing issue, you could do a "listen 1" and look at the details reported by the server about what's going on. That could help. What would really help would be a way to overlay sounds, but there is no support in SlimServer for that, so none in the CLI.

    Otherwise, why don't you try inserting the alarm song into the playlist, then skip the current song to the alarm, then let it fly? OK you're not going back to your original song...



Posting Permissions

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