Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peppy Meter with snapcast client (solved) #319

Open
karba78 opened this issue Feb 6, 2022 · 0 comments
Open

peppy Meter with snapcast client (solved) #319

karba78 opened this issue Feb 6, 2022 · 0 comments

Comments

@karba78
Copy link

karba78 commented Feb 6, 2022

Thank you Balbuze for the plugin, saved me hours of trial and error with peppymetter and peppyalsa
i am running volumio 3 with an IQAudio board
all local sources work perfectly and move the peppy metter needles. (files, radio) even spotify works fine
i can also play music from my snapcast server but this does not move the needles.
i suspect the snapclient daemon directly connects the incoming pipe to the DAC Hardware. see snap client conf below
Is there a way to have the snapcast stream connect to the same entrypoint as spotify
this way peppymetter would also receive the signal
copied also spod.conf
Many thank's

------------------------spopd.conf
[spop]
spotify_username = xxxxx
spotify_password = yyyyy
high_bitrate = true
refresh_token = undefined
audio_output = sox
pretty_json = true
search_results = 50
cache_path =/run/shm

[sox]
output_type = alsa
output_name = volumio

----------------------------------------------snapclient--------------

defaults file for snapclient

START_SNAPCLIENT=true
USER_OPTS="--user snapclient:audio"
SNAPCLIENT_OPTS=" -h 192.168.0.240 -s IQaudIODAC "

---------------------mpd.conf-----------------------

Volumio MPD Configuration File

Files and directories

music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd.log"
#pid_file "/var/run/mpd/pid"
#state_file "/var/lib/mpd/state"
#sticker_file "/var/lib/mpd/sticker.sql"
###############################################################################

General music daemon options

user "mpd"
group "audio"
bind_to_address "any"
#port "6600"
#log_level "default"
#save_absolute_paths_in_playlists "no"
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
auto_update "no"
#auto_update_depth "3"
###############################################################################

Symbolic link behavior

follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
###############################################################################

Input

input {
plugin "curl"

proxy "proxy.isp.com:8080"

proxy_user "user"

proxy_password "password"

}
###############################################################################

Decoder

decoder {
plugin "faad"
enabled "no"
}
###############################################################################

Audio Output

resampler {
plugin "soxr"
quality "high"
threads "1"
}
audio_output {
type "alsa"
name "alsa"
device "volumio"
dop "no"
}

audio_output {
type "fifo"
enabled "no"
name "multiroom"
path "/tmp/snapfifo"
format "44100:16:2"
}

#replaygain "album"
#replaygain_preamp "0"
volume_normalization "no"
###############################################################################

MPD Internal Buffering

audio_buffer_size "2048"
###############################################################################

Resource Limitations

#connection_timeout "60"
max_connections "20"
max_playlist_length "81920"
max_command_list_size "81920"
max_output_buffer_size "81920"
###############################################################################

Character Encoding

filesystem_charset "UTF-8"
###############################################################################

@karba78 karba78 changed the title peppy better with snapcast client peppy Meter with snapcast client Feb 6, 2022
@karba78 karba78 changed the title peppy Meter with snapcast client peppy Meter with snapcast client (solved) Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant