From 482667e203a5ebe7273f3c6d3a649305b8dd223a Mon Sep 17 00:00:00 2001 From: 3l3m3nt Date: Wed, 8 Jul 2026 13:09:43 +1200 Subject: [PATCH] [dispatchwrapparr]: Bump version to 1.7.6 --- plugins/dispatchwrapparr/dashdrm.py | 2 +- plugins/dispatchwrapparr/dispatchwrapparr.py | 16 ++++++---------- plugins/dispatchwrapparr/hlsdrm.py | 2 +- plugins/dispatchwrapparr/plugin.json | 2 +- plugins/dispatchwrapparr/plugin.py | 2 +- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/plugins/dispatchwrapparr/dashdrm.py b/plugins/dispatchwrapparr/dashdrm.py index 907edb5..631a565 100644 --- a/plugins/dispatchwrapparr/dashdrm.py +++ b/plugins/dispatchwrapparr/dashdrm.py @@ -19,7 +19,7 @@ log = logging.getLogger(__name__) -__version__ = "1.7.5" +__version__ = "1.7.6" ''' DASHDRM plugin for Dispatchwrapparr & Streamlink diff --git a/plugins/dispatchwrapparr/dispatchwrapparr.py b/plugins/dispatchwrapparr/dispatchwrapparr.py index 1f03bb8..8c98ea8 100755 --- a/plugins/dispatchwrapparr/dispatchwrapparr.py +++ b/plugins/dispatchwrapparr/dispatchwrapparr.py @@ -30,7 +30,7 @@ from streamlink.stream.stream import Stream from streamlink.options import Options -__version__ = "1.7.5" +__version__ = "1.7.6" def parse_args(): # Initial wrapper arguments @@ -116,7 +116,7 @@ class PlayRadio: the case of available metadata, displays song information for use on TV's. """ - def __init__(self, url, ffmpeg, ffmpeg_loglevel, headers, cookies, stream_type=None, resolution="854x480", fps=25, acodec="aac", vcodec="libx264", fontsize=22, update_interval=5): + def __init__(self, url, ffmpeg, ffmpeg_loglevel, headers, cookies, stream_type=None, resolution="854x480", fps=25, acodec="eac3", vcodec="libx264", fontsize=22, update_interval=5): self.url = url self.stream_type = stream_type self.ffmpeg = ffmpeg @@ -158,13 +158,8 @@ def open(self): cmd.extend(["-cookies", cookie_str]) cmd.extend([ - "-re", # read at native rate - "-readrate_initial_burst", "20", # initial burst of 20 seconds for fast startup "-i", self.url, "-f", "lavfi", - "-re", # read at native rate - "-readrate_initial_burst", "20", # initial burst of 20 seconds for fast startup - "-copyts", "-start_at_zero", # copy timestamps but start them at zero so it syncs with audio stream "-i", f"color=size={self.resolution}:rate={self.fps}:color=black" ]) @@ -178,11 +173,13 @@ def open(self): cmd.extend([ "-c:v", self.vcodec, "-c:a", self.acodec, - "-af", "loudnorm=I=-18:LRA=11:TP=-2:linear=true", + "-af", "loudnorm=I=-16", + "-copyts", "-start_at_zero", # copy timestamps but start them at zero so it syncs with audio stream - move to output option "-f", "mpegts", "pipe:1", ]) + self.process = subprocess.Popen( cmd, stdout=subprocess.PIPE, @@ -629,7 +626,7 @@ def check_stream_variant(stream, session=None): codecs = selected_playlist.stream_info.codecs or [] log.debug(f"Stream Codecs: {codecs}") # Check for audio/video presence - has_video = any(c.startswith(("avc", "hev", "vp")) for c in codecs) + has_video = any(c.startswith(("avc", "hev", "hvc", "vp")) for c in codecs) has_audio = any(c.startswith(("mp4a", "aac")) for c in codecs) if has_audio and not has_video: @@ -739,7 +736,6 @@ def check_stream_variant(stream, session=None): return stream - def main(): # Set log as global var global log diff --git a/plugins/dispatchwrapparr/hlsdrm.py b/plugins/dispatchwrapparr/hlsdrm.py index ce977db..0593f5c 100644 --- a/plugins/dispatchwrapparr/hlsdrm.py +++ b/plugins/dispatchwrapparr/hlsdrm.py @@ -15,7 +15,7 @@ log = logging.getLogger(__name__) -__version__ = "1.7.5" +__version__ = "1.7.6" ''' HLSDRM plugin for Dispatchwrapparr & Streamlink diff --git a/plugins/dispatchwrapparr/plugin.json b/plugins/dispatchwrapparr/plugin.json index f638de9..1b11a4d 100644 --- a/plugins/dispatchwrapparr/plugin.json +++ b/plugins/dispatchwrapparr/plugin.json @@ -1,6 +1,6 @@ { "name": "Dispatchwrapparr", - "version": "1.7.5", + "version": "1.7.6", "description": "An intelligent DRM/Clearkey capable stream profile for Dispatcharr", "author": "jordandalley", "maintainers": ["michaelmurfy"], diff --git a/plugins/dispatchwrapparr/plugin.py b/plugins/dispatchwrapparr/plugin.py index cf2d99d..693b851 100644 --- a/plugins/dispatchwrapparr/plugin.py +++ b/plugins/dispatchwrapparr/plugin.py @@ -10,7 +10,7 @@ class Plugin: name = "Dispatchwrapparr" - version = "1.7.5" + version = "1.7.6" description = "An intelligent DRM/Clearkey capable stream profile for Dispatcharr" profile_name = "Dispatchwrapparr" # Directory where dispatchwrapparr will be copied to