fix(recommend): use album chart for music recommendations

This commit is contained in:
jxxghp
2026-08-24 22:31:34 +08:00
parent 3db6e803f3
commit 880a1064e2
2 changed files with 17 additions and 5 deletions
+2
View File
@@ -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]