mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
[2/3] update openapi spec: generate code
This updates the openapi spec and invokes the code generator to update to the Jellyfin 10.10.6 API. A big motivation to do this was because some mandatory fields have been made obsolete and are no longer included in responses. Sailfin tries to deserialize these mandatory fields and fails deserializing. It was evident in the list of sessions to control. The failing was a bit too gracefully in my opinion, it did not even show that an error occurred, nor was it logged anywhere. It took some time to debug.
This commit is contained in:
parent
eeb9183909
commit
d685b48ec1
504 changed files with 62190 additions and 41202 deletions
|
@ -50,7 +50,7 @@ namespace DTO {
|
|||
class PlaybackInfoDto {
|
||||
public:
|
||||
PlaybackInfoDto(
|
||||
QSharedPointer<DeviceProfile> deviceProfile
|
||||
QSharedPointer<DeviceProfile> deviceProfile
|
||||
);
|
||||
|
||||
PlaybackInfoDto(const PlaybackInfoDto &other);
|
||||
|
@ -224,6 +224,17 @@ public:
|
|||
bool autoOpenLiveStreamNull() const;
|
||||
void setAutoOpenLiveStreamNull();
|
||||
|
||||
/**
|
||||
* @brief Gets or sets a value indicating whether always burn in subtitles when transcoding.
|
||||
*/
|
||||
std::optional<bool> alwaysBurnInSubtitleWhenTranscoding() const;
|
||||
/**
|
||||
* @brief Gets or sets a value indicating whether always burn in subtitles when transcoding.
|
||||
*/
|
||||
void setAlwaysBurnInSubtitleWhenTranscoding(std::optional<bool> newAlwaysBurnInSubtitleWhenTranscoding);
|
||||
bool alwaysBurnInSubtitleWhenTranscodingNull() const;
|
||||
void setAlwaysBurnInSubtitleWhenTranscodingNull();
|
||||
|
||||
|
||||
protected:
|
||||
QString m_userId;
|
||||
|
@ -241,6 +252,7 @@ protected:
|
|||
std::optional<bool> m_allowVideoStreamCopy = std::nullopt;
|
||||
std::optional<bool> m_allowAudioStreamCopy = std::nullopt;
|
||||
std::optional<bool> m_autoOpenLiveStream = std::nullopt;
|
||||
std::optional<bool> m_alwaysBurnInSubtitleWhenTranscoding = std::nullopt;
|
||||
|
||||
private:
|
||||
// Private constructor which generates an invalid object, for use withing PlaybackInfoDto::fromJson();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue