Skip to main content

Open AceStream links with a Media Player of your choice

Project description

Acestream Launcher

Acestream Launcher allows you to open Acestream links with a Media Player of your choice

Dependencies

python, pyhon-acestream, libnotify, acestream-engine

Since v1.0.0 acestream-launcher uses Acestream Engine HTTP API that is available on acestream-engine v3.1 or later.

Usage

acestream-launcher URL [--player PLAYER] [--engine ENGINE]

Positional arguments

URL                    The acestream url to play

Optional arguments

-h, --help             Show this help message and exit
-p, --player  PLAYER   The media player command to use (default: mpv)
-e, --engine  ENGINE   The engine command to use (default: acestreamengine --client-console)
-t, --timeout TIMEOUT  Time in seconds to wait for stream playback (default: 30)
-v, --verbose          Show engine and media player output in console

Configuration

Create ~/.config/acestream-launcher/config file to override the default arguments. Use tty and browser sections to set different options when executing the script from the console or the web browser.

[DEFAULT]
player = vlc
verbose = true
timeout = 60
host = 127.0.0.1
port = 6878

[tty]
engine = acestreamengine --client-console --log-file /home/jonian/.ACEStream/engine.log

[browser]
engine = acestreamengine --client-gtk --log-file /home/jonian/.ACEStream/browser.log
verbose = false

Requirements

Install required dependencies (compatible with python 2 and 3):

sudo apt-get install python python-pip

Install optional dependencies (support for desktop notifications):

sudo apt-get install libnotify

Install Acestream engine manually (you can find actual links here and detailed instructions here):

sudo apt-get install python-setuptools python-m2crypto python-apsw

wget "http://download.acestream.media/linux/acestream_3.1.49_ubuntu_18.04_x86_64.tar.gz"
tar zxvf acestream_3.1.49_ubuntu_18.04_x86_64.tar.gz
sudo mv acestream_3.1.49_ubuntu_18.04_x86_64 /opt/acestream

sudo sed -i "/ROOT=/c\ROOT=\/opt\/acestream" /opt/acestream/start-engine
sudo ln -sf /opt/acestream/start-engine /usr/bin/acestreamengine

Install Acestream engine Snap package:

sudo snap install acestreamplayer

Installation

Install the package with the Python Package Index using pip command.

pip install acestream-launcher

Packages

Arch Linux: AUR Package
OpenSUSE: Build Service by @Drommer

Browser integration

Once it is installed, you can set it as default for the acestream:// links in your browser. Check your browser preferences for default applications.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acestream-launcher-2.0.3.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acestream_launcher-2.0.3-py2.py3-none-any.whl (20.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file acestream-launcher-2.0.3.tar.gz.

File metadata

  • Download URL: acestream-launcher-2.0.3.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for acestream-launcher-2.0.3.tar.gz
Algorithm Hash digest
SHA256 ec03bc8f09add5127adf4f6c9758db0aa17f3f36b21cf354acd8d351bf6c3bff
MD5 351ac6e7aa07db75d9a6c64240b76641
BLAKE2b-256 aa0c0531f4fdedf356f4aa86a360b159022bcc88985a88216188622dced41c42

See more details on using hashes here.

File details

Details for the file acestream_launcher-2.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: acestream_launcher-2.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for acestream_launcher-2.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cc1dcc0ce390c527e77a408289df51a7eb2276b030e25f148900e5432a8609ae
MD5 d5e18f6ffdfb64b690691035bc121578
BLAKE2b-256 6612876319c8f72476a6bc51fa4eb2d585d22b07f3f098b7743b140eb57d0384

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page