Implemented the following getters for MPRIS: - CanQuit - CanRaise - HasTrackList - Identity - DesktopEntry - SupportedUriSchemas - SupportedMimeTypes - Metadata - CanPlay / CanPause / CanSeek - CanControl - PlaybackStatus Implemented a koto_push_track_info_to_builder function that enables us to easily push KotoIndexedTrack as well as associated album and artist info to a GVariantBuilder for use in a GVariant for various getters. Implemented a koto_update_mpris_info_for_track function that emits a signal for PropertiesChanged + "Metadata" when our track info changes.
40 lines
926 B
JSON
40 lines
926 B
JSON
{
|
|
"app-id" : "com.github.joshstrobl.koto",
|
|
"runtime" : "org.gnome.Platform",
|
|
"runtime-version" : "40",
|
|
"sdk" : "org.gnome.Sdk",
|
|
"command" : "com.github.joshstrobl.koto",
|
|
"finish-args" : [
|
|
"--share=network",
|
|
"--share=ipc",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland"
|
|
],
|
|
"cleanup" : [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/man",
|
|
"/share/doc",
|
|
"/share/gtk-doc",
|
|
"/share/man",
|
|
"/share/pkgconfig",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"modules" : [
|
|
{
|
|
"name" : "koto",
|
|
"builddir" : true,
|
|
"buildsystem" : "meson",
|
|
"sources" : [
|
|
{
|
|
"type" : "git",
|
|
"url" : "https://github.com/JoshStrobl/koto.git"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"build-options" : {
|
|
"env" : { }
|
|
}
|
|
}
|