REPL to stream music from a Subsonic server to a chromecast
Project description
CastMe
CastMe is a simple Python REPL that allows you to cast music from a Subsonic server to a Chromecast device.
NOTE: The subsonic server must expose a URL over HTTPS. And since the chromecast will be the one connecting to the server, the certificate need to be trusted. This project is tested against Navidrome only.
It's pretty bare-bone for now, but as I am using it more and more I will add the features that I need.
Installation
- Clone the repository
- Install the required dependencies using Poetry or the install target:
make install
- Copy the config file template "castme.toml.template" to one of the supported directory and update the values inside
- "castme.toml"
- "~/.config/castme.toml"
- "/etc/castme.toml"
Usage
- Run the script, a REPL will appear:
> poetry run castme
Loading config from /home/blizarre/.config/castme.toml
Finding chromecast
Waiting for cast to be ready
Chromecast ready
CastMe
>> play Harold enItal
Playing song Harold in the mountains (Adagio - Allegro) / Harold en Italie by Hector Berlioz
>> queue
0 The Pilgrim's Procession (Allegretto) / Harold en Italie by Hector Berlioz
1 Serenade of an Abruzzian highlander (Allegro assai) / Harold en Italie by Hector Berlioz
2 The Robbers' orgies (Allegro frenetico) / Harold en Italie by Hector Berlioz
>> playpause
>> playpause
>> quit
commands: help list next play playpause queue quit volume
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file castme-0.1.3.tar.gz
.
File metadata
- Download URL: castme-0.1.3.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.5-1-clear
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f4bb2655d31276e432fec0003d49ff3385988e2e9bf7e6cd952497adba6bb8 |
|
MD5 | 37a66cc6253590286eb3eddd2ee4dc37 |
|
BLAKE2b-256 | eec8051e575a6aeee3bcb07d782af43c054a104b07723cc76ee5772bfcc34b90 |
File details
Details for the file castme-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: castme-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.5-1-clear
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1856469a88ab09e3f3f0f53d18cc801a1406a98ce999491569e0fc4cfdd2ae9 |
|
MD5 | c362fce37a22aefe950020b1a142c5ee |
|
BLAKE2b-256 | 616b1d20710b4677a6b83efdb026a00ce08608e9c0d0f0fab2f1605619e4d12f |