diff options
| author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-10 12:45:17 +0100 | 
|---|---|---|
| committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-10 12:45:17 +0100 | 
| commit | 0ed05a1d2db2335168497eb26b8588f2ee0039d7 (patch) | |
| tree | f65757c87afeaa711f89260a5db0b3a80665941e | |
| parent | 1008bebaded30e0c1dcce33300fa4096331aec4b (diff) | |
 Use the 'rtmp_live'  field for the live parameter of rtmpdump
| -rw-r--r-- | youtube_dl/FileDownloader.py | 2 | ||||
| -rw-r--r-- | youtube_dl/extractor/cinemassacre.py | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 04784f602..d0b3dd8fb 100644 --- a/youtube_dl/FileDownloader.py +++ b/youtube_dl/FileDownloader.py @@ -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'): diff --git a/youtube_dl/extractor/cinemassacre.py b/youtube_dl/extractor/cinemassacre.py index d26f0f434..f0d08cebf 100644 --- a/youtube_dl/extractor/cinemassacre.py +++ b/youtube_dl/extractor/cinemassacre.py @@ -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',  | 
