Skip to main content

High-level media/entertainment workflow automation platform

Project description

PyPI Version GitHub release Documentation Status GitHub license Github all releases Platform: Windows,Mac,Linux

Volux

BRANCH BUILD COVERAGE REQUIREMENTS ISSUES OPEN PRs
Master Build Status codecov Requirements Status GitHub issues GitHub pull-requests
Develop Build Status codecov Requirements Status

Description

Volux is a high-level media/entertainment workflow automation platform.

Documentation

Volux uses readthedocs.io for it's documentation.

Read it here.

What does it do?

Volux operates using an Operator object and various instances of VoluxModule subclasses.

Each aspect of your media/entertainment setup is represented by it's own volux module.

The operator object acts as a hub for a standard method of communication between Volux modules added to it.

Official Modules

Module Aspect Controls
VoluxBar GUI Element display values, display colors, increase/decrease values, set values
VoluxDemoModule CLI messages set value, get value
VoluxDisplay Monitor get monitor size (wip)
VoluxLight LIFX bulb set color, set power, get color, get power
VoluxVolume Computer Volume set volume, get volume, set muted, get muted

These modules can read/write data of the associated aspects in coordiation with each other to create seamless workflows.

Install latest stable

$ pip install volux

Install from source

$ git clone https://github.com/DrTexx/Volux.git
$ cd Volux
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r volux/demos/demo_volbar_requirements.txt
$ pip install wheel setuptools --upgrade
$ python3 setup.py bdist_wheel
$ cd dist
$ pip install volux-*.whl

Demo script

Install demo scripts requirements.

$ pip install -r volux/demos/demo_volbar_requirements.txt

Run the demo script

$ python3 -m volux

While hovering over the bar:

Bar color Action Result
any right-click change bar color
📗 green scroll up 🔉 increase volume
📗 green scroll down 🔉 decrease volume
📗 green middle-click 🔇 mute
🔴 red scroll up 🔉 increase volume
🔴 red scroll down 🔉 decrease volume
🔴 red middle-click 🔇 unmute
📘 blue scroll up 💡 increase bulb brightness
📘 blue scroll down 💡 decrease bulb brightness
📘 blue middle-click 💡 toggle bulb power

Features in development

  • Settings GUI
  • Interface customisation

Screenshots

Mode State Image
Volume (active) active
Volume (inactive) inactive
Mute (active) active
Brightness (active) active

note: these screenshots are outdated

Supported platforms

   Windows 7 or later

   MacOS (WIP)

   Linux (most distributions)

Installation

NOTE: Under some operating systems / linux distros all references to 'pip' must be replaced with 'pip3'. Debian is an example of this. This is often the case to prevent confusion between Python 2.7.x interpreters and Python 3.x interpreters

NOTE: Under some operating systems / linux distros all references to 'python' must be replaced with 'python3'. Debian is an example of this. This is often the case to prevent confusion between Python 2.7.x interpreters and Python 3.x interpreters

NOTE: If you recieve the error error: invalid command 'bdist_wheel' when running python setup.py bdist_wheel, try the following: Try upgrading the wheel package pip install wheel --upgrade. No luck? Try reinstalling the wheel package. Failing that, try upgrading pip python3 -m pip install pip --upgrade. Failing that, ensure you installed the requirements for your platform. Failing that, instead build with the command python setup.py build. If you're still having issues, please submit a detailed issue on Github.

Requirements

Platform External Requirements
Windows > pip install https://github.com/AndreMiras/pycaw/archive/master.zip
Darwin (MacOS) $ brew install tcl-tk $ brew link tcl-tk --force
Linux (Debian) $ sudo apt-get install python3-tk python3-xlib python3-dbus libasound2-dev python3-dev

Installation

Installation Method Command/s Platforms
pip (as user) recommended! > pip install volux --user Windows/Unix
pip (as root) $ sudo pip install volux Unix
wheel (.whl) (as user) > pip install volux-*-py3-none-any.whl --user Windows/Unix
wheel (.whl) (as root) $ sudo pip install volux-*-py3-none-any.whl Unix

Build from source

Clone this repository:

$ git clone https://github.com/DrTexx/volux.git

Install pip requirements:

$ cd volux
$ pip install -r requirements.txt --user

Issues with pip? Please see notes under Installation

Build:

$ pip install wheel --upgrade
$ python setup.py bdist_wheel

Issues with building? Please see notes under Installation

Install:

Check the 'dist' folder for volux-x.x.x-py3-*.whl, then see "Installation" above

Using Volux

All interactions with Volux are only valid when hovering over the bar Volux produces. This allows you to interact with Volux without loosing your ability to scroll in other applications.

Launching

In order to launch Volux, open your platform's command-line/terminal and run the following:

python -m volux

NOTE: This will not be necessary in future releases (however still possible). An application launcher will be provided in addition to the option to launch at startup.

Modes

To cycle between modes in Volux, right-click the main bar. By default, a green bar signifies volume mode and a blue bar signifies brightness mode (wip).

Volume/brightness

While in volume or brightness mode, scroll up/down to increase/decrease volume or brightness while hovering over the main bar.

Exit

To exit Volux, double right-click the bar at any time.

Issues and bugs

If you have any problems running Volux, please kindly post an issue to this repository. Issues can be solved much faster if you can provide:

  • Your OS
  • Your desktop environment (if using Linux)
  • Your python version
  • A Summary of issues experienced
  • Any relevant screenshot/s

Volux is developed under Debian 9 Stretch (Linux) using GNOME 3.22.2 and Python 3.5. Providing you've correctly installed all dependencies, Volux is almost guranteed to work under these conditions.

Additional testing has been done under these conditions:

Archi. Operating System Desktop Env Python Verison Status Notes
64 bit Debian 9 Stretch Gnome 3.22.2 3.5 0.8.16 Working Development conditions
64 bit Ubuntu ver=? Gnome ver=? 3.6 Working
64 bit Windows 10 N/A 3.7 0.8.16 Working Reimplementation successful!
64 bit Windows 10 N/A 3.7.2 0.8.16 Working
64 bit OSX 10.13.5 N/A 3.7.3 0.8.16 Broken Ironing out the creases

forthebadge made-with-python

Acknowledgments of work | pencil icon

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

volux-0.9.4.tar.gz (18.9 kB view hashes)

Uploaded Source

Built Distribution

volux-0.9.4-py3-none-any.whl (29.4 kB view hashes)

Uploaded Python 3

Supported by

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