Skip to content

Commit

Permalink
feat #23, #24: launch librespot-java with custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
markferry committed Nov 19, 2023
1 parent 9faed2a commit 89cba3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/snapserver.template
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ source = pipe:///tmp/mopidy.{{name}}?name={{name}}&sampleformat=48000:16:2&codec
# {{name}}
source = pipe:///tmp/mopidy.{{name}}?name=- {{name}} iris&sampleformat=48000:16:2&codec=flac
source = airplay:///shairport-sync?name=- {{name}} airplay&devicename={{Name}}&port={{airplay.port}}&params=--configfile={{path.config_root}}/shairport-sync.{{name}}.conf
source = librespot:///librespot?name=- {{name}} spotify&devicename={{Name}}&bitrate=160&volume=50&onevent={{path.config_root}}/{{spotify.event}}%20{{name}}&params=--zeroconf-port%20{{spotify.zeroconf}}
source = process://{{path.java}}?name=- {{name}} spotify&log_stderr=true&sampleformat=44100:16:2&params=-jar%20{{spotify.jar}}%20--conf-file={{path.config_root}}/librespot.{{name}}.toml

source = meta:///{{#announcer_streams}}{{.}}/{{/announcer_streams}}{{#streams}}- {{name}} {{.}}/{{/streams}}{{#other_streams}}{{.}}/{{/other_streams}}?name={{Name}}

Expand All @@ -157,7 +157,7 @@ source = meta:///{{#announcer_streams}}{{.}}/{{/announcer_streams}}{{#streams}}-
# {{Name}}
source = pipe:///tmp/mopidy.{{name}}?name=- {{name}} iris&sampleformat=48000:16:2&codec=flac
source = airplay:///shairport-sync?name=- {{name}} airplay&devicename={{Name}}&port={{airplay.port}}&params=--configfile={{path.config_root}}/shairport-sync.{{name}}.conf
source = librespot:///librespot?name=- {{name}} spotify&devicename={{Name}}&bitrate=160&volume=50&onevent={{path.config_root}}/{{spotify.event}}%20{{name}}&params=--zeroconf-port%20{{spotify.zeroconf}}
source = process://{{path.java}}?name=- {{name}} spotify&log_stderr=true&sampleformat=44100:16:2&params=-jar%20{{spotify.jar}}%20--conf-file={{path.config_root}}/librespot.{{name}}.toml

source = meta:///{{#announcer_streams}}{{.}}/{{/announcer_streams}}{{#streams}}- {{name}} {{.}}/{{/streams}}?name={{Name}}

Expand Down

0 comments on commit 89cba3d

Please sign in to comment.