mirror of
https://github.com/vinefeeder/TwinVine.git
synced 2026-07-15 18:10:04 +02:00
pssh_display
This commit is contained in:
@@ -1252,7 +1252,7 @@ class dl:
|
||||
|
||||
if isinstance(drm, Widevine):
|
||||
with self.DRM_TABLE_LOCK:
|
||||
cek_tree = Tree(Text.assemble(("Widevine", "cyan"), (f"({drm.pssh.dumps()})", "text"), overflow="fold"))
|
||||
cek_tree = Tree(Text.assemble(("Widevine\n", "cyan"), (f"({drm.pssh.dumps()})", "text"), overflow=config.pssh_display))
|
||||
pre_existing_tree = next(
|
||||
(x for x in table.columns[0].cells if isinstance(x, Tree) and x.label == cek_tree.label), None
|
||||
)
|
||||
|
||||
@@ -92,6 +92,7 @@ class Config:
|
||||
self.update_check_interval: int = kwargs.get("update_check_interval", 24)
|
||||
self.scene_naming: bool = kwargs.get("scene_naming", True)
|
||||
self.series_year: bool = kwargs.get("series_year", True)
|
||||
self.pssh_display: str = kwargs.get("pssh_display") or "fold"
|
||||
|
||||
self.title_cache_time: int = kwargs.get("title_cache_time", 1800) # 30 minutes default
|
||||
self.title_cache_max_retention: int = kwargs.get("title_cache_max_retention", 86400) # 24 hours default
|
||||
|
||||
@@ -14,6 +14,9 @@ decryption: mp4decrypt
|
||||
scene_naming: false
|
||||
series_year: false
|
||||
|
||||
# Widevine pssh display; fold, crop or ellipsis
|
||||
pssh_display: ellipsis
|
||||
|
||||
# Login credentials for each Service
|
||||
credentials:
|
||||
ALL4: email:password
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# VineFeeder in TwinVine
|
||||
|
||||
** version 1.0.1**
|
||||
|
||||
**NOTE**
|
||||
*These are the full installation instructions if VineFeeder were to be installed as a stand-alone program.*
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "1.0.0"
|
||||
__version__ = "1.0.1"
|
||||
@@ -1,2 +1,2 @@
|
||||
BATCH_DOWNLOAD: true
|
||||
BATCH_DOWNLOAD: false
|
||||
TERMINAL_RESET: true
|
||||
|
||||
Reference in New Issue
Block a user