fix: 修复最近新增歌单问题
This commit is contained in:
parent
4e2e3e1f74
commit
b385bfab54
@ -647,7 +647,7 @@ class XiaoMusic:
|
|||||||
# 最近新增(不包含网络歌单)
|
# 最近新增(不包含网络歌单)
|
||||||
self.music_list["最近新增"] = sorted(
|
self.music_list["最近新增"] = sorted(
|
||||||
self.all_music.keys(),
|
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,
|
reverse=True,
|
||||||
)[: self.config.recently_added_playlist_len]
|
)[: self.config.recently_added_playlist_len]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user