File tree Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -36,34 +36,20 @@ def find_metadata_source_plugins() -> list[MetadataSourcePlugin]:
3636
3737@notify_info_yielded ("albuminfo_received" )
3838def candidates (
39- items : Sequence [Item ],
40- artist : str ,
41- album : str ,
42- va_likely : bool ,
39+ items : Sequence [Item ], artist : str , album : str , va_likely : bool
4340) -> Iterable [AlbumInfo ]:
4441 """Return matching album candidates from all metadata source plugins."""
4542 for plugin in find_metadata_source_plugins ():
4643 yield from plugin .candidates (
47- items = items ,
48- artist = artist ,
49- album = album ,
50- va_likely = va_likely ,
44+ items = items , artist = artist , album = album , va_likely = va_likely
5145 )
5246
5347
5448@notify_info_yielded ("trackinfo_received" )
55- def item_candidates (
56- item : Item ,
57- artist : str ,
58- title : str ,
59- ) -> Iterable [TrackInfo ]:
49+ def item_candidates (item : Item , artist : str , title : str ) -> Iterable [TrackInfo ]:
6050 """Return matching track candidates from all metadata source plugins."""
6151 for plugin in find_metadata_source_plugins ():
62- yield from plugin .item_candidates (
63- item = item ,
64- artist = artist ,
65- title = title ,
66- )
52+ yield from plugin .item_candidates (item = item , artist = artist , title = title )
6753
6854
6955def album_for_id (_id : str ) -> AlbumInfo | None :
You can’t perform that action at this time.
0 commit comments