Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chromecast: add chromecast support #65

Merged
merged 6 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
537 changes: 448 additions & 89 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
A modern take on the [Rockbox](https://www.rockbox.org) open-source firmware with enhancements in Zig and Rust. This project offers:

- gRPC & GraphQL APIs for seamless interaction and control
- Chromecast support for streaming to your TV
- [MPD](https://mpd.readthedocs.io/en/stable/protocol.html) server for compatibility with existing clients
- [MPRIS](https://specifications.freedesktop.org/mpris-spec/) support for desktop integration
- TypeScript support for building powerful extensions
Expand Down Expand Up @@ -66,7 +67,7 @@ MacOS, currently not supported, but you can run in a docker container.

## 📦 Downloads

- `Linux`: intel: [rockbox_2024.11.13_x86_64-linux.tar.gz](https://github.com/tsirysndr/rockbox-zig/releases/download/2024.11.13/rockbox_2024.11.13_x86_64-linux.tar.gz) arm64: [rockbox_2024.11.13_aarch64-linux.tar.gz](https://github.com/tsirysndr/rockbox-zig/releases/download/2024.11.13/rockbox_2024.11.13_aarch64-linux.tar.gz)
- `Linux`: intel: [rockbox_2024.11.18_x86_64-linux.tar.gz](https://github.com/tsirysndr/rockbox-zig/releases/download/2024.11.18/rockbox_2024.11.18_x86_64-linux.tar.gz) arm64: [rockbox_2024.11.18_aarch64-linux.tar.gz](https://github.com/tsirysndr/rockbox-zig/releases/download/2024.11.18/rockbox_2024.11.18_aarch64-linux.tar.gz)


## ✨ Features
Expand All @@ -85,7 +86,7 @@ MacOS, currently not supported, but you can run in a docker container.
- [ ] Stream from Youtube (audio only)
- [ ] Stream from Spotify
- [ ] Stream from Tidal
- [ ] Stream to Chromecast
- [x] Stream to Chromecast
- [ ] Stream to Kodi
- [ ] TuneIn Radio
- [x] MPD Server
Expand Down
18 changes: 18 additions & 0 deletions crates/chromecast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
edition = "2021"
name = "rockbox-chromecast"
version = "0.1.0"

[dependencies]
anyhow = "1.0.93"
async-trait = "0.1.83"
chromecast = {version = "0.18.2", features = ["thread_safe"]}
futures = "0.3.31"
md5 = "0.7.0"
rockbox-graphql = {path = "../graphql"}
rockbox-library = {path = "../library"}
rockbox-traits = {path = "../traits"}
rockbox-types = {path = "../types"}
sqlx = {version = "0.8.2", features = ["runtime-tokio", "tls-rustls", "sqlite", "chrono", "derive", "macros"]}
tokio = {version = "1.36.0", features = ["full"]}
tokio-stream = "0.1"
Loading