From 08bac13bf312b7bb36ad559cfb52fb06883f515731d7642bb153ee3c94eff073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 25 Jun 2018 11:08:06 +0000 Subject: [PATCH] Accepting request 618920 from home:dmarcoux - Update to version 0.13.0: * Initial MPEG DASH support has been added! (#1637) Many thanks to @beardypig * As always, a ton of plugin updates * Updates to our documentation (#1673) * Updates to our logging (#1752) as well as log --quiet options (#1744) (#1720) * Our release script has been updated (#1711) * Support for livestreams when using the --hls-duration option (#1710) * Allow streamlink to exit faster when using Ctrl+C (#1658) * Added an OpenCV Face Detection example (#1689) - Remove streamlink-use-mpv.patch OBS-URL: https://build.opensuse.org/request/show/618920 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=5 --- streamlink-0.13.0.tar.gz | 3 ++ streamlink-0.9.0.tar.gz | 3 -- streamlink-use-mpv.patch | 66 ---------------------------------------- streamlink.changes | 15 +++++++++ streamlink.spec | 12 +++----- 5 files changed, 23 insertions(+), 76 deletions(-) create mode 100644 streamlink-0.13.0.tar.gz delete mode 100644 streamlink-0.9.0.tar.gz delete mode 100644 streamlink-use-mpv.patch diff --git a/streamlink-0.13.0.tar.gz b/streamlink-0.13.0.tar.gz new file mode 100644 index 0000000..635c3be --- /dev/null +++ b/streamlink-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04ef74d12c72f614187674f7749da760e82c65f280930de6071823e24303dda7 +size 30781168 diff --git a/streamlink-0.9.0.tar.gz b/streamlink-0.9.0.tar.gz deleted file mode 100644 index d937c7e..0000000 --- a/streamlink-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd84c472f12b2b936b288de465ceadebdae42cf216f5b2cb1f31c106aff69324 -size 30720281 diff --git a/streamlink-use-mpv.patch b/streamlink-use-mpv.patch deleted file mode 100644 index 5774546..0000000 --- a/streamlink-use-mpv.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -ruN a/src/streamlink_cli/argparser.py b/src/streamlink_cli/argparser.py ---- a/src/streamlink_cli/argparser.py 2017-11-14 14:21:36.000000000 +0100 -+++ b/src/streamlink_cli/argparser.py 2017-12-20 14:53:28.380643193 +0100 -@@ -309,7 +309,7 @@ - metavar="COMMAND", - default=find_default_player(), - help=""" -- Player to feed stream data to. By default, VLC will be used -+ Player to feed stream data to. By default, MPV will be used - if it can be found in its default location. - - This is a shell-like syntax to support using a specific player: -diff -ruN a/src/streamlink_cli/main.py b/src/streamlink_cli/main.py ---- a/src/streamlink_cli/main.py 2017-11-14 14:21:36.000000000 +0100 -+++ b/src/streamlink_cli/main.py 2017-12-20 14:54:42.376865280 +0100 -@@ -72,7 +72,7 @@ - http = namedpipe = None - - if not args.player: -- console.exit("The default player (VLC) does not seem to be " -+ console.exit("The default player (MPV) does not seem to be " - "installed. You must specify the path to a player " - "executable with --player.") - -@@ -132,7 +132,7 @@ - - if not external: - if not args.player: -- console.exit("The default player (VLC) does not seem to be " -+ console.exit("The default player (MPV) does not seem to be " - "installed. You must specify the path to a player " - "executable with --player.") - -diff -ruN a/src/streamlink_cli/utils/player.py b/src/streamlink_cli/utils/player.py ---- a/src/streamlink_cli/utils/player.py 2017-11-14 14:21:36.000000000 +0100 -+++ b/src/streamlink_cli/utils/player.py 2017-12-20 14:56:12.896766846 +0100 -@@ -15,23 +15,23 @@ - def find_default_player(): - if "darwin" in sys.platform: - paths = os.environ.get("PATH", "").split(":") -- paths += ["/Applications/VLC.app/Contents/MacOS/"] -- paths += ["~/Applications/VLC.app/Contents/MacOS/"] -- path = check_paths(("VLC", "vlc"), paths) -+ paths += ["/Applications/MPV.app/Contents/MacOS/"] -+ paths += ["~/Applications/MPV.app/Contents/MacOS/"] -+ path = check_paths(("MPV", "mpv"), paths) - elif "win32" in sys.platform: -- exename = "vlc.exe" -+ exename = "mpv.exe" - paths = os.environ.get("PATH", "").split(";") - path = check_paths((exename,), paths) - - if not path: -- subpath = "VideoLAN\\VLC\\" -+ subpath = "MPV\\" - envvars = ("PROGRAMFILES", "PROGRAMFILES(X86)", "PROGRAMW6432") - paths = filter(None, (os.environ.get(var) for var in envvars)) - paths = (os.path.join(p, subpath) for p in paths) - path = check_paths((exename,), paths) - else: - paths = os.environ.get("PATH", "").split(":") -- path = check_paths(("vlc",), paths) -+ path = check_paths(("mpv",), paths) - - if path: - # Quote command because it can contain space diff --git a/streamlink.changes b/streamlink.changes index bcd7151..3f5d49a 100644 --- a/streamlink.changes +++ b/streamlink.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Jun 24 11:22:25 UTC 2018 - dmarcoux@posteo.de + +- Update to version 0.13.0: + * Initial MPEG DASH support has been added! (#1637) Many thanks to @beardypig + * As always, a ton of plugin updates + * Updates to our documentation (#1673) + * Updates to our logging (#1752) as well as log --quiet options (#1744) (#1720) + * Our release script has been updated (#1711) + * Support for livestreams when using the --hls-duration option (#1710) + * Allow streamlink to exit faster when using Ctrl+C (#1658) + * Added an OpenCV Face Detection example (#1689) + +- Remove streamlink-use-mpv.patch + ------------------------------------------------------------------- Tue Dec 19 23:21:06 UTC 2017 - agraul@suse.com diff --git a/streamlink.spec b/streamlink.spec index 0fd24e6..26e8c0f 100644 --- a/streamlink.spec +++ b/streamlink.spec @@ -1,7 +1,7 @@ # # spec file for package streamlink # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,14 @@ Name: streamlink -Version: 0.9.0 +Version: 0.13.0 Release: 0 Summary: Program to pipe streams from services into a video player License: BSD-2-Clause Group: Development/Languages/Python Url: http://streamlink.github.io/ Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -# streamlink-use-mpv.patch -- Use a lighter MPV player by default. -Patch0: %{name}-use-mpv.patch -Recommends: mpv +Recommends: (vlc or mpv) BuildArch: noarch %if 0%{?suse_version} > 1320 BuildRequires: python3-Sphinx @@ -58,7 +56,6 @@ Streamlink is a fork of the livestreamer project. %prep %setup -q -%patch0 -p1 %build %if 0%{?suse_version} > 1320 @@ -85,7 +82,8 @@ find %{buildroot}{%{python3_sitelib},%{python_sitelib}} -type f -name '*.py' | w done %files -%doc AUTHORS CHANGELOG.rst LICENSE MANIFEST.in README.md +%license LICENSE +%doc AUTHORS CHANGELOG.md MANIFEST.in README.md %{_bindir}/%{name} %if 0%{?suse_version} > 1320 %{python3_sitelib}/%{name}*/