rssVideos: Smol fixes
This commit is contained in:
parent
224345c04d
commit
0bb54e2455
|
@ -322,7 +322,7 @@ class RVElement:
|
|||
self.clean_file(".", self.basename)
|
||||
|
||||
def clean(self) -> None:
|
||||
if self.is_video:
|
||||
if self.is_researched and self.is_video:
|
||||
self.undownload()
|
||||
log.info(f"Removing gone metadata: {self.sid}*")
|
||||
self.clean_file(self.parent.METADATA_FOLDER, self.sid)
|
||||
|
@ -473,7 +473,8 @@ class RVDatabase:
|
|||
@property
|
||||
def ytdl_opts(self) -> dict:
|
||||
# Get user/system options
|
||||
_, _, _, ydl_opts = yt_dlp.parse_options()
|
||||
_, _, _, ydl_opts = yt_dlp.parse_options([""])
|
||||
# Have to put a dummy option otherwise yt-dlp will use sys.argv
|
||||
return ydl_opts
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue