Compare commits

...

3 commits

Author SHA1 Message Date
Geoffrey Frogeye a862f5c5e3 Merge remote-tracking branch 'origin/master' 2022-04-02 20:54:25 +02:00
Geoffrey Frogeye 79e5be6643
mpv osc script fix for updates
Really, why...
2022-04-02 20:53:34 +02:00
Geoffrey Frogeye 0bb54e2455
rssVideos: Smol fixes 2022-04-02 20:53:06 +02:00
5 changed files with 5 additions and 4 deletions

View file

@ -1 +0,0 @@
/usr/share/mpv/scripts/mpv-thumbnail-script-client-osc.lua

View file

@ -1 +0,0 @@
/usr/share/mpv/scripts/mpv-thumbnail-script-server.lua

View file

@ -0,0 +1 @@
/usr/share/mpv/scripts/mpv_thumbnail_script_client_osc.lua

View file

@ -0,0 +1 @@
/usr/share/mpv/scripts/mpv_thumbnail_script_server.lua

View file

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