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

YouTube video can't resume after long pause #23

Closed
bw4518 opened this issue Sep 15, 2018 · 5 comments
Closed

YouTube video can't resume after long pause #23

bw4518 opened this issue Sep 15, 2018 · 5 comments

Comments

@bw4518
Copy link

bw4518 commented Sep 15, 2018

For some reason youtube-dl or mpc-hc won't reconnect and resume if I stop playback for some hours or so.

@clsid2
Copy link
Owner

clsid2 commented Sep 15, 2018

You could try to re-open the stream with Ctrl+E

It is also possible the the link expires after a while.

@bw4518
Copy link
Author

bw4518 commented Sep 15, 2018

Well sure I could re-open, but point mainly is, to successfully resume at paused position.

@clsid2
Copy link
Owner

clsid2 commented Sep 15, 2018

That is not something I can fix. You would have to report this issue to LAV Filters, which is the component that handles the streaming.

You could try with the internal HTTP source filter disabled. Then it will use source filter from Microsoft. That buffers the stream to a file (in temp internet files). Maybe that works better for your use case.

@Hrxn
Copy link

Hrxn commented Sep 16, 2018

It is also possible the the link expires after a while.

Yes, this is definitely the case.

@Vagmer
Copy link

Vagmer commented Sep 16, 2018

If CTRL-E does successfully work to reopen a stream/YouTube stream, then turning on "Remember File position" (in Options->Player under History) may do exactly what you want (successfully resume at paused position). It does make CTRL-E (Reopen File) restart from the current position in normal files.

...Okay, just confirmed it myself. Normally at least (without waiting for hours to expire) it works the same when streaming a YouTube link. It should work for your use case as well, hopefully (otherwise then maybe that is fixable)
Interestingly, the position doesn't seem to actually be saved for a YouTube stream if I play another file or stream, then open a previous one again. But as said it is saved if I reopen a currently playing one.

@clsid2 clsid2 closed this as completed Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants