fix when loop goes over midnight, #91

This commit is contained in:
jb-alvarado 2021-03-24 15:11:49 +01:00
parent ac8890653e
commit 407e15452c

View File

@ -388,7 +388,7 @@ class GetSourceFromPlaylist:
if stdin_args.loop and self.node: if stdin_args.loop and self.node:
# when loop paramter is set and playlist node exists, # when loop paramter is set and playlist node exists,
# jump to playlist start and play again # jump to playlist start and play again
self.list_start = get_time('full_sec') self.list_start = self.last_time + 1
self.node = None self.node = None
messenger.info('Loop playlist') messenger.info('Loop playlist')