]> jfr.im git - yt-dlp.git/commitdiff
[cleanup] Misc fixes
authorpukkandan <redacted>
Tue, 21 Jun 2022 22:17:41 +0000 (03:47 +0530)
committerpukkandan <redacted>
Tue, 21 Jun 2022 22:17:41 +0000 (03:47 +0530)
README.md
yt_dlp/downloader/common.py
yt_dlp/downloader/fragment.py

index bace8a2ebe18535984ebc44825777f2d5851f2a3..1d51dca352f595c9082925ac3f6e9f66c4a73618 100644 (file)
--- a/README.md
+++ b/README.md
@@ -302,8 +302,8 @@ #### Deprecated
 
 * [**avconv** and **avprobe**](https://www.libav.org) - Now **deprecated** alternative to ffmpeg. License [depends on the build](https://libav.org/legal)
 * [**sponskrub**](https://github.com/faissaloo/SponSkrub) - For using the now **deprecated** [sponskrub options](#sponskrub-options). Licensed under [GPLv3+](https://github.com/faissaloo/SponSkrub/blob/master/LICENCE.md)
-* [**rtmpdump**](http://rtmpdump.mplayerhq.hu) - For downloading `rtmp` streams. ffmpeg will be used as a fallback. Licensed under [GPLv2+](http://rtmpdump.mplayerhq.hu)
-* [**mplayer**](http://mplayerhq.hu/design7/info.html) or [**mpv**](https://mpv.io) - For downloading `rstp` streams. ffmpeg will be used as a fallback. Licensed under [GPLv2+](https://github.com/mpv-player/mpv/blob/master/Copyright)
+* [**rtmpdump**](http://rtmpdump.mplayerhq.hu) - For downloading `rtmp` streams. ffmpeg can be used instead with `--downloader ffmpeg`. Licensed under [GPLv2+](http://rtmpdump.mplayerhq.hu)
+* [**mplayer**](http://mplayerhq.hu/design7/info.html) or [**mpv**](https://mpv.io) - For downloading `rstp`/`mms` streams. ffmpeg can be used instead with `--downloader ffmpeg`. Licensed under [GPLv2+](https://github.com/mpv-player/mpv/blob/master/Copyright)
 
 To use or redistribute the dependencies, you must agree to their respective licensing terms.
 
index b559e7caebba2d86c057b634882b785cc7e89fac..3a0a014ef772a2d3f098d5f883c1d9711300e2d3 100644 (file)
@@ -108,7 +108,7 @@ def to_screen(self, *args, **kargs):
 
     @classproperty
     def FD_NAME(cls):
-        return re.sub(r'(?<!^)(?=[A-Z])', '_', cls.__name__[:-2]).lower()
+        return re.sub(r'(?<=[a-z])(?=[A-Z])', '_', cls.__name__[:-2]).lower()
 
     @staticmethod
     def format_seconds(seconds):
index 79161b8092d32f8e09adef2c1396ecd2a5f63e50..7c27f6cdf25bb078eac748f78dddf9a03b1bdb58 100644 (file)
@@ -23,7 +23,7 @@ class HttpQuietDownloader(HttpFD):
     def to_screen(self, *args, **kargs):
         pass
 
-    console_title = to_screen
+    to_console_title = to_screen
 
 
 class FragmentFD(FileDownloader):