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
This commit is contained in:
parent
967e9532a9
commit
08bac13bf3
3
streamlink-0.13.0.tar.gz
Normal file
3
streamlink-0.13.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:04ef74d12c72f614187674f7749da760e82c65f280930de6071823e24303dda7
|
||||
size 30781168
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd84c472f12b2b936b288de465ceadebdae42cf216f5b2cb1f31c106aff69324
|
||||
size 30720281
|
@ -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
|
@ -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
|
||||
|
||||
|
@ -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}*/
|
||||
|
Loading…
Reference in New Issue
Block a user