Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Continuous stream from ampache to stdout #10514
Comments
|
Both does not work for me:
|
|
Yeah... That's because I had turned off the channel. And I replaced my domain with |
|
That is because your webserver simply does not respond to HEAD requests. Fix your server or use smaller timeout with |
|
I thought about it again. Why isn't socket timeout a default value? I mean why would you want your program to get stuck just because a server isn't reacting properly? |
|
@roba91 FYI: There's an option |
|
I knew about that option. However, I didn't know it has a default value. But is waiting for 10 minutes a reasonable default? I mean if the server can't make it to send back a response within the first , I don't know, about 10 seconds or so it will probably it will most probably don't send back a response at all. |
|
The value was changed from 20 seconds to 10 minutes as the original value was too short for some people (#1862). And in my experience some Chinese websites give no response within a minute, thanks to the Great FireWall. If you're sure your network is quite stable, you can put your favorite value in configuration files. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.08.31. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
My problem
I'm trying to open a stream (they call it channels) from my ampache server. If you do
This works great. But if I try to do it with youtube-dl like this
VLC opens but doesn't play the stream. The generic stream handler seems not to be able to open a simple stream. You can find the Output of
-vbelow. Nothing else comes after that output. youtube-dl just gets stuck.Now the most simple solution would be just to use curl. But it would be great if I could just use one program for all kind of input.
Output of
-vAdd
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):