refactor(music)!: make Song an ordinary Title on the generic path

Delete the dead grouped-download block, the planner, and the music service hooks; Song now flows through the one download loop, gets tagged via tag_file, and answers -w with {disc}x{track} keys.

BREAKING CHANGE: GROUP_AUDIO_DOWNLOADS, get_music_track_options and get_music_collection_label are gone. A music service returns one Audio track per quality and lets the framework choose.
This commit is contained in:
imSp4rky
2026-08-18 15:05:30 -06:00
parent a4a385e5aa
commit 68c7d95173
43 changed files with 1082 additions and 2132 deletions
-23
View File
@@ -1,8 +1,6 @@
from .display import MusicHeaderInfo, TrackRow, render_album_header, render_artwork_preview, render_track_panel
from .extract import (
build_music_from_songs,
classify_release_kind,
dedupe_track_options,
duration_seconds,
first_number,
first_text,
@@ -10,40 +8,19 @@ from .extract import (
format_names,
year_from_value,
)
from .hasher import file_md5
from .integrity import MusicAudioIntegrityError, MusicAudioIntegrityResult, verify_music_audio
from .manifest import write_music_manifest
from .models import MusicDiscPlan, MusicDownloadPlan, MusicSongPlan, MusicTrackOption
from .planner import MusicPlanner
from .renderer import MusicRenderer
from .tagger import MusicMetadataResult, write_music_metadata
__all__ = (
"MusicAudioIntegrityError",
"MusicAudioIntegrityResult",
"MusicDiscPlan",
"MusicDownloadPlan",
"MusicHeaderInfo",
"MusicMetadataResult",
"MusicPlanner",
"MusicRenderer",
"MusicSongPlan",
"MusicTrackOption",
"TrackRow",
"build_music_from_songs",
"classify_release_kind",
"dedupe_track_options",
"duration_seconds",
"file_md5",
"first_number",
"first_text",
"format_duration",
"format_names",
"render_album_header",
"render_artwork_preview",
"render_track_panel",
"verify_music_audio",
"write_music_manifest",
"write_music_metadata",
"year_from_value",
)