respond in mpris
This commit is contained in:
parent
6c87e5c29b
commit
6b8b361ba8
1 changed files with 8 additions and 8 deletions
|
@ -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<()> {
|
||||
|
|
Loading…
Reference in a new issue