audio: Reset the pipeline whenever we reach EOS
This fixes a bug where a different track would be selected when hitting "Play" after an autopause Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
parent
a85ac03517
commit
be7e8e6073
|
@ -32,7 +32,7 @@ class Player(bass.BassPlayer):
|
|||
|
||||
def do_eos(self):
|
||||
self.Autopause.decrement()
|
||||
self.change_track(self.playlist.next_track())
|
||||
self.change_track(self.playlist.next_track(), reset=True)
|
||||
self.playing = self.Autopause.keep_playing
|
||||
|
||||
def play(self): self.playing = True
|
||||
|
|
Loading…
Reference in New Issue