mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-12-07 16:03:55 +00:00
THe idea behind the switching was to provide gapless playback, but it made the code too complicated and to intertwined with QtMultiMedia. I might attempt to implement it later, but I probably will put the code in a separate class to make it easier to swap the QtMultiMedia implementation with a multimedia implementation for a player with better support for gappless playback. |
||
|---|---|---|
| .. | ||
| codegen | ||
| include/JellyfinQt | ||
| qrc | ||
| src | ||
| CMakeLists.txt | ||
| GeneratedSources.cmake | ||
| openapi.json | ||
| openapigenerator.d | ||
| qmldir | ||
| README.md | ||
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.