add m3u radio station

Get help for Volumio here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

add m3u radio station

Postby mic1024 » Thu Jan 28 2016 12:05

I tried to add a new radio station which provides an m3u link. I have downloaded the m3u file and copied it to my WEBRADIO folder. When I try to start stream, volume stops immediately after a second.
I tried to find any log entries, but I am not sure how to activate the logs and where to search.

RadioStation: http://www.liferadio.at/streamplaylists/stream1.m3u
Volumio Release 1.55
Hardware: PI1

The mpd provides the following logs

Code: Select all
Jan 28 16:50 : client: [44] process command "load "WEBRADIO/MyAustria/LifeRadioM3U.m3u""
Jan 28 16:50 : client: [0] process command "playlistinfo "3""
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : curl: icy-metaint=16000
Jan 28 16:50 : decoder_thread: probing plugin mad
Jan 28 16:50 : mad: mp3 file header indicates too many frames: 75329117
Jan 28 16:50 : mad: input/Input does not appear to be a mp3 bit stream
Jan 28 16:50 : decoder_thread: probing plugin ffmpeg
Jan 28 16:50 : ffmpeg: detected input format 'mp3' (MPEG audio layer 2/3)
Jan 28 16:50 : ffmpeg/mp3: err{or,}_recognition separate: 1; 1
Jan 28 16:50 : ffmpeg/mp3: err{or,}_recognition combined: 1; 1
Jan 28 16:50 : icy_metadata: unknown icy-tag: 'StreamUrl'
Jan 28 16:50 : ffmpeg/mp3: Estimating duration from bitrate, this may be inaccurate
Jan 28 16:50 : ffmpeg/mp3: err{or,}_recognition separate: 1; 1
Jan 28 16:50 : ffmpeg/mp3: err{or,}_recognition combined: 1; 1
Jan 28 16:50 : decoder: audio_format=44100:16:2, seekable=false
Jan 28 16:50 : client: [0] process command "status"
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : client: [0] process command "currentsong"
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : client: [0] process command "playlistinfo "3""
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : alsa_output: opened hw:0,0 type=HW
Jan 28 16:50 : alsa_output: format=S16_LE (Signed 16 bit Little Endian)
Jan 28 16:50 : alsa_output: buffer: size=256..16384 time=5804..371520
Jan 28 16:50 : alsa_output: period: size=256..16384 time=5804..371520
Jan 28 16:50 : alsa_output: default period_time = buffer_time/4 = 371519/4 = 92879
Jan 28 16:50 : alsa_output: buffer_size=16384 period_size=4096
Jan 28 16:50 : output: opened plugin=alsa name="Output" audio_format=44100:16:2
Jan 28 16:50 : client: [47] process command "status"
Jan 28 16:50 : client: [47] command returned 0
Jan 28 16:50 : client: [47] process command "playlistinfo 2"
Jan 28 16:50 : client: [47] command returned 0
Jan 28 16:50 : client: [47] process command "close"
Jan 28 16:50 : client: [47] command returned 3
Jan 28 16:50 : client: [48] process command "status"
Jan 28 16:50 : client: [48] command returned 0
Jan 28 16:50 : ffmpeg/mp3: incomplete frame
Jan 28 16:50 : ffmpeg: decoding failed, frame skipped
Jan 28 16:50 : client: [48] process command "idle"
Jan 28 16:50 : client: [48] command returned 1
Jan 28 16:50 : client: [50] opened from 127.0.0.1:59608
Jan 28 16:50 : client: [50] closed
Jan 28 16:50 : client: [0] process command "status"
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : client: [0] process command "playlistinfo "3""
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : client: [0] process command "status"
Jan 28 16:50 : player: played "http://stream1.liferadio.at"
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : playlist: stop
Jan 28 16:50 : output: closed plugin=alsa name="Output"
Jan 28 16:50 : client: [0] process command "currentsong"
Jan 28 16:50 : client: [0] command returned 0
Jan 28 16:50 : client: [48] process command "status"
Jan 28 16:50 : client: [48] command returned 0

It seems to me that the volume mpc client closes the connection.
g
Random avatar
mic1024
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Thu Jan 28 2016 11:59

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


add m3u radio station

Postby oimulov » Sun Jan 31 2016 19:08

I can't play m3u-files too.
Now I open m3u-File in VLC-Mediaplayer (German Language), go to "Werkzeuge" - "Medieninformation" and copy the link shown in "Ort".
Then i place this link into a new pls-File and save it.
When done, i can play this File with volumio.

Why Volumio doesn't play most m3u-Files i've downloaded, i don't know.
Random avatar
oimulov
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Jan 24 2016 17:57
Location: Germany


add m3u radio station

Postby MobeyDuck » Mon Feb 01 2016 14:33

Volumio is picky with the line ending in m3u files.
The problem is that windows uses an other code for enter than Linux. But even when there made in Linux this problem sometimes shows.

I get my m3u files to work by ssh to volumio change to the correct folder and then
Code: Select all
 nano radio.m3u
and just paste the link (url) add additional enter's and save the file.
User avatar
MobeyDuck
Moderator
 
Posts: 482
Joined: Sun Jan 05 2014 20:28
Location: The Netherlands


add m3u radio station

Postby smoneck » Sun Oct 01 2017 14:52

I wrote a little script to convert .m3u to Volumio syntax and vice versa.

Have a look here: volumio2m3u and m3u2volumio
Random avatar
smoneck
Sunday DIYer
Sunday DIYer
 
Posts: 10
Joined: Sat Sep 30 2017 13:43


Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests