aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/bbc.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-07 11:14:15 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-07 11:14:15 +0100
commitf9622868e722a1863de257c7f3cbc3076eea6e83 (patch)
treeb1673d6f3c653da21ecb78fb00e29ec9d2cbaa4e /youtube_dl/extractor/bbc.py
parent37768f92422c2cf61a961dbaf54d61dabd364506 (diff)
[bbc] preserve format_id backward compatibility
Diffstat (limited to 'youtube_dl/extractor/bbc.py')
-rw-r--r--youtube_dl/extractor/bbc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index 7bc7b2ed6..b6c240832 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -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,