]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Use the 'rtmp_live' field for the live parameter of rtmpdump
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 10 Nov 2013 11:45:17 +0000 (12:45 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 10 Nov 2013 11:45:17 +0000 (12:45 +0100)
youtube_dl/FileDownloader.py
youtube_dl/extractor/cinemassacre.py

index 04784f602c254276b0ca88d48baeaa42813adbf8..d0b3dd8fb9dae7727dab597945836668a385b92a 100644 (file)
@@ -428,7 +428,7 @@ class FileDownloader(object):
                                                 info_dict.get('page_url', None),
                                                 info_dict.get('play_path', None),
                                                 info_dict.get('tc_url', None),
-                                                info_dict.get('live', False))
+                                                info_dict.get('rtmp_live', False))
 
         # Attempt to download using mplayer
         if url.startswith('mms') or url.startswith('rtsp'):
index d26f0f4345a09340983d5854b80104c9045e9361..f0d08cebfce87b006b339508f655eba95a4bc1ef 100644 (file)
@@ -65,7 +65,7 @@ class CinemassacreIE(InfoExtractor):
             {
                 'url': url,
                 'play_path': 'mp4:' + sd_file,
-                'live': True, # workaround
+                'rtmp_live': True, # workaround
                 'ext': 'flv',
                 'format': 'sd',
                 'format_id': 'sd',
@@ -73,7 +73,7 @@ class CinemassacreIE(InfoExtractor):
             {
                 'url': url,
                 'play_path': 'mp4:' + hd_file,
-                'live': True, # workaround
+                'rtmp_live': True, # workaround
                 'ext': 'flv',
                 'format': 'hd',
                 'format_id': 'hd',