Home of the Squeezebox™ & Transporter® network music players.
Page 45 of 45 FirstFirst ... 35434445
Results 441 to 444 of 444
  1. #441
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,588
    /home/tc/sbpd-script.sh is correct for put in user commands.

    What happens when you run the script manually. I can see you have a path issue for the cfg file. You need to fix that first.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #442
    Junior Member
    Join Date
    Jan 2022
    Location
    Alès, France
    Posts
    5
    It's ok if I run the script manually
    Do you mean I have to move the cfg in the tc directory ?

    Edit: just moved it in the tc directory but still the same

    Edit2: it seems it's a permission problem, I need to sudo pigpiod again after a reboot to make the script work, I probably did something wrong in the process..
    I'll try again tomorrow
    Last edited by KillerJoe34; 2022-01-04 at 13:39.

  3. #443
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,588
    The user commands section of pCP will run with root permission, so no need for sudo in the script.

    Is the script named sbpd-script or sbpd-script.sh Make sure you are using the correct name in user commands.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  4. #444
    Junior Member
    Join Date
    Jan 2022
    Location
    Alès, France
    Posts
    5
    Yes, it's sbpd-script.sh

    I just added sudo pigpiod in the script and it works now strange

    Thank you Paul for your time and work !

    But... I'll be back

Posting Permissions

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