Skip to content

Commit

Permalink
播放列表歌曲前打乱顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Jun 15, 2024
1 parent 15ee6c4 commit ac23080
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xiaomusic/xiaomusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ async def play_music_list(self, **kwargs):
return
self._play_list = self._music_list[list_name]
self._cur_play_list = list_name
random.shuffle(self._play_list)
self.log.info(f"开始播放列表{list_name}")

music_name = ""
Expand Down

0 comments on commit ac23080

Please sign in to comment.