1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-16 14:35:17 +00:00
harbour-sailfin/core/include/JellyfinQt
Chris Josten c72c10bad4
core: Split PlaybackManager up into smaller parts
The PlaybackManager was a giant class that handled UI bindings, fetching
stream URLS, playback logic.

It now has been split up into:

- ViewModel::PlaybackManager, which handles UI interfacing and allowing
  to swap out the Model::Playback implementation on the fly.
- Model::PlaybackManager, which is an interface for what a
  PlaybackManager must do, handling queues/playlists, and controlling a
  player.
- Model::LocalPlaybackManager, which is an Model::PlaybackManager
  implementation for playing back Jellyfin media within the application.
- Model::PlaybackReporter, which reports the current playback state to
  the Jellyfin server, for keeping track of played items.
- Model::Player, which handles playing back media from an URL and
  the usual play/pause et cetera.

In a future commit, this would allow for introducing a
Model::RemoteJellyfinPlaybackManager, to control other Jellyfin
instances.
2022-11-05 18:20:23 +01:00
..
dto Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
loader Refractor ApiClient and add support for body params 2021-09-03 03:47:25 +02:00
model core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
platform/freedesktop core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
support Add artist overview page 2022-07-29 11:45:23 +02:00
viewmodel core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
apiclient.h Add support for server-side notifications 2021-09-09 02:18:10 +02:00
apimodel.h core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
credentialmanager.h Rewire more of Sailfish frontend into new backend 2021-08-11 23:35:33 +02:00
eventbus.h Add support for handling playstate commands 2021-09-10 01:36:30 +02:00
jellyfin.h Make libJellyfinQt a proper qml plugin 2021-09-08 21:36:26 +02:00
jsonhelper.h Moved playback logic to C++-side (and refractoring) 2021-02-20 23:20:39 +01:00
qobjectsettingswrapper.h Add basic settings framework 2021-09-02 15:34:32 +02:00
serverdiscoverymodel.h Big C++ refractor 2021-02-17 19:42:10 +01:00
websocket.h Add support for server-side notifications 2021-09-09 02:18:10 +02:00