Update comments, logging, and fix tick diff calculation

This commit is contained in:
√(noham)²
2025-12-20 13:01:30 +01:00
parent 31f87a6a99
commit 4f0b0a655a
4 changed files with 4 additions and 4 deletions

View File

@@ -123,8 +123,8 @@ In order to decrypt DRM content, you will need to have a dumped CDM, after that
- [x] CLI arguments implementation + documentation - [x] CLI arguments implementation + documentation
- [x] French/English full translation - [x] French/English full translation
- [ ] Better output system - [ ] Better output system
- [ ] Add more comments in the code - [x] Add more comments in the code
- [ ] Logging system - [x] Logging system
- [ ] Live direct restream support - [ ] Live direct restream support

0
download/.gitkeep Normal file
View File

View File

@@ -339,7 +339,7 @@ if __name__ == "__main__":
track_id_audio = audio_data["track_id"] track_id_audio = audio_data["track_id"]
start_tick_video = video_data["start_tick"] start_tick_video = video_data["start_tick"]
start_tick_audio = audio_data["start_tick"] start_tick_audio = audio_data["start_tick"]
diff_start = start_tick_video - start_tick_audio diff_start = start_tick_audio - start_tick_video
diff_start_sec = convert_ticks_to_sec(diff_start, TIMESCALE) diff_start_sec = convert_ticks_to_sec(diff_start, TIMESCALE)
# ffmpeg -i "concat:init.mp4|merged_dec.m4s" -c copy output.mp4 # ffmpeg -i "concat:init.mp4|merged_dec.m4s" -c copy output.mp4

View File

@@ -57,7 +57,7 @@ async def bruteforce(track_id, date):
total_requests = 288000 total_requests = 288000
batch_size = 20000 batch_size = 20000
logger.debug("Starting bruteforce for %s", track_id) logger.debug("Starting bruteforce for %s near %s", track_id, date)
start_time = time.time() start_time = time.time()