develop #14

Merged
itdominator merged 28 commits from develop into master 2025-12-28 04:37:29 +00:00
1272 changed files with 61500 additions and 45582 deletions
Showing only changes of commit 6a3bfbeb13 - Show all commits

View File

@@ -38,6 +38,7 @@ class IconController(Icon):
self.BASE_THUMBS_PTH = f"{USER_HOME}/.thumbnails"
self.ABS_THUMBS_PTH = f"{self.BASE_THUMBS_PTH}/normal"
self.STEAM_ICONS_PTH = f"{self.BASE_THUMBS_PTH}/steam_icons"
self.STEAM_CDN_URL = ""
if not path.isdir(self.BASE_THUMBS_PTH):
os.mkdir(self.BASE_THUMBS_PTH)
@@ -60,6 +61,7 @@ class IconController(Icon):
self.container_icon_wh = config["container_icon_wh"]
self.video_icon_wh = config["video_icon_wh"]
self.sys_icon_wh = config["sys_icon_wh"]
self.STEAM_CDN_URL = config["steam_cdn_url"]
# Filters
filters = settings["filters"]

View File

@@ -14,7 +14,7 @@ class VideoIconMixin:
proc = subprocess.Popen([self.FFMPG_THUMBNLR, "-t", scrub_percent, "-s", "300", "-c", "jpg", "-i", full_path, "-o", hash_img_path])
proc.wait()
except Exception as e:
logger.info(repr(e))
logger.info(e)
self.ffprobe_generate_video_thumbnail(full_path, hash_img_path)

View File

@@ -117,8 +117,8 @@ class Plugin(PluginBase):
uri = self._fm_state.uris[0]
path = self._fm_state.tab.get_current_directory()
parts = uri.split("/")
path_exists,
img_hash,
path_exists, \
img_hash, \
hash_img_pth = self._event_system.emit_and_await("get-thumbnail-hash", (uri,))
if not path_exists: