Skip to content

Commit d04e83a

Browse files
committed
BUGFIXES:
- Music: music not playing for some users
1 parent 69753e6 commit d04e83a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/music/radios/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def playlist(self, playlist: str) -> None:
8282
""", (self.server.name, self.name, playlist))
8383
self._playlist = playlist
8484
self.songs = self._read_playlist()
85+
self.idx = 0 if (self._mode == Mode.REPEAT or not len(self.songs)) else randrange(len(self.songs))
8586

8687
@property
8788
def config(self) -> dict:

0 commit comments

Comments
 (0)