Posts by soeren

    Hi Anton,

    I found the cause of the problem and I would like to share my findings.
    I noticed that the Pi was listed under the Airplay/Blutooth devices in Spotify and not under the single playback devices. Once I disable Airplay in LE, the Pi wasn't listed anymore. And because of the limited Airplay support in Kodi I didn't here a sound.
    I saw that the Spotify web-connect plugin is also running a web server which is accessable under port 4000. On the web site I saw that I'm not logged in. I manually logged in and everything was working as expected. I double checked the addon settings and there was a spelling error in the user name
    Once I fixed the error, the addon starts working
    I know that this is a very stupid error but to prevent others to run into the same problem, maybe you can add a login check once entered the credentials.
    Thanks again for your great support and the hard work to get this addon working.

    Hey Anton,

    thanks so much for your support.
    I previously used the version from your google drive but today I've updated to the latest one from the repository.
    There is still no sound when playing via HDMI :(
    I used the wizard to configure alsa, I changed the initial volume, I tried different playback devices (via the wizard) and I changed the bit rate, all with no luck.
    Here is the output from journalctl:
    -- Logs begin at Wed 2016-06-22 17:58:21 CEST, end at Thu 2016-08-18 21:15:37 CEST. --
    Jun 22 17:58:24 LibreELEC systemd[1]: Started spotify-connect-web.
    Jun 22 17:58:25 LibreELEC sh[355]: Simple mixer control 'PCM',0
    Jun 22 17:58:25 LibreELEC sh[355]: Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Jun 22 17:58:25 LibreELEC sh[355]: Playback channels: Mono
    Jun 22 17:58:25 LibreELEC sh[355]: Limits: Playback -10239 - 400
    Jun 22 17:58:25 LibreELEC sh[355]: Mono: Playback -3855 [60%] [-38.55dB] [on]
    Jun 22 17:58:25 LibreELEC sh[355]: numid=3,iface=MIXER,name='PCM Playback Route'
    Jun 22 17:58:25 LibreELEC sh[355]: ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
    Jun 22 17:58:25 LibreELEC sh[355]: : values=2
    Aug 18 21:10:51 LibreELEC systemd[1]: Stopping spotify-connect-web...
    Aug 18 21:10:51 LibreELEC sh[355]: Loading Spotify library...
    Aug 18 21:10:51 LibreELEC sh[355]: min_volume_range: 0.0
    Aug 18 21:10:51 LibreELEC sh[355]: Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4
    Aug 18 21:10:51 LibreELEC sh[355]: SpInit: 0
    Aug 18 21:10:51 LibreELEC sh[355]: playback_volume: 39321
    Aug 18 21:10:51 LibreELEC sh[355]: corected_playback_volume: 60
    Aug 18 21:10:51 LibreELEC sh[355]: public key: xxx
    Aug 18 21:10:51 LibreELEC sh[355]: device id: xxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxxx
    Aug 18 21:10:51 LibreELEC sh[355]: remote name: LibreELEC
    Aug 18 21:10:51 LibreELEC sh[355]: account req: PREMIUM

    For me the corrected_playback_volume looks a little wired but I'm not the developer ;)
    I'm also wondering why the playback channel is set to "Mono"...
    I've also manually changed the numid value to 2 (HDMI). Could that cause the problem? That's what I did when setting up the plugin in "volumio".
    Any additional help would be appreciated.
    Thanks

    I just tested version101 of the addon on a Raspberry Pi2 running LE7, latest stable.
    The Pi is connected via HDMI with my Pioneer hifi receiver.
    The Spotify app on my iOS device is able to connect and play but with NO sound.
    If I run the Spotify Connect Server on volumio (volumio.com), everything is working as expected.
    Here is the log output from the addon, but the last entry is from June so I'm not sure if this is meaningful:

    # -- Logs begin at Wed 2016-06-22 17:58:21 CEST, end at Tue 2016-08-16 23:38:32 CEST. not found
    # Jun 22 17:58:24 LibreELEC systemd[1]: Started spotify-connect-web.
    # Jun 22 17:58:24 LibreELEC sh[350]: amixer: Control default open error: No such file or directory

    Amixer is installed and working:
    Simple mixer control 'PCM',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Playback channels: Mono
    Limits: Playback -10239 - 400
    Mono: Playback -2791 [70%] [-27.91dB] [on]

    The addon settings are following:
    The playback device is set to "default:card=alsa", mixer is set to "PCM", playback route is set to "HDMI".

    aplay -l produces following output:
    LibreELEC:~ # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
    Subdevices: 8/8
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    Subdevice #2: subdevice #2
    Subdevice #3: subdevice #3
    Subdevice #4: subdevice #4
    Subdevice #5: subdevice #5
    Subdevice #6: subdevice #6
    Subdevice #7: subdevice #7
    card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    And aplay -L this one:
    LibreELEC:~ # aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
    sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device

    Any ideas why I don't get it working while connected via HDMI?
    [hr]
    BTW: thanks for your great work