Home of the Squeezebox™ & Transporter® network music players.
Page 145 of 145 FirstFirst ... 4595135143144145
Results 1,441 to 1,448 of 1448
  1. #1441
    Junior Member
    Join Date
    Apr 2017
    Posts
    2

    Change Shairport Settings

    I want to change the Shairport startup settings so it doesn't have the '-c Digital' option on startup.

    I can't find anywhere to configure this in the web menu, but I don't mind doing it manually in the filesystem.

    Can anyone tell me where I can change that option, and how I would back it up to the card to make it persistent afterwards?

    Cheers
    Jamie

  2. #1442
    Junior Member
    Join Date
    Apr 2017
    Posts
    1
    Hi, I have problem with picoreplayer and lms : When I have default setting in audio output (HDMI) Shairport-sync work fine (I use Airplay) and LMS work fine ( I play all my network musics). Bus I want use USB AUDIO on my raspberry, but in this case, Shairport-sync doesn't work fine (Airpay not appears) and I have difficult to play my network musics on LMS. Can you help me ? Thanks

  3. #1443
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    715
    FYI piCorePlayer 3.20 is out now and 3.x has been around for a long time - so you might want to try a new SD card with that and see if it resolves your problems as I doubt that pCP 2 will be getting significant attention.

  4. #1444
    Junior Member
    Join Date
    Jan 2017
    Location
    Germany
    Posts
    13
    Quote Originally Posted by jtudor View Post
    I want to change the Shairport startup settings so it doesn't have the '-c Digital' option on startup.

    I can't find anywhere to configure this in the web menu, but I don't mind doing it manually in the filesystem.

    Can anyone tell me where I can change that option, and how I would back it up to the card to make it persistent afterwards?

    Cheers
    Jamie
    Hi there,

    The startup script for shairport-sync is here:
    Code:
    /usr/local/etc/init.d/shairport-sync
    However, this is a link to a file coming from the archive, which is read-only and you cannot persist , not even change, unless you change the pcp-shairport...tcz archive, which you do not want.
    Assuming you are using a new version of piCorePlayer, (later than 3.10 I guess) you can do this via a config file. This is what worked for me with 3.20:

    - create a file called
    Code:
    /usr/local/etc/shairport-sync.conf
    This is where the shairport-sync config is pulled from, call shairport-sync -V , and check the ending of the output. Beware, the command line params have higher prio.
    - paste the content of the sample config in it, as here: https://gist.github.com/chapter09/a9...c0bb4e240f6f66
    - comment out all the settings except the section and the setting you want to set and the enclosing section name (remember, the command line will set the hostname and so on). Set the value as you want. Save and close the file
    - add a new line in /opt/.filetool.lst, containing the filename of the newly created file:
    Code:
    usr/local/etc/shairport-sync.conf
    Beware, the first slash must be ommited. This will ensure that your new config file will survive reboots
    - call
    Code:
    sudo filetool.sh -b
    to persist/backup the config
    - restart your Raspberry

    I hope this helps,

    Sergiu
    Last edited by bsergiu; 2017-05-04 at 00:27. Reason: Corrected path to startup script.

  5. #1445
    Junior Member
    Join Date
    Jan 2017
    Location
    Germany
    Posts
    13
    Quote Originally Posted by ralphy View Post
    Attached is 3.0.2 for pcp 2.x with metadata enabled and the helper binary.

    I don't have pcp 2.x installed to test the binaries. Let me know if they work and I'll update them on the download site for pcp 2.x.
    Ralphy, thanks agin for this. As you know from the other post, I moved already to 3.20 . Thanks again for an amazingly fast reaction!

    @jtudor: I guess you should try and give feedback.

    Sergiu

  6. #1446
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    610
    PLEASE Don't post in this thread, unless you are really using pCP 2.x

  7. #1447
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,708
    Quote Originally Posted by ralphy View Post
    Attached is 3.0.2 for pcp 2.x with metadata enabled and the helper binary.

    I don't have pcp 2.x installed to test the binaries. Let me know if they work and I'll update them on the download site for pcp 2.x.
    I have updated the shairport binary for pcp 2.x to 3.0.2. To update; disable and enable shairport in the webgui.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  8. #1448
    Junior Member
    Join Date
    Apr 2017
    Posts
    2
    Hi Sergiu

    Unfortunately this method doesn't work for me.

    The standard startup file is running this command:

    /usr/local/sbin/shairport-sync -a Squeeze2 -o alsa -S soxr -d -D -R -- -d hw:CARD=sndrpihifiberry -c Digital

    But the command I actually want it to run is:

    /usr/local/sbin/shairport-sync -a Squeeze2 -o alsa -S soxr -d -D -R -- -d hw:CARD=sndrpihifiberry

    So even if I change the mixer_control_name variable in the config file to something else (a null value, in this case), the hardcoded command line parameters are over-riding the config file - which is something you mention in your mail.

    Any ideas if I can over-ride or change the command line parameters?

    Cheers
    Jamie

Posting Permissions

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