- Install liquidsoap from your distribution repo
apt-get install liquidsoap
- Save
mopidy.liq
- Open terminal and write
liquidsoap
then drag and drop mopidy.liq script to terminal and press ENTER - Open mopidy config file and change òutput line to
output= shout2send mount=input ip=127.0.0.1 port=8800 password=changeme
- Restart mopidy and open in any player URL
http://{IP address assigned to device}:8800/mopidy
-
-
Save sirhopcount/8c323cc747f3f0e8074f to your computer and use it in GitHub Desktop.
Gapless streaming for mopidy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/liquidsoap | |
set("log.file.path", "/dev/null") | |
set("log.stdout", true) | |
set("server.telnet", false) | |
set("harbor.bind_addr","0.0.0.0") | |
# tweak these values if you have lag, skipping, buffer underrun etc | |
# set("frame.duration",0.04) | |
# set("root.max_latency",60.) | |
live = mksafe(input.harbor(port=8800, password="changeme", "/input")) | |
output.dummy(fallible=true, live) | |
output.harbor(%mp3(bitrate=128), port=8800, mount="/mopidy", live) | |
# Add to mopidy audio section | |
# [audio] | |
# output= shout2send mount=input ip=127.0.0.1 port=8800 password=changeme | |
# Stream will be available at http://0.0.0.0:8800/mopidy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment