From 817479d807ca44cfb8fdfa12ca0dd41a001c8434 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 28 May 2026 17:20:44 -0300 Subject: [PATCH] Use uncensored names and add sort fields --- gamdl/interface/music_video.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gamdl/interface/music_video.py b/gamdl/interface/music_video.py index 5d77c87..ac9c6ad 100644 --- a/gamdl/interface/music_video.py +++ b/gamdl/interface/music_video.py @@ -127,7 +127,8 @@ class AppleMusicMusicVideoInterface: genre_id=int(itunes_page_metadata["genres"][0]["genreId"]), media_type=MediaType.MUSIC_VIDEO, storefront=self.base.itunes_api.storefront_id, - title=lookup_metadata[0]["trackCensoredName"], + title=lookup_metadata[0]["trackName"], + title_sort=lookup_metadata[0]["trackCensoredName"], title_id=int(metadata["id"]), rating=rating, ) @@ -139,7 +140,8 @@ class AppleMusicMusicVideoInterface: if not album: return tags - tags.album = lookup_metadata[1]["collectionCensoredName"] + tags.album = lookup_metadata[1]["collectionName"] + tags.album_sort = lookup_metadata[1]["collectionCensoredName"] tags.album_artist = lookup_metadata[1]["artistName"] tags.album_id = int(itunes_page_metadata["collectionId"]) tags.disc = lookup_metadata[0]["discNumber"]