mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Add MPRIS support
Besides MPRIS support, this also adds support for hasPrevious() and hasNext() in several parts to determine whether the player/playlist/shuffler has a previous or next item.
This commit is contained in:
parent
757327ceac
commit
54235f298e
23 changed files with 2574 additions and 2 deletions
|
@ -51,6 +51,15 @@ ApplicationWindow {
|
|||
supportedCommands: [GeneralCommandType.Play, GeneralCommandType.DisplayContent, GeneralCommandType.DisplayMessage]
|
||||
}
|
||||
|
||||
PlatformMediaControl {
|
||||
playbackManager: appWindow.playbackManager
|
||||
canQuit: fasle
|
||||
desktopFile: "harbour-sailfin"
|
||||
playerName: "Sailfin"
|
||||
canRaise: true
|
||||
onRaiseRequested: appWindow.raise()
|
||||
}
|
||||
|
||||
initialPage: Component {
|
||||
MainPage {
|
||||
Connections {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue