we have to check a list, not a string

This commit is contained in:
jb-alvarado 2020-07-02 22:20:15 +02:00
parent ae2aa44901
commit 957b7c5ac7

View File

@ -12,7 +12,7 @@ from ffplayout.utils import (_ff, _log, _playlist, _playout,
def clean_ts(): def clean_ts():
playlists = re.findall(r'[/\w.]+m3u8', _playout.hls_output) playlists = [p for p in _playout.hls_output if 'm3u8' in p]
for playlist in playlists: for playlist in playlists:
test_num = 0 test_num = 0