mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 15:09:46 +08:00
fix(recommend): use album chart for music recommendations
This commit is contained in:
@@ -332,6 +332,7 @@ class RecommendChain(ChainBase, metaclass=Singleton):
|
||||
range_name="this_week",
|
||||
page=page or 1,
|
||||
count=count or 30,
|
||||
entity=MUSIC_ENTITY_ALBUM,
|
||||
)
|
||||
return [media.to_dict() for media in medias]
|
||||
|
||||
@@ -577,6 +578,7 @@ class RecommendChain(ChainBase, metaclass=Singleton):
|
||||
range_name="this_week",
|
||||
page=page or 1,
|
||||
count=count or 30,
|
||||
entity=MUSIC_ENTITY_ALBUM,
|
||||
)
|
||||
return [media.to_dict() for media in medias]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user