Package Details: streamlink-git 4.1.0.r32.g752179a7-1

Git Clone URL: https://aur.archlinux.org/streamlink-git.git (read-only, click to copy)
Package Base: streamlink-git
Description: CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)
Upstream URL: https://streamlink.github.io/
Keywords: fork livestreamer streamlink
Licenses: BSD
Conflicts: streamlink
Provides: streamlink
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 14
Popularity: 0.000147
First Submitted: 2016-10-01 08:18 (UTC)
Last Updated: 2022-06-21 11:54 (UTC)

Required by (27)

Sources (1)

Pinned Comments

metak commented on 2017-03-18 23:41 (UTC)

Added option to pkgbuild file to use 'python-crypto' instead of 'python-pycryptodome' and 'python-pycountry' instead of both python iso packages.

Latest Comments

Eidokan commented on 2022-06-20 21:29 (UTC)

Upstream recently replaced python-recommonmark with python-myst-parser, affecting make dependencies for this package. Unrelated to that I am getting a check failure that I can't fully figure out. As the error is about missing package metadata, I guess this is yet another issue with how the tests are invoked. It does not appear to occur when a previous version of streamlink is installed, but since I prefer to build in a container, that is usually not the case. Any ideas on how to fix this one?

tam1m commented on 2022-04-12 05:22 (UTC)

streamlink-git does not build at the moment since they switched to versioningit.

mjevans commented on 2021-10-19 19:56 (UTC)

Build issue https://github.com/streamlink/streamlink/issues/4102

According to the devs, this is caused by the build-script incorrectly invoking the test cases.

--- https://github.com/streamlink/streamlink/issues/4102#issuecomment-947029323

The PKGBUILD of the streamlink-git AUR package is not using pytest for running the tests and it is using a deprecated method instead (python setup.py test), which uses a different test runner:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=streamlink-git#n33

Running python setup.py test runs tests via setuptools' test runner, which is unsupported by Streamlink, as it doesn't collect pytest-style tests (or "non-unittest.TestCase" tests). For example, it doesn't run parametrized pytest tests, which Streamlink has a lot of. There is a method for overriding setuptools' test command via pytest-runner, but this is deprecated as well, so it won't be implemented here. The PKGBUILD will need to be updated by its maintainer.

Streamlink requires tests to be run via pytest or python -m pytest, and it should not collect the tests annotated with the @windows_only decorator on non-Windows machines.

metak commented on 2021-10-14 19:19 (UTC)

@unknown78 Please report failing tests upstream if you can.

unknown78 commented on 2021-10-12 12:34 (UTC)

just reporting an error in the testsuite -> https://termbin.com/mhrk ... i guess mscvcrt is not available on linux is a suitable assumption ;)

jrudess commented on 2021-08-08 18:24 (UTC)

@OxHaK @metak I have the same build problem. Haven't been able to track down the issue yet. Using --nocheck, of course, bypasses the issue.

metak commented on 2021-07-29 12:25 (UTC)

@OxHaK Builds fine for me, try skipping the tests. makepkg --nocheck

OxHaK commented on 2021-07-26 19:41 (UTC) (edited on 2021-07-26 20:05 (UTC) by OxHaK)

Can't compile, any idea ?

====================================================================== FAIL: test_cookie_clear_unbound (tests.test_plugin.TestPlugin)


Traceback (most recent call last): File "/hdd/Cache/yay/streamlink-git/src/streamlink/tests/test_plugin.py", line 143, in test_cookie_clear_unbound self.assertRaises(RuntimeError, plugin.clear_cookies) AssertionError: RuntimeError not raised by clear_cookies


Ran 636 tests in 10.416s

FAILED (failures=1, skipped=39) Test failed: <unittest.runner.TextTestResult run=636 errors=0 failures=1> error: Test failed: <unittest.runner.TextTestResult run=636 errors=0 failures=1>

metak commented on 2021-05-10 10:09 (UTC)

@SpotlightKid The latest python-sphinx-4.0.0-1 package update in arch also brings this change from upstream where generated man doc pages are placed in according path.
Generate man page section directories #7996
#7996: manpage: Make a section directory on build manpage by default (see man_make_section_directory)

SpotlightKid commented on 2021-05-10 09:34 (UTC)

Error in packaging step:

running install_scripts
Installing streamlink script to /home/chris/.local/share/pikaur/aur_repos/streamlink-git/pkg/streamlink-git/usr/bin
install: cannot stat 'build/sphinx/man/1/streamlink.1': No such file or directory

The man page path should be build/sphinx/man/streamlink.1.

eschwartz commented on 2021-01-06 02:14 (UTC)

Enjoy your indefinite suspension.

techandy1 commented on 2021-01-06 02:08 (UTC)

@metak, please do your research. There is proof that this package is out of date, and I can prove in detail that what I know is correct and honest. Don't pay attention to people on here that can't back up their facts. Just check out the streamlink website and you will see that I am indeed correct.

techandy1 commented on 2021-01-06 02:03 (UTC)

@eschwartz Do what you want with my account, you know I am right if you were smart enough and had the proof that this package wasn't out of date, I have everything to prove this package is out of date. If you delete, suspend or ban me from this site you only prove my point and that will not stop me from coming back. I am and will forever be smarter than you so as long as I am the one backing up my statements and comments.

techandy1 commented on 2021-01-06 02:01 (UTC)

@eschwartz Threating to suspend my account only proves my point. Ignorant twit. Do your research.

techandy1 commented on 2021-01-06 01:55 (UTC)

@eschwartz wow congrats on your lack of research. I bet you don't even use streamlink-twitch-gui do you. This version of streamlink 1.7 does not work with streamlink-twitch-gui twit. And if you looked at the streamlink website you would know for a fact that there is a newer version of streamlink. Do your research before commenting on other people's comments when that person has all the facts and knowledge. Stop being stupid.

eschwartz commented on 2021-01-06 01:40 (UTC)

@techandy1,

Speaking with my Trusted User hat on, I can authoritatively state that this -git package is NOT out of date, per the rules of the AUR as well as the big fat note at https://wiki.archlinux.org/index.php/Arch_User_Repository#Flagging_packages_out-of-date

For precisely the reason you've been told, but refuse to accept. I have nothing new to add to this conversation EXCEPT my authority as a moderator on this site telling you you are wrong.

Now, one more insult and I suspend your account.

As you've previously DELETED your account, then recreated one with the same name in order to keep arguing, I can go a lot further than suspending your account if you try to play the sockpuppet game.

techandy1 commented on 2021-01-06 00:49 (UTC)

@SpotlightKid, really the PKGBUILD doesn't need to be updated. Please tell me you aren't this stupid in real life. If the PKGBUILD file didn't need to be updated then why is the current version here 1.7 when streamlink's website states the latest version is 2.0. WAKE UP... If the PKGBUILD didn't need to be updated then the version would be 2.0. Airhead.

SpotlightKid commented on 2021-01-04 19:58 (UTC)

@techandy1: We already explained to you why the PKGBUILD does not need to be updated. If you haven't read these comments, please do so. And if you still don't understand, please read up on the Arch wiki what VCS packages are and why their version number listed here is irrelevant. Please stop posting comments here about the package being outdated, because it is not. If you insist it is, you are only making a fool of yourself.

techandy1 commented on 2021-01-04 19:31 (UTC)

Why is this package still out of date, all you have to do is change the version number to 2.0.0 which is the current version if you look at the streamlink website.

commented on 2020-12-26 01:34 (UTC)

@metak please update this package the current version is 2.0.0, if you actually take the time to look at streamlink's website. Also this current package doesn't work with streamlink-twitch-gui. Fix it, please. You are the maintainer of this package, so you should fix it and keep it up to date at all times.

commented on 2020-12-26 01:28 (UTC)

@Spotlightkid, I have this package installed but because Streamlink-twitch-gui updated this package needs to be updated as well. I bet you don't use streamlink-twitch-gui. It states that the current version from streamlink that is installed is outdated. Again learn to pay attention.

metak commented on 2020-12-24 14:39 (UTC) (edited on 2020-12-24 16:18 (UTC) by metak)

@SpotlightKid

Thank you for chiming in.

@techandy1

The -git packages are only outdated when the build process changes, new dependency is added/removed, etc. The pkgbuild file will always fetch the latest master commit when you build the package.

SpotlightKid commented on 2020-12-24 14:35 (UTC)

@techandy1: This is a VCS package, thatswhy it has a -git suffix. VCS are not outdated just because there is a newer upstream version. Their version updates via their pkgver() function when you build them. Do not flag VCS packages as outdated, unless they (i.e. their PKGBUILD) need to be changed because of upstream changes.

commented on 2020-12-24 14:22 (UTC)

@spotlightkid, what in the world does your comment have to do with mine. My comment is about this package being outdated. If you are going to post some links, please clarify why. The link I posted is to state and show that this package is outdated. I am also not the maintainer for this package.

SpotlightKid commented on 2020-12-24 11:01 (UTC)

@techandy1: https://wiki.archlinux.org/index.php/Arch_User_Repository#What_is_the_difference_between_foo_and_foo-git_packages?

commented on 2020-12-24 01:12 (UTC)

New version is 2.0.0. You can check it here. https://streamlink.github.io/

torstenchr commented on 2020-04-29 19:05 (UTC)

@metak Thank, i did not know that - or wether it was needed for the package to install correctly. Now i know :)

metak commented on 2020-04-29 17:17 (UTC)

@torstenchr Hi. That is normal for -git packages, since they need to be updated only when the build process changes, otherwise it's your responsibility to rebuild them and they'll automatically fetch the latest commit.

torstenchr commented on 2020-04-29 16:57 (UTC)

The package version seem to out of sync with the upstream version, which as of today is 1.4.1

SpotlightKid commented on 2020-04-08 19:21 (UTC)

There's a PR with a fix for the YouTube issue. Until it is merged, you use this patch for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 6798c2e..3353ac7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _use_pycrypto="no"
 _use_pycountry="no"

 pkgname=streamlink-git
-pkgver=1.3.0.r0.g9253fc51
+pkgver=1.3.1.r95.gfdf739d6
 pkgrel=1
 pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)'
 arch=('any')
@@ -30,14 +30,21 @@ makedepends=('git' 'python-recommonmark')
 optdepends=('ffmpeg: Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+')
 provides=("${pkgname%-*}")
 conflicts+=("${pkgname%-*}")
-source=("${pkgname%-*}::git+https://github.com/streamlink/streamlink.git")
-sha512sums=('SKIP')
+source=("${pkgname%-*}::git+https://github.com/streamlink/streamlink.git"
+        'https://github.com/streamlink/streamlink/pull/2858.diff')
+sha512sums=('SKIP'
+            '694ea14c6c5a8c06e60f1216856af7be1cfe2cc3573fda1d98a8e3967edc812f0945d3dd914a93723bbe6ac6d8a3ead4905bc38f28728086b4b4809e3dd7b2c8')

 pkgver() {
   cd "${pkgname%-*}"
   git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
 }

+prepare() {
+  cd "${pkgname%-*}"
+  patch -p1 -N -i "$srcdir/"2858.diff
+}
+
 build() {
   cd "${pkgname%-*}"
   if [ "$_use_pycrypto" = "yes" ]; then

metak commented on 2020-02-22 16:02 (UTC)

@troyBORG https://github.com/streamlink/streamlink/issues/2750

troyBORG commented on 2020-02-21 14:06 (UTC)

Can't get YouTube to download.
It says "error: No playable streams found on this URL: "

bastimeyer commented on 2018-05-29 12:33 (UTC) (edited on 2018-05-29 12:33 (UTC) by bastimeyer)

python-recommonmark has to be added as make dependency: https://github.com/streamlink/streamlink/pull/1667

cirrus commented on 2018-04-21 13:02 (UTC)

@ metak I could'nt get it to build, i just used pip/virtualenv for now. thanks.

metak commented on 2018-04-19 23:24 (UTC)

@cirrus Builds fine on my end and in clean chroot. Have you tried building it in clean chroot?

cirrus commented on 2018-04-18 21:06 (UTC)

I'm Getting build failures with latest pkg bro https://pastebin.mozilla.org/9083368 any pointers appreciated.

metak commented on 2017-05-24 14:35 (UTC)

@ioangogo Why? That's the default upstream choice and it can be subtituted with pycrypto (my pinned comment). If you don't want to use it just change the _use_pycrypto="no" to "yes" in PKGBUILD file. (Some manual intervention might be required because pycryptodome is a drop-in replacement for the PyCrypto.)

ioangogo commented on 2017-05-23 10:54 (UTC)

Can you remove pycryptodome as a dependency, it does not replace pycrypto in the case of streamlink

metak commented on 2017-05-11 15:25 (UTC)

Please don't flag package out-of-date for pkgbumps.

metak commented on 2017-03-18 23:41 (UTC)

Added option to pkgbuild file to use 'python-crypto' instead of 'python-pycryptodome' and 'python-pycountry' instead of both python iso packages.

saviola commented on 2017-03-17 17:00 (UTC)

Ran into the same problem as @tarasis after switching from the AUR version of the package to the one in the community repository – the AUR package python-pycryptodome was still installed instead of python-crypto. Removing the streamlink package including its dependencies and re-installing it solved the problem for me.

dalekteta commented on 2017-03-13 22:49 (UTC)

@tarasis, streamlink has been moved from aur to main (Community) repository. I'm not sure if there is better way than just reinstall streamlink using pacman.

metak commented on 2017-03-12 21:45 (UTC)

@terasis There wasn't any change upstream, so you're probably trying to build with old pkgbuild file? Could you try downloading a snapshot and build it manually with 'makepkg -isC'?

tarasis commented on 2017-03-12 21:30 (UTC)

Most recent update won't run for me "The 'pycrypto' distribution was not found and is required by streamlink" Previous version had been working fine.

kevku commented on 2017-01-27 08:36 (UTC)

whats with the python-crypto patch? python-pycryptodome works fine in arch linux

bastimeyer commented on 2017-01-26 03:24 (UTC)

Package is broken since this commit: https://github.com/streamlink/streamlink/commit/93d1670ca7a42b70c709d5f665385f7ea02639ec

metak commented on 2016-12-15 22:58 (UTC)

@mjevans Can you test it now? Those changes were merged upstream a few hours ago.

mjevans commented on 2016-12-15 22:10 (UTC)

depends now include: python-mock When rebuilding from clean it has many import errors since it's trying to import from the system python and can't pass the test. This might be an upstream bug.

kabbalah100 commented on 2016-12-15 17:14 (UTC)

Ok all very good thanks-you

metak commented on 2016-12-14 21:30 (UTC)

How about if you skip the check? 'makepkg -is --nocheck'

kabbalah100 commented on 2016-12-14 21:12 (UTC)

Nothing comes out the same error

metak commented on 2016-12-14 17:20 (UTC)

@kabbalah100 try downloading a snapshot and extract to /tmp dir https://aur.archlinux.org/cgit/aur.git/snapshot/streamlink-git.tar.gz cd to streamlink-git and execute 'makepkg -is'. It builds without a problem on my end and in clean chroot.

kabbalah100 commented on 2016-12-14 17:12 (UTC) (edited on 2016-12-14 17:12 (UTC) by kabbalah100)

I can not install streamlink-git: /tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/docs/changelog.rst:6: SEVERE: Problems with "include" directive path: InputError: [Errno 2] No such file or directory: 'CHANGELOG.rst'. /tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/docs/cli.rst:4: WARNING: Malformed option description '[URL]', should look like "opt", "-opt args", "--opt args", "/opt args" or "+opt args" /tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/docs/cli.rst:11: WARNING: Malformed option description '[STREAM]', should look like "opt", "-opt args", "--opt args", "/opt args" or "+opt args" /tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/docs/install.rst:4: WARNING: Duplicate explicit target name: "here". /tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/docs/players.rst:52: WARNING: Literal block expected; none found. ERROR collecting tests/test_buffer.py _________________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_buffer.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_buffer.py:3: in <module> from streamlink.buffers import Buffer E ImportError: No module named 'streamlink' __________________________________________________________________ ERROR collecting tests/test_log.py __________________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_log.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_log.py:3: in <module> from streamlink.logger import Logger E ImportError: No module named 'streamlink' ________________________________________________________________ ERROR collecting tests/test_options.py ________________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_options.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_options.py:3: in <module> from streamlink.options import Options E ImportError: No module named 'streamlink' ___________________________________________________________ ERROR collecting tests/test_plugin_adultswim.py ____________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_plugin_adultswim.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_plugin_adultswim.py:3: in <module> from streamlink.plugins.adultswim import AdultSwim E ImportError: No module named 'streamlink' ________________________________________________________ ERROR collecting tests/test_plugin_api_http_session.py ________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_plugin_api_http_session.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_plugin_api_http_session.py:11: in <module> from streamlink.exceptions import PluginError E ImportError: No module named 'streamlink' __________________________________________________________ ERROR collecting tests/test_plugin_api_validate.py __________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_plugin_api_validate.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_plugin_api_validate.py:7: in <module> from streamlink.plugin.api.validate import ( E ImportError: No module named 'streamlink' _____________________________________________________________ ERROR collecting tests/test_plugin_stream.py _____________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_plugin_stream.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_plugin_stream.py:4: in <module> from streamlink import Streamlink, PluginError, NoPluginError E ImportError: No module named 'streamlink' ____________________________________________________________ ERROR collecting tests/test_plugin_tvplayer.py ____________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_plugin_tvplayer.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_plugin_tvplayer.py:3: in <module> from streamlink.plugins.tvplayer import TVPlayer E ImportError: No module named 'streamlink' _____________________________________________________________ ERROR collecting tests/test_plugin_webtv.py ______________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_plugin_webtv.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_plugin_webtv.py:3: in <module> from streamlink.plugins.webtv import WebTV E ImportError: No module named 'streamlink' ________________________________________________________________ ERROR collecting tests/test_session.py ________________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_session.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_session.py:4: in <module> from streamlink import Streamlink, PluginError, NoPluginError E ImportError: No module named 'streamlink' ____________________________________________________________ ERROR collecting tests/test_stream_wrappers.py ____________________________________________________________ ImportError while importing test module '/tmp/yaourt-tmp-julio/aur-streamlink-git/src/streamlink/tests/test_stream_wrappers.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_stream_wrappers.py:3: in <module> from streamlink.stream import StreamIOIterWrapper E ImportError: No module named 'streamlink' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 11 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ======================================================================= 11 error in 0.51 seconds ======================================================================= ==> ERROR: Se produjo un fallo en check(). Cancelando… ==> ERROR: Makepkg no ha podido compilar .