This project provides a backend to stream music on systems running Linux (including Raspberry Pi 4+) and REST API to control the playqueue and playback, as well as an ability to discover new content.
At this point, it only supports Qobuz as a streaming platform, and you must have a valid subscription.
The target audience for this are DIY HiFi enthusiasts familiar with linux and command line.
A deb package for arm64 (Raspbian) is provided in the Releases section.
A debian package can be built by running make
in the root directory. Note, that there's no cross-compilation,
the package is built for the platform it is being built for.
Make sure you update the config file /opt/kalinka/kalinka_conf.yaml
after you install the package (see below).
The service can be restarted with sudo systemctl restart kalinka.service
, to check the status of the service
and the last log lines use systemctl status kalinka.service
.
To check the full log: journalctl -u kalinka.service
.
Clone the repository, git clone https://github.com/madenvel/KalinkaPlayer.git
Install pre-requisites
sudo apt install python3 g++ libasound2-dev libflac-dev libflac++-dev libcurlpp-dev libspdlog-dev libfmt-dev python3-dev
Create python virtual environment:
cd KalinkaPlayer
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Build the native player:
cd native_player
make
cd ../
Create a config file based on the example
Run the server
nohup ./run_server.py &
The log will be saved to nohup.out
.
If you were running the server on Raspberry Pi, you can logout now.
Download and install the app (see KalinkaApp project) and goto Settings -> Connection menu - your service should show up under the name you specified. Pick it from the list and tap "Connect".
Enjoy!