From 407e15452c6bc3beed44bd553a76756792150fe1 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Wed, 24 Mar 2021 15:11:49 +0100 Subject: [PATCH] fix when loop goes over midnight, #91 --- ffplayout/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplayout/playlist.py b/ffplayout/playlist.py index fb2faead..4a6550fc 100644 --- a/ffplayout/playlist.py +++ b/ffplayout/playlist.py @@ -388,7 +388,7 @@ class GetSourceFromPlaylist: if stdin_args.loop and self.node: # when loop paramter is set and playlist node exists, # jump to playlist start and play again - self.list_start = get_time('full_sec') + self.list_start = self.last_time + 1 self.node = None messenger.info('Loop playlist')