[dctp] follow id conventions
authorPaul Hartmann <phaaurlt@gmail.com>
Thu, 29 Jan 2015 22:34:56 +0000 (23:34 +0100)
committerPaul Hartmann <phaaurlt@gmail.com>
Thu, 29 Jan 2015 22:34:56 +0000 (23:34 +0100)
youtube_dl/extractor/dctp.py

index 31bcd35c3ebf2a147a4701d8783a0beacc140347..752cff978ad5bff3475fe7cfd07038605699f881 100644 (file)
@@ -37,12 +37,13 @@ class DctpTvIE(InfoExtractor):
         url = servers_json[0]['endpoint']
 
         return {
-            'id': video_id,
+            'id': object_id,
             'title': title,
             'format': 'rtmp',
             'url': url,
             'play_path': play_path,
             'real_time': True,
-            'ext': 'flv'
+            'ext': 'flv',
+            'display_id': video_id
         }