1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-12-22 22:15:17 +00:00
harbour-sailfin/core/include/JellyfinQt/viewmodel
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
..
item.h Add navigation to artists from tracks 2022-07-30 01:24:31 +02:00
itemmodel.h Add navigation to artists from tracks 2022-07-30 01:24:31 +02:00
loader.h Fix a few bugs and unimplemented features 2021-09-09 06:02:44 +02:00
mediastream.h Add track selection back 2021-08-23 01:48:19 +02:00
modelstatus.h Resolved remaining issues with ApiModel 2021-03-29 17:10:25 +02:00
platformmediacontrol.h Add MPRIS support 2021-08-31 01:29:51 +02:00
playbackmanager.h core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
playlist.h Add navigation to artists from tracks 2022-07-30 01:24:31 +02:00
propertyhelper.h WIP: Reimplementation of ListModels. 2021-03-26 21:27:35 +01:00
settings.h Add user-configurable playback settings 2021-09-08 21:44:42 +02:00
user.h openapi: group endpoints by tag in file 2021-09-01 14:50:02 +02:00
userdata.h Rewire more of Sailfish frontend into new backend 2021-08-11 23:35:33 +02:00
usermodel.h openapi: group endpoints by tag in file 2021-09-01 14:50:02 +02:00
utils.h Move QObject-wrapping code into templates 2022-08-24 17:00:14 +02:00