1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-04-02 11:05:08 +08:00

fix: 修复最近新增歌单问题

This commit is contained in:
涵曦
2024-12-04 16:46:19 +08:00
parent 4e2e3e1f74
commit b385bfab54

View File

@@ -647,7 +647,7 @@ class XiaoMusic:
# 最近新增(不包含网络歌单)
self.music_list["最近新增"] = sorted(
self.all_music.keys(),
key=lambda x: os.path.getctime(self.all_music[x]),
key=lambda x: os.path.getmtime(self.all_music[x]),
reverse=True,
)[: self.config.recently_added_playlist_len]