File: 0001-Remove-streamlink-version-check-on-startup.patch

package info (click to toggle)
streamlink 5.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,816 kB
  • sloc: python: 34,606; makefile: 142; sh: 97
file content (38 lines) | stat: -rw-r--r-- 1,275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Alexis Murzeau <amubtdx@gmail.com>
Date: Sun, 23 Apr 2017 15:54:58 +0200
Subject: Remove streamlink version check on startup

Forwarded: not-needed
Author: Stefan Breunig <stefan-debian@yrden.de>
Bug-Debian: https://bugs.debian.org/750502
---
 src/streamlink_cli/argparser.py | 2 +-
 src/streamlink_cli/main.py      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/streamlink_cli/argparser.py b/src/streamlink_cli/argparser.py
index 4fac550..87bc8ba 100644
--- a/src/streamlink_cli/argparser.py
+++ b/src/streamlink_cli/argparser.py
@@ -327,7 +327,7 @@ def build_parser():
         metavar="{yes,true,1,on,no,false,0,off}",
         default=False,
         help="""
-        Enable or disable the automatic check for a new version of Streamlink.
+        Unused, kept for compatibility reasons.
 
         Default is "no".
         """
diff --git a/src/streamlink_cli/main.py b/src/streamlink_cli/main.py
index b284f21..a7b65bd 100644
--- a/src/streamlink_cli/main.py
+++ b/src/streamlink_cli/main.py
@@ -949,7 +949,7 @@ def main():
 
     setup_signals()
 
-    if args.version_check or args.auto_version_check:
+    if args.version_check:
         try:
             check_version(force=args.version_check)
         except KeyboardInterrupt: