Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,661
    Quote Originally Posted by Gobuleberbu View Post
    Allo boss

    And no, it's not being used by the board...
    It uses bcm 3 5 12 27 28 31 35 50

    And gpio 24 is at pin 18
    Hmm thats very strange then !

    Why not try Picoreplayer and see if it does the same then at least you'll know whether or not its Max2Play or something else

    Want a webapp ? Get SqueezeLite-X ! https://forums.slimdevices.com/showt...l=1#post903953

  2. #12
    Ok nailed it.

    At the end of the text box, which I could not see on my iPad, was the -C 5 flag, which was suppose to release the output after 5 seconds to allow shairport-sync to use ALSA.

    In the end, it really is a bug since the -C command should not trigger the amp power off, only the disconnection to ALSA.



    Thanks a lot for your help, your input really helped to see the problem under a new angle!! Have a great evening!


    EnvoyÚ de mon iPad en utilisant Tapatalk

  3. #13
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,223
    That is how it works, squeezelite/lms, Squeezelite does not get power button status, LMS tells it to play a stream or not, and to shutdown alsa when the power button is pushed.

    The -G option was Never intended/nor can it interface with shairport-sync. You will need to handle that interface separately with separate program.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  4. #14
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,661
    Quote Originally Posted by Gobuleberbu View Post
    Ok nailed it.

    At the end of the text box, which I could not see on my iPad, was the -C 5 flag, which was suppose to release the output after 5 seconds to allow shairport-sync to use ALSA.

    In the end, it really is a bug since the -C command should not trigger the amp power off, only the disconnection to ALSA.



    Thanks a lot for your help, your input really helped to see the problem under a new angle!! Have a great evening!


    EnvoyÚ de mon iPad en utilisant Tapatalk
    Glad you got it working !

    Want a webapp ? Get SqueezeLite-X ! https://forums.slimdevices.com/showt...l=1#post903953

  5. #15

    GPIO option missing ????

    Hello,

    I'm re-opening this thread, as I can't find anymore the -G flag
    I'm using DietPi as the OS.

    I have compiled squeezelite with these options only: -DRESAMPLE -DGPIO -DRPI
    It compiles and squeezelite is running, however I miss the -G option

    Here is the result of ./squeezelite -h
    Code:
    Squeezelite v1.9.9-1386, Copyright 2012-2015 Adrian Smith, 2015-2021 Ralph Irving. See -t for license terms
    Usage: ./squeezelite [options]
      -s <server>[:<port>]  Connect to specified server, otherwise uses autodiscovery to find server
      -o <output device>    Specify output device, default "default", - = output to stdout
      -l                    List output devices
      -a <b>:<p>:<f>:<m>    Specify ALSA params to open output device, b = buffer time in ms or size in bytes, p = period count or size in bytes, f sample format (16|24|24_3|32), m = use mmap (0|1)
      -a <f>                Specify sample format (16|24|32) of output file when using -o - to output samples to stdout (interleaved little endian only)
      -b <stream>:<output>  Specify internal Stream and Output buffer sizes in Kbytes
      -c <codec1>,<codec2>  Restrict codecs to those specified, otherwise load all available codecs; known codecs: flac,pcm,mp3,ogg,aac (mad,mpg for specific mp3 codec)
                            Codecs reported to LMS in order listed, allowing codec priority refinement.
      -C <timeout>          Close output device when idle after timeout seconds, default is to keep it open while player is 'on'
      -d <log>=<level>      Set logging level, logs: all|slimproto|stream|decode|output, level: info|debug|sdebug
      -e <codec1>,<codec2>  Explicitly exclude native support of one or more codecs; known codecs: flac,pcm,mp3,ogg,aac (mad,mpg for specific mp3 codec)
      -f <logfile>          Write debug to logfile
      -m <mac addr>         Set mac address, format: ab:cd:ef:12:34:56
      -M <modelname>        Set the squeezelite player model name sent to the server (default: SqueezeLite)
      -n <name>             Set the player name
      -N <filename>         Store player name in filename to allow server defined name changes to be shared between servers (not supported with -n)
      -W                    Read wave and aiff format from header, ignore server parameters
      -p <priority>         Set real time priority of output thread (1-99)
      -P <filename>         Store the process id (PID) in filename
      -r <rates>[:<delay>]  Sample rates supported, allows output to be off when squeezelite is started; rates = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional delay switching rates in ms
      -S <Power Script>     Absolute path to script to launch on power commands from LMS
      -R -u [params]        Resample, params = <recipe>:<flags>:<attenuation>:<precision>:<passband_end>:<stopband_start>:<phase_response>,
                             recipe = (v|h|m|l|q)(L|I|M)(s) [E|X], E = exception - resample only if native rate not supported, X = async - resample to max rate for device, otherwise to max sync rate
                             flags = num in hex,
                             attenuation = attenuation in dB to apply (default is -1db if not explicitly set),
                             precision = number of bits precision (NB. HQ = 20. VHQ = 28),
                             passband_end = number in percent (0dB pt. bandwidth to preserve. nyquist = 100%),
                             stopband_start = number in percent (Aliasing/imaging control. > passband_end),
                             phase_response = 0-100 (0 = minimum / 50 = linear / 100 = maximum)
      -O <mixer device>     Specify mixer device, defaults to 'output device'
      -L                    List volume controls for output device
      -U <control>          Unmute ALSA control and set to full volume (not supported with -V)
      -V <control>          Use ALSA control for volume adjustment, otherwise use software volume adjustment
      -X                    Use linear volume adjustments instead of in terms of dB (only for hardware volume control)
      -z                    Daemonize
      -Z <rate>             Report rate to server in helo as the maximum sample rate we can support
      -t                    License terms
      -?                    Display this help text
    
    Build options: LINUX ALSA EVENTFD RESAMPLE GPIO
    Any idea why it is not listed ?
    Thank you for your help.
    Jean

  6. #16

    OK, I made it again

    I made it again from the bgining, and it's ok now.
    Sorry for the confusion.
    Jean

Posting Permissions

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