respond in mpris

This commit is contained in:
psykose 2024-11-06 19:09:12 +01:00
parent 6c87e5c29b
commit 6b8b361ba8

View file

@ -242,35 +242,35 @@ impl Player {
#[zbus::interface(name = "org.mpris.MediaPlayer2.Player")]
impl Player {
fn next(&self) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn previous(&self) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn pause(&self) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn play_pause(&self) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn stop(&self) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn play(&self) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn seek(&self, _offset: i64) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn set_position(&self, _track_id: ObjectPath<'_>, _position: i64) -> zbus::fdo::Result<()> {
todo!()
Err(zbus::fdo::Error::NotSupported("not implemented".into()))
}
fn open_uri(&self, _s: String) -> zbus::fdo::Result<()> {