mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
Improve PlaybackManager stability, added PlaybackBar
- PlaybackManager now takes ownership of set items - PlaybackManager can play items just by their itemId, avoids useless item creation on the QML side of things. - Allow calling Jellyfin::registerTypes with a different URI - Minor code cleanup
This commit is contained in:
parent
7e77abc173
commit
b699f6e74d
12 changed files with 170 additions and 16 deletions
|
@ -78,8 +78,7 @@ BaseDetailPage {
|
|||
artists: model.artists
|
||||
duration: model.runTimeTicks
|
||||
indexNumber: model.indexNumber
|
||||
onClicked: window.playbackManager.item = Qt.createQmlObject("import nl.netsoj.chris.Jellyfin 1.0;"
|
||||
+ "JellyfinItem { jellyfinId: \"" + model.id + "\"; apiClient: ApiClient; }", songDelegate, "nonexistent.qml");
|
||||
onClicked: window.playbackManager.playItem(model.id)
|
||||
}
|
||||
|
||||
VerticalScrollDecorator {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue