From 16bbb968c90c82d79b637b0845daf971b0d52e9df65bdb4a5bda13074fe8b202 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 27 Nov 2019 09:36:32 +0000 Subject: [PATCH] Accepting request 750721 from home:simonpuchert:branches:multimedia:apps - 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 --- env-script-interpreter.patch | 102 ++++++++++++----------------------- streamlink-1.2.0.tar.gz | 3 -- streamlink-1.3.0.tar.gz | 3 ++ streamlink.changes | 11 ++++ streamlink.spec | 2 +- 5 files changed, 48 insertions(+), 73 deletions(-) delete mode 100644 streamlink-1.2.0.tar.gz create mode 100644 streamlink-1.3.0.tar.gz diff --git a/env-script-interpreter.patch b/env-script-interpreter.patch index acdffd8..5aaa523 100644 --- a/env-script-interpreter.patch +++ b/env-script-interpreter.patch @@ -1,132 +1,96 @@ -diff -Nur streamlink-1.1.1/docs/conf.py streamlink-1.1.1-patched/docs/conf.py ---- streamlink-1.1.1/docs/conf.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/docs/conf.py 2019-04-11 22:39:18.623031000 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python3 -+#!/usr/bin/python3 - # -*- coding: utf-8 -*- - - import os -diff -Nur streamlink-1.1.1/examples/gst-player.py streamlink-1.1.1-patched/examples/gst-player.py ---- streamlink-1.1.1/examples/gst-player.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/examples/gst-player.py 2019-04-11 22:38:39.482620126 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python3 - - from __future__ import print_function - -diff -Nur streamlink-1.1.1/examples/opencv-face.py streamlink-1.1.1-patched/examples/opencv-face.py ---- streamlink-1.1.1/examples/opencv-face.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/examples/opencv-face.py 2019-04-11 22:38:33.290555139 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python3 -+#!/usr/bin/python3 - import logging - import sys - import streamlink -diff -Nur streamlink-1.1.1/script/github_releases.py streamlink-1.1.1-patched/script/github_releases.py ---- streamlink-1.1.1/script/github_releases.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/script/github_releases.py 2019-04-11 22:38:47.690706278 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python3 - import argparse - import logging - import re -diff -Nur streamlink-1.1.1/setup.py streamlink-1.1.1-patched/setup.py ---- streamlink-1.1.1/setup.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/setup.py 2019-04-11 22:38:20.634422322 +0200 +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.1.1/src/streamlink/packages/flashmedia/error.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/error.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/error.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/error.py 2019-04-11 22:39:06.322901865 +0200 +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.1.1/src/streamlink/packages/flashmedia/f4v.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/f4v.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/f4v.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/f4v.py 2019-04-11 22:39:00.578841564 +0200 +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.1.1/src/streamlink/packages/flashmedia/flv.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/flv.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/flv.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/flv.py 2019-04-11 22:38:54.026772785 +0200 +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.1.1/src/streamlink/packages/flashmedia/__init__.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/__init__.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/__init__.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/__init__.py 2019-04-11 22:39:25.883107228 +0200 +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.1.1/src/streamlink/packages/flashmedia/packet.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/packet.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/packet.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/packet.py 2019-04-11 22:38:26.898488057 +0200 +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.1.1/src/streamlink/packages/flashmedia/tag.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/tag.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/tag.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/tag.py 2019-04-11 22:37:41.630013107 +0200 +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.1.1/src/streamlink/packages/flashmedia/util.py streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/util.py ---- streamlink-1.1.1/src/streamlink/packages/flashmedia/util.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/packages/flashmedia/util.py 2019-04-11 22:37:20.297789373 +0200 +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.1.1/src/streamlink/plugins/dash.py streamlink-1.1.1-patched/src/streamlink/plugins/dash.py ---- streamlink-1.1.1/src/streamlink/plugins/dash.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/plugins/dash.py 2019-04-11 22:39:11.970961161 +0200 +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.1.1/src/streamlink/plugins/tv3cat.py streamlink-1.1.1-patched/src/streamlink/plugins/tv3cat.py ---- streamlink-1.1.1/src/streamlink/plugins/tv3cat.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/plugins/tv3cat.py 2019-04-11 22:37:34.937942913 +0200 +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.1.1/src/streamlink/plugins/tvplayer.py streamlink-1.1.1-patched/src/streamlink/plugins/tvplayer.py ---- streamlink-1.1.1/src/streamlink/plugins/tvplayer.py 2019-04-02 23:37:45.000000000 +0200 -+++ streamlink-1.1.1-patched/src/streamlink/plugins/tvplayer.py 2019-04-11 22:37:26.373853093 +0200 +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 diff --git a/streamlink-1.2.0.tar.gz b/streamlink-1.2.0.tar.gz deleted file mode 100644 index 43726cc..0000000 --- a/streamlink-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:52858d1090301591874adddcf39653282a0171088f5e7d761d46b588808da47b -size 30768898 diff --git a/streamlink-1.3.0.tar.gz b/streamlink-1.3.0.tar.gz new file mode 100644 index 0000000..992f5c9 --- /dev/null +++ b/streamlink-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00649658b74c76022a04564919431e4d6156d974caf56f25cd52a07fa5732315 +size 694190 diff --git a/streamlink.changes b/streamlink.changes index 4222083..576febb 100644 --- a/streamlink.changes +++ b/streamlink.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Nov 25 11:19:13 UTC 2019 - Simon Puchert + +- 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). + ------------------------------------------------------------------- Wed Aug 21 19:20:43 UTC 2019 - Simon Puchert diff --git a/streamlink.spec b/streamlink.spec index 1f08bb5..d82d927 100644 --- a/streamlink.spec +++ b/streamlink.spec @@ -17,7 +17,7 @@ Name: streamlink -Version: 1.2.0 +Version: 1.3.0 Release: 0 Summary: Program to pipe streams from services into a video player License: BSD-2-Clause