1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-12-22 14:05:18 +00:00
harbour-sailfin/core
Chris Josten 6ed623d0f8 core/RemoteJellyfinPlaybackManager: keep queue in sync
The playback queue is now kept in sync with the playback queue of the
remote jellyfin instance the manager is controlling.

Some additional guards were added in place in the shuffle and playlist
algorithm, since the situation can occur where the now playing index
falls outside of the playing playlist. This happens because when the
an playlist update is received, we need to do another HTTP request
before we know which items are in the queue, while the now playing index
has been updated.

This is a not-optimal way to fix that, but it works well enough for now
and a better solution can be implemented later. (Hello, person in the
future reading the git blame output!)
2024-01-02 00:19:13 +01:00
..
codegen Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
dbus Add MPRIS support 2021-08-31 01:29:51 +02:00
include/JellyfinQt core/RemoteJellyfinPlaybackManager: keep queue in sync 2024-01-02 00:19:13 +01:00
qrc WIP: Playlist support 2021-05-21 15:46:30 +02:00
src core/RemoteJellyfinPlaybackManager: keep queue in sync 2024-01-02 00:19:13 +01:00
CMakeLists.txt Discover remote sessions 2023-01-02 20:05:41 +01:00
GeneratedSources.cmake openapi: group endpoints by tag in file 2021-09-01 14:50:02 +02:00
JellyfinQt.qmltypes Make libJellyfinQt a proper qml plugin 2021-09-08 21:36:26 +02:00
openapi.json core: send start index when playing on remote session 2023-01-05 15:53:52 +01:00
openapigenerator.d openapigen: support for 204 No Content endpoints 2023-01-02 20:24:40 +01:00
qmldir Make libJellyfinQt a proper qml plugin 2021-09-08 21:36:26 +02:00
README.md Slight improvements to the OpenAPI generator 2021-02-21 00:26:18 +01:00

Jellyfin-Qt

This folder contains the core library containing most of the non-interface UI logic and platform-independent parts.

Code generation.

Parts of the code (notably the data models) are generated from the OpenApi description provided by the Jellyfin server. The code generator uses the D programming language and expects to be run through DMD. Make sure both a D compiler and DMD are installed. Afterwards, on Unix-like systems, marking the "script" as executable and running it should be enough. On Windows, one probably needs to run dub.exe openapigenerator.d, but I haven't verified it myself.