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

Impossible to continue record 24/7 broadcast #159

Open
on1razor opened this issue Sep 7, 2023 · 1 comment
Open

Impossible to continue record 24/7 broadcast #159

on1razor opened this issue Sep 7, 2023 · 1 comment

Comments

@on1razor
Copy link

on1razor commented Sep 7, 2023

Continuing a live stream recording that runs 24/7 is impossible because ytarchive starts counting fragment numbers from 1, and if the broadcast has been running for a long time, incorrect fragment numbers are written to the .state file, i.e, if ytarchive records 95,000 fragments to the .state file, but in reality, the broadcast has already transmitted 4,126,857 fragments.
To fix this, ytarchive should calculate the fragment number not from 1 but take the fragment number from the first downloaded fragment from the broadcast. This will synchronize the numbers and allow to continue recording the 24/7 broadcast after a break

Thanks the hard work and for this the best yt recording program out there

@Kethsar
Copy link
Owner

Kethsar commented Sep 7, 2023

Nice, I'm dumb. Will fix.

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

2 participants