Last active
April 24, 2017 15:09
-
-
Save mandrasch/cb368704a925efe90b1739f815a1121f to your computer and use it in GitHub Desktop.
Detektor FM & RaspberryPI
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
#EXTM3U | |
#EXTINF:-1,Fritz vom rbb live hören - www.fritz.de | |
http://rbb-mp3-fritz-m.akacast.akamaistream.net/7/799/292093/v1/gnl.akacast.akamaistream.net/rbb_mp3_fritz_m |
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
/etc/init.d/mpd start | |
# Not working | |
pi@raspberrypiradio:~ $ mpc clear | |
volume: n/a repeat: off random: off single: off consume: off | |
pi@raspberrypiradio:~ $ mpc load http://detektor.fm/detektor_fm-wort.m3u | |
loading: http://detektor.fm/detektor_fm-wort.m3u | |
pi@raspberrypiradio:~ $ mpc playlist | |
# keine Ausgabe, Log auf verbose sagt leider auch nichts | |
# Working - Fritz m3u | |
pi@raspberrypiradio:~ $ mpc clear | |
volume: n/a repeat: off random: off single: off consume: off | |
pi@raspberrypiradio:~ $ mpc load http://www.fritz.de/live.m3u | |
loading: http://www.fritz.de/live.m3u | |
pi@raspberrypiradio:~ $ mpc playlist | |
Fritz vom rbb live hören - www.fritz.de | |
pi@raspberrypiradio:~ $ mpc play 1 | |
Fritz vom rbb live hören - www.fritz.de | |
[playing] #1/1 0:00/0:00 (0%) | |
volume: n/a repeat: off random: off single: off consume: off | |
# installierte version: | |
pi@raspberrypiradio:~ $ dpkg -l | grep mpd | |
ii libmpdclient2 2.9-1 armhf client library for the Music Player Daemon | |
ii libmpdec2:armhf 2.4.1-1 armhf library for decimal floating point arithmetic (runtime library) | |
ii mpd 0.19.1-1.1 armhf Music Player Daemon |
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
#problem leere playlist lässt sich lösen, wenn EXTINf Infos ebenfalls in detektor.m3u eingepflegt werden | |
pi@raspberrypiradio:/var/lib/mpd/playlists $ wget http://detektor.fm/detektor_fm-wort.m3u | |
# bearbeiten, extinfo hinzufügen, in detektor.m3u umbennen | |
pi@raspberrypiradio:~ $ mpc load detektor | |
loading: detektor | |
pi@raspberrypiradio:~ $ mpc playlist | |
Detektor | |
pi@raspberrypiradio:~ $ mpc play 1 | |
# danach verbindungsabbruch nach wenigen sekunden stream, log gibt folgendes aus (log_level = verbose) | |
pi@raspberrypiradio:/var/lib/mpd/playlists $ tail -f /var/log/mpd/mpd.log | |
Apr 24 15:05 : mad: mp3 file header indicates too many frames: 75329118 | |
Apr 24 15:05 : mad: input/Input does not appear to be a mp3 bit stream | |
Apr 24 15:05 : ffmpeg/mp3: Estimating duration from bitrate, this may be inaccurate | |
Apr 24 15:05 : ffmpeg/mp3: incomplete frame | |
Apr 24 15:05 : ffmpeg: decoding failed, frame skipped | |
Apr 24 15:05 : output: Failed to open mixer for 'ALSA' | |
Apr 24 15:05 : player: played "http://detektor.fm/stream/mp3/wort/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment