Page 1 of 1

someone internet streams still have problem

Posted: January 4th, 2019, 4:22 am
by noone
Hi Max and everyone,


I have a problem with playing internet stream under MPD.
For example, I have two address streams,

https://somafm.com/groovesalad256.pls
http://www.prosto.fm/files/Prosto128.m3u

Both address playing under any OS if I use any type of browsers.

When I try to play the first stream under MPD, I have no error, MPD is
playing without any problem.

But the second link does not play at all.
I have this error in MPD log file:

Jan 03 17:24 : client: process command "playid "18""
Jan 03 17:24 : playlist: play 17:"http://62.80.190.246:8000/PRK128"
Jan 03 17:24 : exception: Failed to decode http://62.80.190.246:8000/PRK128
Jan 03 17:24 : exception: nested: CURL failed: Operation timed out
after 10009 milliseconds with 0 out of 0 bytes received
Jan 03 17:24 : player: played "http://62.80.190.246:8000/PRK128"
Jan 03 17:24 : exception: Failed to decode http://62.80.190.246:8000/PRK128
Jan 03 17:24 : exception: nested: CURL failed: Operation timed out
after 10009 milliseconds with 0 out of 0 bytes received
Jan 03 17:24 : client: command returned 2

I have a problem with playing another internet stream under MPD as
well, this "problem" link only for example.

This problem present for me more than 1 year, before everything was fine.
I have used different version MPD, no one version help me.
Right now I have used Debian with last version MPD 0.21.3
curl 7.62.0, Linux 4.9.30

I have to try "problem" links from this topic viewtopic.php?f=7&t=7315 and as well have the problem.
But you will say, try to update this will fixed problem, but look, he updated to 0.20.12, not to the last version.
I have skip 0.20.x and jump in from 0.19.X to 0.21.X.
Anyway, right now I have the last version, 0.21.3.

Re: someone internet streams still have problem

Posted: January 12th, 2019, 12:44 pm
by zxcvb2
i tried this out by saving the http://www.prosto.fm/files/Prosto128.m3u to the music folder my linux machine which has 0.19.1.0 but it wouldn't load the m3u
anyway, after playing around i figured out it won't load the file unless you add another line to the m3u file, so you can just edit the m3u file, hit enter (generating an empty second line) and then save it

Re: someone internet streams still have problem

Posted: January 12th, 2019, 12:47 pm
by zxcvb2
i downloaded http://www.prosto.fm/files/Prosto128.m3u and after playing around, figured out that mpd won't play it until you add a newline to the file
so if you just edit the m3u and hit enter and save it, it should work (it did for me)

Re: someone internet streams still have problem

Posted: February 6th, 2019, 12:02 am
by noone
not working for me,
what version curl,linux,mpd ... etc, do you have?

Re: someone internet streams still have problem

Posted: February 7th, 2019, 10:32 pm
by zxcvb2
i don't know curl, i'm on a version of crunchbang++ from a couple years ago based on debian 8, mpd 0.19.1.0

did you create the newline after the url?

Re: someone internet streams still have problem

Posted: March 12th, 2019, 7:43 am
by noone
my version Debian
Distributor ID: Debian
Description: Debian GNU/Linux buster/sid
Release: stable-updates
Codename: sid

Re: someone internet streams still have problem

Posted: March 12th, 2019, 7:47 am
by noone
I have a proposal, this problem for me present for more than 1 year.
I am ready to compile source code MPD on my system with "super MEGA incredible" parameters for debugging.
after this I will provide all detailed logs to this thread, maybe after this, we will found the problem?
what parameters I must use for compiling for enable very detailed logs???

Re: someone internet streams still have problem

Posted: March 12th, 2019, 11:15 pm
by skidoo
See https://www.musicpd.org/doc/html/user.h ... rting-bugs and https://www.musicpd.org/doc/html/user.html#mpd-crashes for relevant information. Good news: my MPD 0.22 from git on Debian testing plays Radio Prosto without any problems.

Re: someone internet streams still have problem

Posted: March 13th, 2019, 1:59 am
by noone
thanks for your answer.
one question more, this parameter do not apply for someone reason -Db_ndebug=false
b_ndebug always true
I use this command:
meson . output/release --buildtype=debug -Db_ndebug=false
parameter buildtype is correct.

Re: someone internet streams still have problem

Posted: March 13th, 2019, 2:56 am
by noone
ok, everything is fine, has been compiled with correct parameters.

but after I had run MPD under GDB with this command:
gdb --args mpd --stdout --no-daemon --verbose
run

I do not have someone additional information in output:

exception: Failed to decode http://62.80.190.246:8000/PRK128
exception: nested: CURL failed: Operation timed out after 10009 milliseconds with 0 out of 0 bytes received
player: played "http://62.80.190.246:8000/PRK128"
playlist: stop

this exact same useless information what I had before in MPD.log file.

what my next step?

Re: someone internet streams still have problem

Posted: March 15th, 2019, 3:35 pm
by skidoo
Just look at the docs: post mpd.conf and verbose MPD output.