1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-22 01:05:17 +00:00
harbour-sailfin/sailfish/qml
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
..
components core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
cover Small user interface tweaks 2021-09-10 05:18:05 +02:00
licenses Update licensing 2021-09-10 06:04:29 +02:00
pages Add navigation to artists from tracks 2022-07-30 01:24:31 +02:00
3rdparty.xml Update licensing 2021-09-10 06:04:29 +02:00
Constants.qml Add artist overview page 2022-07-29 11:45:23 +02:00
harbour-sailfin.qml core: Split PlaybackManager up into smaller parts 2022-11-05 18:20:23 +01:00
icon.png Deserialized a list! Restructured project! 2020-10-08 03:00:08 +02:00
qmldir Rewire more of Sailfish frontend into new backend 2021-08-11 23:35:33 +02:00
Utils.js Add music library page 2022-07-29 14:26:25 +02:00