ports/www/firedm/files/patch-firedm_video.py
Alexey Dokuchaev 0e39ef8679 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
2022-03-03 01:35:34 +00:00

13 lines
403 B
Python

--- 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)