Compare commits

..

No commits in common. "1a8d1db86c2cd265d8d41cd50549661e687589a3" and "a862f5c5e30461efee778cd4a5a4776b18ccfe78" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View file

@ -4,7 +4,7 @@ Programs used to download sutff off the internet
wget
curl
rsync
yt-dlp
youtube-dl
megatools
transmission-cli
{% if display_server %}

View file

@ -20,7 +20,6 @@ import re
import subprocess
import time
import typing
import sys
import coloredlogs
import configargparse
@ -474,10 +473,8 @@ class RVDatabase:
@property
def ytdl_opts(self) -> dict:
# Get user/system options
prev_argv = sys.argv
sys.argv = ['yt-dlp']
_, _, _, ydl_opts = yt_dlp.parse_options()
sys.argv = prev_argv
_, _, _, ydl_opts = yt_dlp.parse_options([""])
# Have to put a dummy option otherwise yt-dlp will use sys.argv
return ydl_opts
@property