diff options
| author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2022-03-03 01:35:34 +0000 |
|---|---|---|
| committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2022-03-03 01:35:34 +0000 |
| commit | 0e39ef8679c9183fe6912f477e9d5f688d27fe1c (patch) | |
| tree | 51693111c447e14ece01359bb2879efacff2e97c /www/firedm/files/patch-firedm_video.py | |
| parent | net/pkt-gen: Not for arch i386 (diff) | |
www/firedm: new port had been added (+)
FireDM is an open-source, multi-connection, graphical download manager
for YouTube and other streaming websites. Developed in Python using
Tkinter, libcurl, and yt-dlp (youtube_dl).
WWW: https://github.com/firedm/FireDM
Diffstat (limited to 'www/firedm/files/patch-firedm_video.py')
| -rw-r--r-- | www/firedm/files/patch-firedm_video.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/firedm/files/patch-firedm_video.py b/www/firedm/files/patch-firedm_video.py new file mode 100644 index 000000000000..132002bd244d --- /dev/null +++ b/www/firedm/files/patch-firedm_video.py @@ -0,0 +1,12 @@ +--- firedm/video.py.orig 2022-02-05 14:10:51 UTC ++++ firedm/video.py +@@ -733,6 +733,9 @@ def load_extractor_engines(reload=False): + + load_user_extractors(engine=yt_dlp) + ++ # XXX: assume we always have youtube-dl -> yt-dlp symlink ++ import sys ++ sys.path.append('/usr/local/bin/youtube-dl') + run_thread(import_youtube_dl, daemon=True) + run_thread(import_yt_dlp, daemon=True) + |
