1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-09 15:42:42 +00:00
harbour-sailfin/core/src
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.cpp Fix authentication 2022-07-20 23:13:42 +02:00
apimodel.cpp Add music library page 2022-07-29 14:26:25 +02:00
credentialmanager.cpp Rewire more of Sailfish frontend into new backend 2021-08-11 23:35:33 +02:00
eventbus.cpp WIP: logic rewrite 2021-03-24 20:04:03 +01:00
jellyfin.cpp core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
jsonhelper.cpp Moved playback logic to C++-side (and refractoring) 2021-02-20 23:20:39 +01:00
qobjectsettingswrapper.cpp Add basic settings framework 2021-09-02 15:34:32 +02:00
serverdiscoverymodel.cpp Big C++ refractor 2021-02-17 19:42:10 +01:00
websocket.cpp Update UserData based when notified over websocket 2021-09-10 05:17:28 +02:00