Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,486

    autoplay when rpi is powered on

    The message you have entered is too short. Please lengthen your message to at least 1 characters.
    Last edited by DJanGo; 2018-04-15 at 16:02.

  2. #2
    Junior Member
    Join Date
    Feb 2017
    Posts
    1

    Excellent !

    Very well done! Simple and effective!

    I placed the script execution in rc.local right after the Audioplayer execution. For my RPi2 I found that I need to add a "sleep 30" command at the beginning of the script. Apparently during Squeezelite startup sequence the script will retrieve incorrect status, it believes that Squeezelite is allready on 'playing' status. Sleep command resolved this issue for me, but maybe there are other ways to solve it in a more elegant way...

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
  •