Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radio stream problem #448

Open
victor910 opened this Issue Jan 4, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@victor910
Copy link

commented Jan 4, 2019

Hi 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 https://forum.musicpd.org/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.

@MaxKellermann

This comment has been minimized.

Copy link
Member

commented Jan 4, 2019

This works very well for me. Can you do curl -o /dev/null http://62.80.190.246:8000/PRK128

@victor910

This comment has been minimized.

Copy link
Author

commented Jan 4, 2019

this working for me as well:
curl -o /dev/null http://62.80.190.246:8000/PRK128
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2634k 0 2634k 0 0 16333 0 --:--:-- 0:02:45 --:--:-- 15841

But not working under MPD.

@miccoli

This comment has been minimized.

Copy link
Contributor

commented Jan 13, 2019

just for reference: http://www.prosto.fm/files/Prosto128.m3u works for me

@victor910

This comment has been minimized.

Copy link
Author

commented Mar 12, 2019

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

@MaxKellermann

This comment has been minimized.

Copy link
Member

commented Mar 29, 2019

Configure MPD with -Dtest=true and build the program run_input. Then run this program:

strace -tttTfo /tmp/trace run_input http://...

Upload the file /tmp/trace and let me inspect it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.