Browse Source

[bbc] preserve format_id backward compatibility

Remita Amine 9 years ago
parent
commit
f9622868e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/bbc.py

+ 1 - 1
youtube_dl/extractor/bbc.py

@@ -336,7 +336,7 @@ class BBCCoUkIE(InfoExtractor):
                         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,