Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.01k stars 83 forks source link

Impossible to continue record 24/7 broadcast #159

Open on1razor opened 10 months ago

on1razor commented 10 months ago

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 commented 10 months ago

Nice, I'm dumb. Will fix.