mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #1266] audio_config: document radio track label keys and add counts-only checker (OLD-9979) #1298
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1298
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1266
Author: @IlyassRS3
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-9979-track-labels📝 Commits (1)
ac55444Document radio track label keys and count matches📊 Changes
3 files changed (+210 additions, -0 deletions)
View changed files
📝
docs/audio_config.md(+23 -0)➕
tests/test_track_labels.py(+99 -0)➕
tools/track_labels.py(+88 -0)📄 Description
What changed
Carries forward
old-pr/9979(draft #244, original commit by @Elijah-J) rebased cleanly onto currentmain(0b45fdc21), preserving the original author commit:docs/audio_config.md: document the marker-derived radio title/artist label keys (joaat("<N>s")andjoaat("<N>a")) and counts-only checker invocation.tools/track_labels.py: local counts-only checker reportingmarker_rows,distinct_numbers, and title/artistpresent/empty/absentcounts for extracted AWC banks against one string-table resource, emitting fixed path-free errors on invalid inputs.tests/test_track_labels.py: hand-built AWC bank and string-table fixture tests verifying aggregation, independence from stream-name hashes, and path-/sentinel-free error handling.Item ID
OLD-9979(carries forwardold-pr/9979/ draft #244, #17)Verification
Tested on macOS 27.2.1 (Apple M5 arm64), Python 3.14 (no game files, no GPU, standard library only):
python3 -I tests/test_track_labels.py -v-> 3/3 OKpython3 -I tests/test_tool_startup.py -v-> 2/2 OKpython3 -I tests/test_tool_stdout_encoding.py-> 4/4 OKtests/test_docs_*.pysuites -> all OKpython3 -I tests/test_ci_registration.py-> 15/15 OK (new test file selected by CI stdlib loop)python3 -I tests/test_text_write_line_endings.py-> 3/3 OKpython3 -m compileall -q tools/track_labels.py tests/test_track_labels.py-> OKpython3 -I scripts/check_no_game_data.py docs/audio_config.md tools/track_labels.py tests/test_track_labels.py-> OKChecklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.