macpac

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • 30. Dezember 2019 at 17:13 #47858

    Thanks for your detailed description, rcalinjageman! Trying to follow it I already stumbled at step one. I use the max2play Raspian buster image for the Pi 4. Installing gmusicapi via the max2play web interface doesn’t work out:

    
    2019-12-30 16:11:03 squeezeboxserver_safe started.
    [19-12-30 16:11:05.5463] main::init (387) Starting Logitech Media Server (v7.9.2, 1576909043, Sat Dec 21 07:45:41 CET 2019) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [19-12-30 16:11:06.9329] Slim::bootstrap::tryModuleLoad (287) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load:
    Error -- py_eval raised an exception at /usr/lib/arm-linux-gnueabihf/perl5/5.28/Inline/Python.pm line 177.
    BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/Plugins/GoogleMusic/GoogleAPI.pm line 74.
    Compilation failed in require at /usr/share/squeezeboxserver/Plugins/GoogleMusic/Settings.pm line 20.
    BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/Plugins/GoogleMusic/Settings.pm line 20.
    Compilation failed in require at /usr/share/squeezeboxserver/Plugins/GoogleMusic/Plugin.pm line 24.
    BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/Plugins/GoogleMusic/Plugin.pm line 24.
    Compilation failed in require at (eval 895) line 1.
    BEGIN failed--compilation aborted at (eval 895) line 1.
    

    Any help on this?

    26. November 2019 at 14:35 #47603

    Nachtrag: [email protected] konnte nicht gestartet werden…

    
    pi@max2play:~ $ systemctl status [email protected]                                                                                                                    
       [email protected]
       Loaded: loaded (/etc/systemd/system/[email protected]; static)                                                                                                             
       Active: failed (Result: exit-code) since Di 2019-11-26 13:24:51 CET; 3min 37s ago
      Process: 534 ExecStart=/usr/share/usbmount/usbmount add (code=exited, status=1/FAILURE)
     Main PID: 534 (code=exited, status=1/FAILURE)                                                                                                                                
    24. Februar 2018 at 15:42 #34078

    Hello again,

    the problem was solved. Opposite to what the construction guide says, soldering (not just fixing) a header on the Raspberry Zero W seems to be required. I bought a Raspberry Zero WH instead and everything works fine now. 🙂

    Regards, macpac

    18. Februar 2018 at 21:11 #34042

    Hello Heiner, I tried another speaker. There is still no sound, just a cracking sound when connecting…

    13. Februar 2018 at 0:08 #33965

    Hello Heiner,

    meanwhile I found out the following: The speaker needs 5W and it works fine when being attached to my stereo’s amp. But what can I do now with my light configuration which hasn’t sufficient power? As I only need a mono signal on the speaker, would it help to use both channels to double the power? Any other idea?

    Regards, macpac

    5. Februar 2018 at 18:07 #33867

    Hi Heiner,

    well, I only use the Raspberry Pi Zero W model + MiniAmp as described in the guide. The recommendation there is to use 1.5-2.0 A. The speaker is only described as a ‚3″ full range driver‘ but according to the guide the 2A should be sufficient to power the Raspberry Pi Zero W model + MiniAmp + 2 speakers! I will test the speaker next with another amplifier…

    4. Februar 2018 at 23:14 #33840

    Hi Heiner,

    I tried your tips but as they still didn’t work out, I used the piCorePlayer. Here its’s the same problem.

    So, it must be a hardware problem with the speaker… As I understood, the speaker needs no extra power but only needs to be attached to the MiniAmp? MiniAmp + Raspberry Zero work with 5V, 2A.

    1. Februar 2018 at 23:31 #33793

    Hello Heiner,

    I tried this way before and only had a look at the MPD player to check whether the MiniAmp works. Anyway, I now followed your advice and chose the „simple airplay“ configuration. I then activated squeezelite and shairport in the Audioplayer menu and synchronized this player with my other one which runs on the same Raspberry Pi as the squeezebox server in the server’s menu. Shairtunes2 is not installed/activated. Still no sound. I switched the output channels‘ connection to the speaker but still no sound. What now?

    Herw’s the debugging info from the audioplayer menu:

    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.
     
    
    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC
     
    
    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4::
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d sysdefault:CARD=sndrpihifiberry
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    LMSIP=192.168.178.23
     
    
    #### SQUEEZELITE -l ####
    Output devices:
      null                           - Discard all samples (playback) or generate zero samples (capture)
      equal                         
      plugequal                      - Equalizer for plughw:0,0
      default:CARD=sndrpihifiberry   - snd_rpi_hifiberry_dac,  - Default Audio Device
      sysdefault:CARD=sndrpihifiberry - snd_rpi_hifiberry_dac,  - Default Audio Device
      dmix:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dac,  - Direct sample mixing device
      dsnoop:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dac,  - Direct sample snooping device
      hw:CARD=sndrpihifiberry,DEV=0  - snd_rpi_hifiberry_dac,  - Direct hardware device without any conversions
      plughw:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dac,  - Hardware device with all software conversions
    
     
    
    #### SHAIRPORT (SYNC) VERSION ####
    2.8.0-openssl-Avahi-ALSA-soxr
     
    
    #### OUTPUT SOUND DETAILS CARD 0 ####
    access: MMAP_INTERLEAVED
    format: S32_LE
    subformat: STD
    channels: 2
    rate: 44100 (44100/1)
    period_size: 882
    buffer_size: 3528
     
    
    #### OUTPUT SOUND DETAILS CARD 1 ####

    Greets, macpac

    1. Februar 2018 at 0:17 #33783

    Hi,

    I’m having the same problem using a Raspberry Pi Zero W + HiFiBerry MiniAmp. There’s no sound coming out of the attached speaker (Tivoli Dual Alarm). I chose „HiFiBerry Dac+ Light“ as the Hifi Berry driver and also configured the MPD player as stated above. MPD players says „problems setting volume“. I have no clue what to do next. Actually, I only want to use the hardware as a shairport player. If there is no support from your side, I will probably change to the piCorePlayer which is recommended in the original article on the HifiBerry site. Still, helpm is appreciated.

    Here’s the debug output:

    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.
     
    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC
     
    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4::
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d sysdefault:CARD=sndrpihifiberry
    USE_USB_DAC=0
    USE_EQUALIZER=1
    SYSTEM_USER=pi
    LMSIP=192.168.178.23
     
    #### SQUEEZELITE -l ####
    Output devices:
      null                           - Discard all samples (playback) or generate zero samples (capture)
      equal                         
      plugequal                      - Equalizer for plughw:0,0
      default:CARD=sndrpihifiberry   - snd_rpi_hifiberry_dac,  - Default Audio Device
      sysdefault:CARD=sndrpihifiberry - snd_rpi_hifiberry_dac,  - Default Audio Device
      dmix:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dac,  - Direct sample mixing device
      dsnoop:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dac,  - Direct sample snooping device
      hw:CARD=sndrpihifiberry,DEV=0  - snd_rpi_hifiberry_dac,  - Direct hardware device without any conversions
      plughw:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dac,  - Hardware device with all software conversions
    
     
    #### SHAIRPORT (SYNC) VERSION ####
    2.8.0-openssl-Avahi-ALSA-soxr
     
    #### OUTPUT SOUND DETAILS CARD 0 ####
    closed
     
    #### OUTPUT SOUND DETAILS CARD 1 ####

    Greets, macpac

    13. September 2017 at 20:44 #31314

    Es wäre in der Tat schön, wenn der automatische Reconnect bald in einem Update Berücksichtigung findet. Das WLAN muss ansonsten permanent aktiviert sein. Alternativ würde es eine step-by-step-Anleitung für Linux-Dummies auch tun…

    10. Oktober 2016 at 14:05 #23347

    Hello asplundj, what are these troubles you have with the jessie image? Do these concern LMS or Kodi? Or the max2play platform?

    10. Oktober 2016 at 14:02 #23346

    Hi asplundj, Thanks for the advice. So, I’ll give it a try, probably first on a second SD card like you did as I read in another post from you.

    8. Oktober 2016 at 13:13 #23319

    OK, then I’ll need to upgrade to a jessie image. What is the most convenient way to do this? How can I save my configurations and import them again later (Max2Play, LMS)?

    7. Oktober 2016 at 22:13 #23312

    Hello,

    I also have have a problem installing the GoogleMusic plugin. This is the log:

    |2016-10-07 22:03:08|
    Install Google Music as Plugin for Squeezebox Server
    Get:1 http://archive.mene.za.net wheezy Release.gpg [198 B]
    Hit http://raspberrypi.collabora.com wheezy Release.gpg
    Get:2 http://archive.mene.za.net wheezy Release [4445 B]
    Hit http://archive.raspberrypi.org wheezy Release.gpg
    Hit http://raspberrypi.collabora.com wheezy Release
    Hit http://archive.raspberrypi.org wheezy Release
    Hit http://mirrordirector.raspbian.org wheezy Release.gpg
    Hit http://mirrordirector.raspbian.org wheezy Release
    Get:3 http://archive.mene.za.net wheezy/contrib armhf Packages [15.1 kB]
    Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
    Hit http://archive.raspberrypi.org wheezy/main armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
    Ign http://archive.mene.za.net wheezy/contrib Translation-en
    Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
    Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
    Ign http://archive.raspberrypi.org wheezy/main Translation-en
    Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
    Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
    Fetched 19.8 kB in 11s (1757 B/s)
    Reading package lists...
    Reading package lists...
    Building dependency tree...
    Reading state information...
    python-dev is already the newest version.
    python-pip is already the newest version.
    The following packages were automatically installed and are no longer required:
    libmysqlclient16 libvncserver0 tcl tk x11vnc-data
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.kwargs = setup_cfg_to_setup_kwargs(config, script_args)
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
    AttributeError: 'module' object has no attribute 'evaluate_marker'
    error in setup command: Error parsing /var/www/max2play/public/build/mock/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
    Complete output from command python setup.py egg_info:
    ERROR:root:Error parsing
    
    Traceback (most recent call last):
    
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/core.py", line 111, in pbr
    
    attrs = util.cfg_to_args(path, dist.script_args)
    
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 248, in cfg_to_args
    
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
    
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
    
    AttributeError: 'module' object has no attribute 'evaluate_marker'
    
    error in setup command: Error parsing /var/www/max2play/public/build/mock/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
    
    ----------------------------------------
    Command python setup.py egg_info failed with error code 1 in /var/www/max2play/public/build/mock
    Storing complete log in /root/.pip/pip.log
    Going to read '/root/.cpan/Metadata'
    Database was generated on Fri, 07 Oct 2016 13:53:28 GMT
    App::cpanminus is up to date (1.7042).
    Inline is up to date. (0.80)
    Inline::Python is up to date. (0.50)
    /var/lib/squeezeboxserver/Plugins /var/www/max2play/public
    mkdir: cannot create directory 
    
    GoogleMusic: File exists
    /var/lib/squeezeboxserver/Plugins/GoogleMusic /var/lib/squeezeboxserver/Plugins /var/www/max2play/public
    fatal: destination path '.' already exists and is not an empty directory.
    Restarting squeezeboxserver.
    Finished installing Google Music Plugin
    
    GoogleMusic Plugin installed.
    Important: Now edit the settings of the Plugin within Squeezebox Server Settings, add your GoogleMusic credentials (including a mobile device ID!) and you are ready to go.

    Any help on this? 🙁

    • This reply was modified 8 years, 1 month ago by macpac.
    • This reply was modified 8 years, 1 month ago by macpac.
    4. Februar 2016 at 21:50 #18383

    Hi there,

    I also would appreciate to have an interface for installation and configuration for the BubbleUPnP server within Max2Play. I could try to set it up on my own with the help of a guide I found on the web, but in the end I’m still a linux noob… Maybe you can put this option in the next poll for additional features?

    Best regards
    Magnus

Viewing 15 posts - 1 through 15 (of 15 total)