feat(src/app.rs): add function to compute playlist segment size based on file size #30
wandabastyle
commented 2026-04-30 13:10:38 +02:00
(Migrated from github.com)
- Added `compute_playlist_segment_size` function to dynamically calculate playlist segment sizes based on file size.
- Targeted 900 segments with a minimum of 2MB and maximum of 32MB segment sizes.
- Implemented rounding to ensure segment sizes are in multiples of 1MB.
- Updated `play_recording_playlist` to use the new `compute_playlist_segment_size` function instead of a fixed segment size.
- Added \`compute_playlist_segment_size\` function to dynamically calculate playlist segment sizes based on file size.
- Targeted 900 segments with a minimum of 2MB and maximum of 32MB segment sizes.
- Implemented rounding to ensure segment sizes are in multiples of 1MB.
- Updated \`play_recording_playlist\` to use the new \`compute_playlist_segment_size\` function instead of a fixed segment size.
No reviewers
Labels
No labels
bug
codex
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
wandabastyle/twitch_relay!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pvr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?