use mpris_server::{
Playlist, PlaylistId, PlaylistOrdering, PlaylistsInterface,
zbus::{Error as ZbusError, fdo},
};
use crate::Mpris;
impl PlaylistsInterface for Mpris {
async fn activate_playlist(&self, playlist_id: PlaylistId) -> fdo::Result<()> {
todo!()
}
async fn get_playlists(
&self,
index: u32,
max_count: u32,
order: PlaylistOrdering,
reverse_order: bool,
) -> fdo::Result<Vec<Playlist>> {
todo!()
}
async fn playlist_count(&self) -> fdo::Result<u32> {
todo!()
}
async fn orderings(&self) -> fdo::Result<Vec<PlaylistOrdering>> {
Ok(vec![PlaylistOrdering::CreationDate])
}
async fn active_playlist(&self) -> fdo::Result<Option<Playlist>> {
Ok(None)
}
}