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

Question: How to prevent file overwrite when stream is resumed? #16347

Closed
Mr-Jake opened this issue May 1, 2018 · 0 comments
Closed

Question: How to prevent file overwrite when stream is resumed? #16347

Mr-Jake opened this issue May 1, 2018 · 0 comments
Labels

Comments

@Mr-Jake
Copy link

@Mr-Jake Mr-Jake commented May 1, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.01. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.05.01

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I use youtube-dl to record live radio streams from the site TuneIn.com.

Sometimes there is a stream interruption and youtube-dl resumes recording the stream. However, when youtube-dl resumes the stream the file is overwritten and all the hours of content previously recorded is lost.

How can I stop youtube-dl from overwriting the file when it resumes? I looked at the -w parameter, but how do I get youtube-dl to start a new file when it resumes, for example "file(1).mp3", "file(2).mp3", "file(3).mp3

This is the batch file I currently use:

D:\youtube-dl.exe "http://tunein.com/embed/player/s28671/" -o "D:\Radio\file.mp3" 


@dstftw dstftw closed this in a93ce61 May 1, 2018
@dstftw dstftw added the fixed label May 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.