someone internet streams still have problem

Need help with MPD?
Post Reply
noone
Posts: 6
Joined: January 4th, 2019, 4:13 am

someone internet streams still have problem

Post by noone » January 4th, 2019, 4:22 am

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.

zxcvb2
Posts: 7
Joined: January 12th, 2019, 12:13 pm

Re: someone internet streams still have problem

Post by zxcvb2 » January 12th, 2019, 12:44 pm

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

zxcvb2
Posts: 7
Joined: January 12th, 2019, 12:13 pm

Re: someone internet streams still have problem

Post by zxcvb2 » January 12th, 2019, 12:47 pm

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)

noone
Posts: 6
Joined: January 4th, 2019, 4:13 am

Re: someone internet streams still have problem

Post by noone » February 6th, 2019, 12:02 am

not working for me,
what version curl,linux,mpd ... etc, do you have?

zxcvb2
Posts: 7
Joined: January 12th, 2019, 12:13 pm

Re: someone internet streams still have problem

Post by zxcvb2 » February 7th, 2019, 10:32 pm

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?

noone
Posts: 6
Joined: January 4th, 2019, 4:13 am

Re: someone internet streams still have problem

Post by noone » March 12th, 2019, 7:43 am

my version Debian
Distributor ID: Debian
Description: Debian GNU/Linux buster/sid
Release: stable-updates
Codename: sid

noone
Posts: 6
Joined: January 4th, 2019, 4:13 am

Re: someone internet streams still have problem

Post by noone » March 12th, 2019, 7:47 am

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???

skidoo
Posts: 176
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: someone internet streams still have problem

Post by skidoo » March 12th, 2019, 11:15 pm

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.

noone
Posts: 6
Joined: January 4th, 2019, 4:13 am

Re: someone internet streams still have problem

Post by noone » March 13th, 2019, 1:59 am

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.

noone
Posts: 6
Joined: January 4th, 2019, 4:13 am

Re: someone internet streams still have problem

Post by noone » March 13th, 2019, 2:56 am

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?

skidoo
Posts: 176
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: someone internet streams still have problem

Post by skidoo » March 15th, 2019, 3:35 pm

Just look at the docs: post mpd.conf and verbose MPD output.

Post Reply