Media player for the Dakara Project
Project description
Dakara player
Interface between the Dakara server and a media player, for the Dakara project.
Installation
To install Dakara completely, you have to get all the parts of the project. Installation guidelines are provided over here:
System requirements
- Python3, for the magic to take place (supported versions: see above).
At least one of the following players:
- VLC (supported version: 3.0.0 and higher, note that versions 3.0.13 to 3.0.16 cannot be used);
- mpv (supported version: 0.27 and higher).
For 64 bits operating systems, you must install the equivalent version of the requirements. Linux and Windows are supported.
Virtual environment
It is strongly recommended to use the Dakara player within a virtual environment.
Install
Please ensure you have a recent enough version of setuptools:
pip install --upgrade "setuptools>=46.4.0"
Install the package with:
pip install dakaraplayer
If you have downloaded the repo, you can install the package directly with:
pip install .
Usage
The package provides the dakara-player play command which runs the player:
dakara-player play
# or
python -m dakara_player play
One instance of the Dakara server should be running.
For more help:
dakara-player -h
# or
python -m dakara_player -h
Before calling the command, you should create a config file with:
dakara-player create-config
# or
python -m dakara_player create-config
and complete it with your values. The file is stored in your user space: ~/.config/dakara on Linux, or $APPDATA\DakaraProject\dakara on Windows.
Configuration
The configuration is created with the previously cited command. Several aspect of the player can be configured with this file. Please check with the file documentation.
Authentication to the server can only be done with a player token that can be generated and copied from the web client. Please note that only a playlist manager can generate such a player token.
Customization
The different text screens used when the player is idle, or before a song, can be customized, both for the background and the text template.
The program looks for custom files at startup in the user directory: ~/.local/share/dakara/player on Linux or $APPDATA\DakaraProject\dakara\player on Windows.
Backgrounds are located in the backgrounds subfolder, and text templates in the templates subfolder.
File names can be modified in the config file, see player.templates and player.backgrounds.
You can dump the default backgrounds and templates in the user directory as a starter with:
dakara-player create-resources
# or
python -m dakara_player create-resources
Development
Please read the developers documentation.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dakaraplayer-1.9.0.tar.gz.
File metadata
- Download URL: dakaraplayer-1.9.0.tar.gz
- Upload date:
- Size: 388.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9b695884204da1a5a9e57da04e853258d57de3c22f5e4117adcb44d99378dcd
|
|
| MD5 |
d4bf9caad34db3dbbda4a190f5768a21
|
|
| BLAKE2b-256 |
872f25c8b8554e57f2f8d4e498e20fdde3a034b4194b38957db7a04f86821003
|
File details
Details for the file dakaraplayer-1.9.0-py3-none-any.whl.
File metadata
- Download URL: dakaraplayer-1.9.0-py3-none-any.whl
- Upload date:
- Size: 359.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7a8ec2aae8b3844570c930f89249dd4ab1dfa5df531460bb2f0f9e276c68592
|
|
| MD5 |
88eb839d4415e88bd2c29995b1ee3838
|
|
| BLAKE2b-256 |
b65b9edcc89ecd2e9794b3dad36cb8d5ddfd244858f36f21f2f21565f27b6a86
|