Package: dakaraplayer
Dakara playerInterface between the Dakara server and a media player, for the Dakara project.InstallationTo install Dakara completely, you have to get all the parts of the project.
Installation guidelines are provided over here:Dakara server;Dakara feeder.System requirementsPython3, for the magic to take place (supported versions: 3.7, 3.8, 3.9, 3.10 and 3.11).At least one of there 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 environmentIt is strongly recommended to use the Dakara player within a virtual environment.InstallPlease ensure you have a recent enough version ofsetuptools:pipinstall--upgrade"setuptools>=46.4.0"Install the package with:pipinstalldakaraplayerIf you have downloaded the repo, you can install the package directly with:pipinstall.UsageThe package provides thedakara-player playcommand which runs the player:dakara-playerplay# orpython-mdakara_playerplayOne instance of the Dakara server should be running.For more help:dakara-player-h# orpython-mdakara_player-hBefore calling the command, you should create a config file with:dakara-playercreate-config# orpython-mdakara_playercreate-configand complete it with your values. The file is stored in your user space:~/.config/dakaraon Linux, or$APPDATA\DakaraProject\dakaraon Windows.ConfigurationThe 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.CustomizationThe 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/playeron Linux or$APPDATA\DakaraProject\dakara\playeron Windows.
Backgrounds are located in thebackgroundssubfolder, and text templates in thetemplatessubfolder.
File names can be modified in the config file, seeplayer.templatesandplayer.backgrounds.You can dump the default backgrounds and templates in the user directory as a starter with:dakara-playercreate-resources# orpython-mdakara_playercreate-resourcesDevelopmentPlease read thedevelopers documentation.The MIT License (MIT)Copyright (c) 2022 Dakara ProjectPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.