Compare commits
3 commits
6b8ba34610
...
a862f5c5e3
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | a862f5c5e3 | ||
Geoffrey Frogeye | 79e5be6643 | ||
Geoffrey Frogeye | 0bb54e2455 |
|
@ -1 +0,0 @@
|
|||
/usr/share/mpv/scripts/mpv-thumbnail-script-client-osc.lua
|
|
@ -1 +0,0 @@
|
|||
/usr/share/mpv/scripts/mpv-thumbnail-script-server.lua
|
1
config/mpv/scripts/mpv_thumbnail_script_client_osc.lua
Symbolic link
1
config/mpv/scripts/mpv_thumbnail_script_client_osc.lua
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/share/mpv/scripts/mpv_thumbnail_script_client_osc.lua
|
1
config/mpv/scripts/mpv_thumbnail_script_server.lua
Symbolic link
1
config/mpv/scripts/mpv_thumbnail_script_server.lua
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/share/mpv/scripts/mpv_thumbnail_script_server.lua
|
|
@ -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