Takashi Iwai
16bbb968c9
- Update to version 1.3.0: * twitch.tv shenanigans, see #2680; authenticating via --twitch-oauth-token has been disabled. * new plugins: albavision, news.now.com, twitcasting.tv, viu.tv, vlive.tv, willax.tv - Refresh env-script-interpreter.patch - Use the small tarball (without ffmpeg (etc.) Windows binaries). OBS-URL: https://build.opensuse.org/request/show/750721 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=10
100 lines
4.7 KiB
Diff
100 lines
4.7 KiB
Diff
diff -Nur streamlink-1.3.0/setup.py streamlink-1.3.0-patched/setup.py
|
|
--- streamlink-1.3.0/setup.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/setup.py 2019-11-25 11:41:26.593924349 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
import codecs
|
|
from os import environ, path
|
|
from sys import argv, path as sys_path
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/error.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/error.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/error.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/error.py 2019-11-25 11:56:47.532548405 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
|
|
class FLVError(Exception):
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/f4v.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/f4v.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/f4v.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/f4v.py 2019-11-25 11:56:09.220115065 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from .box import Box, RawPayload
|
|
from .compat import is_py2
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/flv.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/flv.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/flv.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/flv.py 2019-11-25 11:56:16.940202380 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from .error import FLVError
|
|
from .compat import is_py2
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/__init__.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/__init__.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/__init__.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/__init__.py 2019-11-25 11:53:59.698642690 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from .error import *
|
|
from .amf import *
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/packet.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/packet.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/packet.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/packet.py 2019-11-25 11:56:24.596288976 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
import struct
|
|
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/tag.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/tag.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/tag.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/tag.py 2019-11-25 11:56:32.888382761 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from ctypes import BigEndianStructure, Union, c_uint8
|
|
from io import BytesIO
|
|
diff -Nur streamlink-1.3.0/src/streamlink/packages/flashmedia/util.py streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/util.py
|
|
--- streamlink-1.3.0/src/streamlink/packages/flashmedia/util.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/packages/flashmedia/util.py 2019-11-25 11:56:40.160465019 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from .compat import bytes, is_py2, string_types
|
|
|
|
diff -Nur streamlink-1.3.0/src/streamlink/plugins/dash.py streamlink-1.3.0-patched/src/streamlink/plugins/dash.py
|
|
--- streamlink-1.3.0/src/streamlink/plugins/dash.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/plugins/dash.py 2019-11-25 11:56:00.236013443 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
import logging
|
|
|
|
import re
|
|
diff -Nur streamlink-1.3.0/src/streamlink/plugins/tv3cat.py streamlink-1.3.0-patched/src/streamlink/plugins/tv3cat.py
|
|
--- streamlink-1.3.0/src/streamlink/plugins/tv3cat.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/plugins/tv3cat.py 2019-11-25 11:55:48.407879646 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
import logging
|
|
import re
|
|
|
|
diff -Nur streamlink-1.3.0/src/streamlink/plugins/tvplayer.py streamlink-1.3.0-patched/src/streamlink/plugins/tvplayer.py
|
|
--- streamlink-1.3.0/src/streamlink/plugins/tvplayer.py 2019-11-22 07:18:53.000000000 +0100
|
|
+++ streamlink-1.3.0-patched/src/streamlink/plugins/tvplayer.py 2019-11-25 11:55:38.455767075 +0100
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
import re
|
|
|
|
from streamlink.plugin import Plugin, PluginArguments, PluginArgument
|