From f29272a853a62de4e6e3045a4101e86ec4bdbd03 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 19 Jun 2026 01:13:28 -0400 Subject: [PATCH] [music] Clean up dead code --- PROJECT.org | 4 ++-- vrobbler/apps/music/models.py | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/PROJECT.org b/PROJECT.org index 05874df..5f7e4cd 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [2/25] :vrobbler:project:personal: +* Backlog [3/25] :vrobbler:project:personal: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles: :PROPERTIES: :ID: 702462cf-d54b-48c6-8a7c-78b8de751deb @@ -604,7 +604,7 @@ independent of the email flow it was originally creatdd for ** TODO [#B] Is there way to create unique slugs for media instances :media_types: -** TODO [#C] =alt_names= feature for artists (commented out / dead code) :music:dead-code: +** DONE [#C] =alt_names= feature for artists (commented out / dead code) :music:dead-code: :PROPERTIES: :ID: e22060a2-5f7a-4f33-9056-309ecd27159c :END: diff --git a/vrobbler/apps/music/models.py b/vrobbler/apps/music/models.py index c77753d..87de551 100644 --- a/vrobbler/apps/music/models.py +++ b/vrobbler/apps/music/models.py @@ -236,19 +236,6 @@ class Artist(TimeStampedModel): ) artist.fix_metadata() - # TODO: See if this alt_names stuff actually works or causes hard to debug problems - # If we did find our artist, but the found name is slightly differnt, record that - # if artist and alt_name: - # if not artist.alt_names: - # artist.alt_names = alt_name - # else: - # artist.alt_names += f"\\{alt_name}" - # logger.info( - # f"Add alt_name {alt_name} to artist {artist}", - # extra={"alt_name": alt_name, "artist_id": artist.id}, - # ) - # artist.save(update_fields=["alt_names"]) - return artist