Update artists.py
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 6 Jul 2022 14:42:54 +0000 (16:42 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 6 Jul 2022 14:42:54 +0000 (16:42 +0200)
music_assistant/controllers/music/artists.py

index 59a65e7b020158f7bc4103a5e84aac55a4845291..be390e02cc91cf7ac1ebacaa5c247cdf5c5c5a3d 100644 (file)
@@ -183,7 +183,7 @@ class ArtistsController(MediaControllerBase[Artist]):
             match = {"musicbrainz_id": item.musicbrainz_id}
             cur_item = await self.mass.database.get_row(self.db_table, match)
         if not cur_item:
-            # fallback to matching
+            # fallback to exact name match
             # NOTE: we match an artist by name which could theoretically lead to collisions
             # but the chance is so small it is not worth the additional overhead of grabbing
             # the musicbrainz id upfront