summaryrefslogtreecommitdiff
path: root/www/firedm/files/patch-firedm_video.py
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-03-03 01:35:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-03-03 01:35:34 +0000
commit0e39ef8679c9183fe6912f477e9d5f688d27fe1c (patch)
tree51693111c447e14ece01359bb2879efacff2e97c /www/firedm/files/patch-firedm_video.py
parentnet/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.py12
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)
+