
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
CastMe is a simple Python REPL that allows you to cast music from a Subsonic server to a Chromecast device, or to the local 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.
castme
is available directly in pypi:
pip install castme
Just create the configuration file using --init
and edit the content:
> castme --init
Configuration initialized in /home/blizarre/.config/castme.toml, please edit it before starting castme again
Castme will automatically look for the castme.toml
file in /etc
or in the current directory as well. use --config
in conjunction with --init
to set the location of the configuration file.
Run the script, and enter the commands in the REPL. For instance:
$ castme
Currently playing on chromecast
[chromecast] >> list
Saint-Saëns: Le carnaval des animaux Le onde
Brandenburg Concertos 5 and 6 - Violin Concerto Harold en Italie
[chromecast] >> queue Harld enI
Queueing Harold en Italie
[chromecast] >> queue
1 Harold in the mountains (Adagio - Allegro) / Harold en Italie by Hector Berlioz
2 The Pilgrim's Procession (Allegretto) / Harold en Italie by Hector Berlioz
3 Serenade of an Abruzzian highlander (Allegro assai) / Harold en Italie by Hector Berlioz
4 The Robbers' orgies (Allegro frenetico) / Harold en Italie by Hector Berlioz
[chromecast] >> volume 50
[chromecast] >> volume +20
[chromecast] >> playpause
[chromecast] >> playpause
[chromecast] >> switch
Available targets: chromecast, local
[chromecast] >> switch local
[local] >> next
[local] >> q
1 The Pilgrim's Procession (Allegretto) / Harold en Italie by Hector Berlioz
2 Serenade of an Abruzzian highlander (Allegro assai) / Harold en Italie by Hector Berlioz
3 The Robbers' orgies (Allegro frenetico) / Harold en Italie by Hector Berlioz
>> quit
commands: help, list (l), next (n), rewind (r), play (p), playpause (pp), queue (q), quit (x), volume (v), clear (c)
.
Aliases are defined for the most common commands (in parenthesis).
install
makefile target:make install
During development, make dev
will run the formatters and linters for the project.
There is a debug mode that print additional information at runtime. Use the --debug
flag.
FAQs
REPL to stream music from a Subsonic server to a chromecast
We found that castme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.