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.4.tar.gz
.
File metadata
- Download URL: castme-0.1.4.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 | 2e829b7844dd087df6d1f2cfe148bcf19d229502594361e6db67eb3c36c466f5 |
|
MD5 | 2a1efae7bf5893211141d5f6b9475f08 |
|
BLAKE2b-256 | 60b3a3f9df6ea35f85764685934417898ad5e0e452b2369f4640892c5bad074e |
File details
Details for the file castme-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: castme-0.1.4-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 | c7bc68192a8c742d8cc50773da9e7ddc548b7cdd4c592a379105999dba1badd9 |
|
MD5 | 7655127e4eca4a72b074e74ff05223fa |
|
BLAKE2b-256 | 587907a12e0fd64a1e334bf4c5ee76de510d8c76b39334366672ff3cc45cb7b5 |