mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-03 16:41:26 +01:00
- MPRIS on Linux and SMTC on Windows through souvlaki: play/pause, next, previous, stop and seeking from media keys and the panel widget, with the title, episode, duration and the cached cover as a file:// URL - the screensaver is held off while a film plays on the player page, through the desktop portal with org.freedesktop.ScreenSaver as the fallback, and SetThreadExecutionState on Windows. mpv's own stop-screensaver has no window to act for under the render API
40 lines
958 B
TOML
40 lines
958 B
TOML
[package]
|
|
name = "pstr-app"
|
|
description = "The proton-stream desktop application."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
|
|
[[bin]]
|
|
name = "proton-stream"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
pstr-core.workspace = true
|
|
pstr-meta.workspace = true
|
|
pstr-stream.workspace = true
|
|
pstr-player.workspace = true
|
|
tokio.workspace = true
|
|
futures.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
eframe.workspace = true
|
|
egui.workspace = true
|
|
image.workspace = true
|
|
sha2.workspace = true
|
|
parking_lot.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
souvlaki.workspace = true
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
dbus.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { workspace = true, features = ["Win32_System_Power"] }
|
|
raw-window-handle = "0.6"
|