A set of simple API endpoints and ready-to-go clients to interface with the Grzegorz API
Go to file
Peder Bergebakken Sundt eb6f3cf9db Add fontawesome play-pause-prev-next buttons and minor refactor 2018-03-01 13:55:50 +01:00
res Add fontawesome play-pause-prev-next buttons and minor refactor 2018-03-01 13:55:50 +01:00
.gitignore Initial commit and design 2018-02-26 22:55:01 +01:00
LICENSE Add readme and license 2018-02-26 23:06:09 +01:00
README.md Add a "How to run this" section to readme 2018-02-26 23:15:08 +01:00
api.py Add ability to seek and set volume 2018-02-28 22:17:44 +01:00
config.py Make play, pause, next, previous, load and playlist view functional 2018-02-27 00:06:15 +01:00
gui.py Add fontawesome play-pause-prev-next buttons and minor refactor 2018-03-01 13:55:50 +01:00
main.py Add ability to seek and set volume 2018-02-28 22:17:44 +01:00
requirements.txt Initial commit and design 2018-02-26 22:55:01 +01:00
utils.py Make play, pause, next, previous, load and playlist view functional 2018-02-27 00:06:15 +01:00

README.md

Gregorz webUI

A simple webui to interface with the Grzegorz API

How to run this

First of we need to install any needed dependencies. If you want to, you may do so in a virtual environment.

To install the needed dependencies, run this with sufficient rights (as root?):

pip install -r requirements.txt

Now, make a copy of default_config.py named config.py, and make any changes you see fit. Here is a description of each field:

  • host - The interace you want to listen to
  • port - The port to listen to
  • start_browser - Whether to open a window in the defualt browser of the interface when starting
  • multiple_instance - Whether to handle each client induvidually or with a single instance

When finished, start the server with:

python3 main.py

License

Licensed under BSD 3 clause, see the file LICENSE for more details

This uses the library REMI by dddomodossola, which is licensed under apache2. This license may be read over here