Spotify for Fennec OS: native TV client
All checks were successful
release / release (push) Successful in 12m14s
All checks were successful
release / release (push) Successful in 12m14s
Rust + Slint on sf-ui's Liquid Glass, with the page engine of Netflex TV. librespot plays (GStreamer on the TV) and makes the TV a Spotify Connect device; the Web API (token from the session) feeds the pages. - Sign-in with the phone: a pairing code / QR code (spotify.com/pair, OAuth device flow) or picking the TV in the Spotify app (zeroconf). - Home, search, library, playlist / album / liked songs / podcast pages, artist pages, settings; the user's picture top right. - Now playing: seek, shuffle, repeat, like, synced lyrics, queue. - package.sh builds x86-64 and aarch64 (Raspberry Pi); the Gitea CI releases both on a tag. - tools/mock_server.py and SPOTIFY_MOCK for work without an account. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
46
Cargo.toml
Normal file
46
Cargo.toml
Normal file
@@ -0,0 +1,46 @@
|
||||
[package]
|
||||
name = "spotify-tv"
|
||||
description = "Spotify for Fennec OS: native TV client with Liquid Glass, Spotify Connect and librespot playback"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
# sf-ui (and Slint) are GPL-3.0 on a TV box; librespot is MIT.
|
||||
license = "GPL-3.0-only"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
# The Fennec OS UI kit (Fennec SDK): Liquid Glass, TV components, images.
|
||||
sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.1" }
|
||||
slint = "1.18"
|
||||
anyhow = "1"
|
||||
log = "0.4"
|
||||
env_logger = "0.11"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
toml = "0.9"
|
||||
ureq = { version = "3", features = ["json"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "signal"] }
|
||||
futures-util = { version = "0.3", default-features = false }
|
||||
# The pairing QR code on the sign-in screen.
|
||||
qrcode = { version = "0.14", default-features = false }
|
||||
# Spotify: session, Connect (Spirc), zeroconf sign-in, playback.
|
||||
librespot-core = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] }
|
||||
librespot-connect = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] }
|
||||
librespot-discovery = { version = "0.8", default-features = false, features = ["with-libmdns"] }
|
||||
librespot-metadata = { version = "0.8", default-features = false }
|
||||
|
||||
# Sound: GStreamer on the TV (PipeWire), rodio elsewhere (UI work on Windows).
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
librespot-playback = { version = "0.8", default-features = false, features = ["gstreamer-backend", "rustls-tls-webpki-roots"] }
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
librespot-playback = { version = "0.8", default-features = false, features = ["rodio-backend", "rustls-tls-webpki-roots"] }
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.18"
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
strip = true
|
||||
|
||||
# Its own workspace (not part of any checkout around it).
|
||||
[workspace]
|
||||
Reference in New Issue
Block a user