mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
WIP: Playlist support
This commit is contained in:
parent
228f81984b
commit
fbc154fb56
16 changed files with 481 additions and 27 deletions
|
@ -3,5 +3,5 @@ import QtQuick 2.12
|
|||
import nl.netsoj.chris.Jellyfin 1.0 as J
|
||||
|
||||
J.ApiClient {
|
||||
supportedCommands: [J.GeneralCommandType.Play]
|
||||
supportedCommands: [J.GeneralCommandType.Play, J.GeneralCommandType.DisplayContent, J.GeneralCommandType.DisplayMessage]
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ Page {
|
|||
icon.source: ApiClient.baseUrl + "/Items/" + model.jellyfinId + "/Images/Primary?tag=" + model.tag
|
||||
text: model.name
|
||||
width: parent.width
|
||||
onClicked: playbackManager.play(model.jellyfinId)
|
||||
onClicked: playbackManager.playItem(model.jellyfinId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue