File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,21 @@ def ensure_first_value(single_field: str, list_field: str) -> None:
180180 if hasattr (m , "mb_albumartistids" ):
181181 ensure_first_value ("mb_albumartistid" , "mb_albumartistids" )
182182
183+ if hasattr (m , "artists_sort" ):
184+ ensure_first_value ("artist_sort" , "artists_sort" )
185+
186+ if hasattr (m , "artists_credit" ):
187+ ensure_first_value ("artist_credit" , "artists_credit" )
188+
189+ if hasattr (m , "albumartists_credit" ):
190+ ensure_first_value ("albumartist_credit" , "albumartists_credit" )
191+
192+ if hasattr (m , "artists" ):
193+ ensure_first_value ("artist" , "artists" )
194+
195+ if hasattr (m , "albumartists_sort" ):
196+ ensure_first_value ("albumartist_sort" , "albumartists_sort" )
197+
183198
184199def apply_item_metadata (item : Item , track_info : TrackInfo ):
185200 """Set an item's metadata from its matched TrackInfo object."""
You can’t perform that action at this time.
0 commit comments