[GH-ISSUE #537] The sound is not reproduced through the jack, but through the HDMI (raspotify) #345

Closed
opened 2026-02-27 19:30:08 +03:00 by kerem · 3 comments
Owner

Originally created by @MiguelDAD on GitHub (Nov 25, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/537

The sound is not reproduced through the jack, but through the HDMI,

https://pastebin.com/Exnt3WHZ

`

/etc/default/raspotify -- Arguments/configuration for librespot
Device name on Spotify Connect
#DEVICE_NAME="EspejoDAD"

Bitrate, one of 96 (low quality), 160 (default quality), or 320 (high quality)
#BITRATE="160"

Additional command line arguments for librespot can be set below.
See librespot -h for more info. Make sure whatever arguments you specify
aren't already covered by other variables in this file. (See the daemon's
config at /lib/systemd/system/raspotify.service for more technical details.)
To make your device visible on Spotify Connect across the Internet add your
username and password which can be set via "Set device password", on your
account settings, use --username and --password.
To choose a different output device (ie a USB audio dongle or HDMI audio out),
use --device with something like --device hw:0,1. Your mileage may vary.
OPTIONS="--device hw:0"

Uncomment to use a cache for downloaded audio files. Cache is disabled by
default. It's best to leave this as-is if you want to use it, since
permissions are properly set on the directory `/var/cache/raspotify'.
#CACHE_ARGS="--cache /var/cache/raspotify"

By default, the volume normalization is enabled, add alternative volume
arguments here if you'd like, but these should be fine.
#VOLUME_ARGS="--enable-volume-normalisation --linear-volume --initial-volume=10$

Backend could be set to pipe here, but it's for very advanced use cases of
librespot, so you shouldn't need to change this under normal circumstances.
#BACKEND_ARGS="--backend alsa"`
Thanksss :D

Originally created by @MiguelDAD on GitHub (Nov 25, 2020). Original GitHub issue: https://github.com/librespot-org/librespot/issues/537 The sound is not reproduced through the jack, but through the HDMI, https://pastebin.com/Exnt3WHZ ` /etc/default/raspotify -- Arguments/configuration for librespot Device name on Spotify Connect #DEVICE_NAME="EspejoDAD" Bitrate, one of 96 (low quality), 160 (default quality), or 320 (high quality) #BITRATE="160" Additional command line arguments for librespot can be set below. See librespot -h for more info. Make sure whatever arguments you specify aren't already covered by other variables in this file. (See the daemon's config at /lib/systemd/system/raspotify.service for more technical details.) To make your device visible on Spotify Connect across the Internet add your username and password which can be set via "Set device password", on your account settings, use --username and --password. To choose a different output device (ie a USB audio dongle or HDMI audio out), use --device with something like --device hw:0,1. Your mileage may vary. OPTIONS="--device hw:0" Uncomment to use a cache for downloaded audio files. Cache is disabled by default. It's best to leave this as-is if you want to use it, since permissions are properly set on the directory `/var/cache/raspotify'. #CACHE_ARGS="--cache /var/cache/raspotify" By default, the volume normalization is enabled, add alternative volume arguments here if you'd like, but these should be fine. #VOLUME_ARGS="--enable-volume-normalisation --linear-volume --initial-volume=10$ Backend could be set to pipe here, but it's for very advanced use cases of librespot, so you shouldn't need to change this under normal circumstances. #BACKEND_ARGS="--backend alsa"` Thanksss :D
kerem closed this issue 2026-02-27 19:30:08 +03:00
Author
Owner

@ashthespy commented on GitHub (Nov 25, 2020):

Please look at the wiki on how to set your output device..

<!-- gh-comment-id:733979805 --> @ashthespy commented on GitHub (Nov 25, 2020): Please look at the wiki on how to set your output device..
Author
Owner

@MiguelDAD commented on GitHub (Nov 26, 2020):

Please look at the wiki on how to set your output device..

I've searched but can't find it

<!-- gh-comment-id:734464598 --> @MiguelDAD commented on GitHub (Nov 26, 2020): > Please look at the wiki on how to set your output device.. I've searched but can't find it
Author
Owner

@ashthespy commented on GitHub (Nov 26, 2020):

librespot/wiki/Audio-Backends

<!-- gh-comment-id:734484063 --> @ashthespy commented on GitHub (Nov 26, 2020): [librespot/wiki/Audio-Backends](https://github.com/librespot-org/librespot/wiki/Audio-Backends#alsa)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#345
No description provided.