Răsfoiți Sursa

Use the 'rtmp_live' field for the live parameter of rtmpdump

Jaime Marquínez Ferrándiz 11 ani în urmă
părinte
comite
0ed05a1d2d
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 1 1
      youtube_dl/FileDownloader.py
  2. 2 2
      youtube_dl/extractor/cinemassacre.py

+ 1 - 1
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'):

+ 2 - 2
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',