[bbc] preserve format_id backward compatibility

This commit is contained in:
Remita Amine 2016-08-07 11:14:15 +01:00
parent 37768f9242
commit f9622868e7

View File

@ -336,7 +336,7 @@ def _process_media_selector(self, media_selection, programme_id):
formats.extend(self._extract_f4m_formats( formats.extend(self._extract_f4m_formats(
href, programme_id, f4m_id=format_id, fatal=False)) href, programme_id, f4m_id=format_id, fatal=False))
else: else:
if bitrate: if not service and not supplier and bitrate:
format_id += '-%d' % bitrate format_id += '-%d' % bitrate
fmt = { fmt = {
'format_id': format_id, 'format_id': format_id,