Note: check whether you can use Streamlink instead of Livestreamer first. See the last section below.
This brief guide assumes you know the basics of Git, and that you have Python installed with setuptools. (Downloading the latest Python 3 from the main website should be sufficient.) You also need to make some changes to one of the files.
- Clone livestreamer from Github
- Fetch the PR with fixes:
git fetch origin pull/1495/head:proposed-fixes-1.13
- Switch to the fixes branch:
git checkout proposed-fixes-1.13
- If necessary, perform the changes to
src/livestreamer/plugins/vaughnlive.py
as described below - Install the script from the repository root dir:
python setup.py develop
(I suggest installing as a developer so you can fix problems easily if you've made a typo somewhere in the code changes.) - Now you should be able to use Vaughn Live streams using Livestreamer. If it doesn't work, I suggest typing
which livestreamer
to ensure you are using the custom version you just installed. If it's not in your Python version's/bin
then you might accidentally be trying to invoke another version (such as one installed by Brew). If it doesn't work still, check the project issues/PRs for updates.
Note: I've requested that the author of the proposed-fixes-1.13
branch do these changes in his PR, so if all goes well you should not need to do any of this. Check the PR for more information. If possible, install the script first and try out your URL to see if it works after switching to the PR branch.
The file you need to edit is src/livestreamer/plugins/vaughnlive.py
.
Change INFO_URL
to the following:
INFO_URL = "http://mvn.vaughnsoft.net/video/edge/mnt-{domain}_{channel}?{version}_{ms}-{ms}-{random}"
Change _url_re
to the following:
_url_re = re.compile("""
http(s)?://(\w+\.)?
(?P<domain>vaughnlive|breakers|instagib|vapers).tv
(/embed/video)?
/(?P<channel>[^/&?]+)
""", re.VERBOSE)
Streamlink is a forked project from Livestreamer, which appears to be abandoned. The fork has a number of fixes, but Vaughn Live is broken there as well. I've sent in a PR to fix this. If all goes well, you should be able to avoid all these instructions just by using Streamlink instead of Livestreamer.