Build improvements #60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "build-improvements"
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?
Title
Track video sources and add playlist analyzer
Summary
compute them during the build via a new
source-statsstepcmd/analyzeplaylistCLI that reports how playlist items flow through the filterpipeline (fetched → wrongDate / formatUnavailable / tooLarge / noCaptions / infoError /
accepted)
YouTubeServiceplaylist methods with aFilterCallbackso filter-stagereasons can be observed by callers
PlaylistSourceand aparse-playlistsstep that resolves channel names toplaylist IDs, so source labels use the channel name
@ChannelName:PlaylistIDformat(CBS News, NBC News, Fox News)
Test plan
go test ./...make builder-localproduces a manifest with a populatedsourcesarraygo run ./cmd/analyzeplaylistagainst a known playlist reports sensible filtercounts
marked the checklist item go test ./... as completed
marked the checklist item make builder-local produces a manifest with a populated sources array as completed
marked the checklist item go run ./cmd/analyzeplaylist against a known playlist reports sensible filter counts as completed
added 1 commit
a053ff65- add clean logs to build tasksCompare with previous version
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.