mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 04:07:26 +00:00
[mplayer] Rename to RTSP
This commit is contained in:
parent
b874495b1f
commit
a5ebf77d87
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
from .hls import HlsFD
|
from .hls import HlsFD
|
||||||
from .hls import NativeHlsFD
|
from .hls import NativeHlsFD
|
||||||
from .http import HttpFD
|
from .http import HttpFD
|
||||||
from .mplayer import MplayerFD
|
from .rtsp import RtspFD
|
||||||
from .rtmp import RtmpFD
|
from .rtmp import RtmpFD
|
||||||
|
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
|
@ -17,8 +17,8 @@
|
||||||
'rtmp': RtmpFD,
|
'rtmp': RtmpFD,
|
||||||
'm3u8_native': NativeHlsFD,
|
'm3u8_native': NativeHlsFD,
|
||||||
'm3u8': HlsFD,
|
'm3u8': HlsFD,
|
||||||
'mms': MplayerFD,
|
'mms': RtspFD,
|
||||||
'rtsp': MplayerFD,
|
'rtsp': RtspFD,
|
||||||
'f4m': F4mFD,
|
'f4m': F4mFD,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class MplayerFD(FileDownloader):
|
class RtspFD(FileDownloader):
|
||||||
def real_download(self, filename, info_dict):
|
def real_download(self, filename, info_dict):
|
||||||
url = info_dict['url']
|
url = info_dict['url']
|
||||||
self.report_destination(filename)
|
self.report_destination(filename)
|
Loading…
Reference in a new issue