[opencast] formatting code

This commit is contained in:
Daniel Vogt 2020-10-21 20:47:24 +02:00
parent 8508e6962e
commit 0eb21dcea3
1 changed files with 2 additions and 4 deletions

View File

@ -58,9 +58,7 @@ class OpencastBaseIE(InfoExtractor):
formats.extend(self._extract_mpd_formats(href, video_id, mpd_id='dash', fatal=False))
elif transport == 'HLS' or ext == 'm3u8':
formats.extend(
self._extract_m3u8_formats(
href, video_id, m3u8_id='hls', entry_protocol='m3u8_native', fatal=False
)
self._extract_m3u8_formats(href, video_id, m3u8_id='hls', entry_protocol='m3u8_native', fatal=False)
)
elif transport == 'HDS' or ext == 'f4m':
formats.extend(self._extract_f4m_formats(href, video_id, f4m_id='hds', fatal=False))
@ -80,7 +78,7 @@ class OpencastBaseIE(InfoExtractor):
'app': m_obj.group('app'),
'play_path': m_obj.group('playpath'),
'rtmp_live': True,
'preference': -2
'preference': -2,
}
)
extention = m_obj.group('playpath').split(':')