[bbc] preserve format_id backward compatibility
authorRemita Amine <remitamine@gmail.com>
Sun, 7 Aug 2016 10:14:15 +0000 (11:14 +0100)
committerRemita Amine <remitamine@gmail.com>
Sun, 7 Aug 2016 10:14:15 +0000 (11:14 +0100)
youtube_dl/extractor/bbc.py

index 7bc7b2ed6f955994855cdaa56495441b7c2f9179..b6c2408326808aa65d9bd9b5e35929179a17610e 100644 (file)
@@ -336,7 +336,7 @@ class BBCCoUkIE(InfoExtractor):
                         formats.extend(self._extract_f4m_formats(
                             href, programme_id, f4m_id=format_id, fatal=False))
                     else:
-                        if bitrate:
+                        if not service and not supplier and bitrate:
                             format_id += '-%d' %  bitrate
                         fmt = {
                             'format_id': format_id,