-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I see that media control on Linux has been implemented via MPRIS. It would be great to have this functionality on all platforms.
Describe the solution you'd like
There's a crate - https://github.com/Sinono3/souvlaki - which abstracts away media control under a unified function. It not only supports Linux (via MPRIS), but also has full support for Windows and macOS.
Describe alternatives you've considered
None
Additional context
This is what a typical function looks like in souvlaki:
controls
.set_metadata(MediaMetadata {
title: Some("When The Sun Hits"),
album: Some("Souvlaki"),
artist: Some("Slowdive"),
duration: Some(Duration::from_secs_f64(4.0 * 60.0 + 50.0)),
cover_url: Some("https://c.pxhere.com/photos/34/c1/souvlaki_authentic_greek_greek_food_mezes-497780.jpg!d"),
})
.unwrap();See https://github.com/Sinono3/souvlaki/tree/master/examples for more examples.
antonbasic, yougotwill, magikmw and fabiomcosta
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request