[mplayer] Rename to RTSP
authorSergey M․ <dstftw@gmail.com>
Sat, 25 Apr 2015 18:25:51 +0000 (00:25 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 25 Apr 2015 18:25:51 +0000 (00:25 +0600)
youtube_dl/downloader/__init__.py
youtube_dl/downloader/rtsp.py [moved from youtube_dl/downloader/mplayer.py with 97% similarity]

index 9fb66e2f7f680a71c05fdd866c72b0db2dd91a77..f110830c472eb451d77b48fa9337bd5feee55952 100644 (file)
@@ -6,7 +6,7 @@ from .f4m import F4mFD
 from .hls import HlsFD
 from .hls import NativeHlsFD
 from .http import HttpFD
-from .mplayer import MplayerFD
+from .rtsp import RtspFD
 from .rtmp import RtmpFD
 
 from ..utils import (
@@ -17,8 +17,8 @@ PROTOCOL_MAP = {
     'rtmp': RtmpFD,
     'm3u8_native': NativeHlsFD,
     'm3u8': HlsFD,
-    'mms': MplayerFD,
-    'rtsp': MplayerFD,
+    'mms': RtspFD,
+    'rtsp': RtspFD,
     'f4m': F4mFD,
 }
 
similarity index 97%
rename from youtube_dl/downloader/mplayer.py
rename to youtube_dl/downloader/rtsp.py
index 0cad5a1480ce8101749d9f679a972ae39270795d..3eb29526cbc90cb3351c75876698a1b238c07ef8 100644 (file)
@@ -10,7 +10,7 @@ from ..utils import (
 )
 
 
-class MplayerFD(FileDownloader):
+class RtspFD(FileDownloader):
     def real_download(self, filename, info_dict):
         url = info_dict['url']
         self.report_destination(filename)