no new playlist in loop mode
This commit is contained in:
parent
7eaf771d8a
commit
bcee11d98f
@ -21,8 +21,8 @@ from datetime import datetime, timedelta
|
|||||||
|
|
||||||
from .filters.default import build_filtergraph
|
from .filters.default import build_filtergraph
|
||||||
from .utils import (MediaProbe, _playlist, gen_filler, get_date, get_delta,
|
from .utils import (MediaProbe, _playlist, gen_filler, get_date, get_delta,
|
||||||
get_float, get_time, messenger, read_playlist,
|
get_float, get_time, messenger, read_playlist, stdin_args,
|
||||||
stdin_args, timed_source)
|
timed_source)
|
||||||
|
|
||||||
|
|
||||||
class GetSourceFromPlaylist:
|
class GetSourceFromPlaylist:
|
||||||
@ -181,7 +181,6 @@ class GetSourceFromPlaylist:
|
|||||||
self.begin += self.out - self.seek
|
self.begin += self.out - self.seek
|
||||||
else:
|
else:
|
||||||
if stdin_args.loop:
|
if stdin_args.loop:
|
||||||
self.check_for_next_playlist()
|
|
||||||
self.init_time = self.last_time + 1
|
self.init_time = self.last_time + 1
|
||||||
self.src_cmd = None
|
self.src_cmd = None
|
||||||
elif not _playlist.length and not stdin_args.loop:
|
elif not _playlist.length and not stdin_args.loop:
|
||||||
|
Loading…
Reference in New Issue
Block a user