mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-25 02:15:17 +00:00
Refractor ApiClient and add support for body params
ApiClient was refractored to use PIMPL. This is mainly done to reduce compile times whenever the implementation of ApiClient itself changes, since a lot of files include it. The loaders have gained support for body parameters, this was somehow omitted before.
This commit is contained in:
parent
1453cbbc63
commit
96ecd8e7d8
|
@ -18,6 +18,8 @@ public:
|
|||
protected:
|
||||
QString path(const {{e.endpoint.parameterType}}& parameters) const override;
|
||||
QUrlQuery query(const {{e.endpoint.parameterType}}& parameters) const override;
|
||||
QByteArray body(const {{e.endpoint.parameterType}}& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
|
|
@ -35,5 +35,23 @@ QUrlQuery {{e.className}}Loader::query(const {{e.endpoint.parameterType}} ¶m
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray {{e.className}}Loader::body(const {{e.endpoint.parameterType}} ¶ms) const {
|
||||
|
||||
{{#if e.endpoint.bodyParameters.length == 1}}
|
||||
return Support::toString<{{e.endpoint.bodyParameters[0].type.typeNameWithQualifiers}}>(params.body()).toUtf8();
|
||||
|
||||
{{else}}
|
||||
return QByteArray();
|
||||
|
||||
{{/if}}
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation {{e.className}}Loader::operation() const {
|
||||
// HTTP method {{e.operation}}
|
||||
|
||||
return QNetworkAccessManager::{{e.operation}}Operation;
|
||||
|
||||
}
|
||||
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
|
|
@ -51,6 +51,18 @@ private:
|
|||
|
||||
{{/each}}
|
||||
|
||||
{{#if e.bodyParameters.length > 0}}
|
||||
// Body parameters
|
||||
|
||||
{{#if e.bodyParameters.length == 1}}
|
||||
{{e.bodyParameters[0].type.typeNameWithQualifiers}} m_body;
|
||||
|
||||
{{else}}
|
||||
//FIXME: Multiple body options not implemented.
|
||||
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include <QHostInfo>
|
||||
#include <QObject>
|
||||
#include <QQmlListProperty>
|
||||
#include <QScopedPointer>
|
||||
#include <QString>
|
||||
#include <QSysInfo>
|
||||
#include <QtQml>
|
||||
|
@ -46,6 +47,10 @@ namespace Jellyfin {
|
|||
class PlaybackManager;
|
||||
class WebSocket;
|
||||
|
||||
namespace ViewModel {
|
||||
class Settings;
|
||||
}
|
||||
|
||||
namespace DTO {
|
||||
class UserItemDataDto; // Keep it as an opaque pointer
|
||||
using UserData = UserItemDataDto;
|
||||
|
@ -53,6 +58,8 @@ namespace DTO {
|
|||
|
||||
using namespace DTO;
|
||||
|
||||
class ApiClientPrivate;
|
||||
|
||||
/**
|
||||
* @brief An Api client for Jellyfin. Handles requests and authentication.
|
||||
*
|
||||
|
@ -82,16 +89,19 @@ class ApiClient : public QObject {
|
|||
friend class WebSocket;
|
||||
friend class PlaybackManager;
|
||||
Q_OBJECT
|
||||
Q_DECLARE_PRIVATE(ApiClient);
|
||||
public:
|
||||
explicit ApiClient(QObject *parent = nullptr);
|
||||
Q_PROPERTY(QString baseUrl MEMBER m_baseUrl READ baseUrl NOTIFY baseUrlChanged)
|
||||
virtual ~ApiClient();
|
||||
Q_PROPERTY(QString baseUrl READ baseUrl WRITE setBaseUrl NOTIFY baseUrlChanged)
|
||||
Q_PROPERTY(bool authenticated READ authenticated WRITE setAuthenticated NOTIFY authenticatedChanged)
|
||||
Q_PROPERTY(QString userId READ userId NOTIFY userIdChanged)
|
||||
Q_PROPERTY(QJsonObject deviceProfile READ deviceProfile NOTIFY deviceProfileChanged)
|
||||
Q_PROPERTY(QString version READ version)
|
||||
Q_PROPERTY(EventBus *eventbus READ eventbus FINAL)
|
||||
Q_PROPERTY(WebSocket *websocket READ websocket FINAL)
|
||||
Q_PROPERTY(Jellyfin::WebSocket *websocket READ websocket FINAL)
|
||||
Q_PROPERTY(QVariantList supportedCommands READ supportedCommands WRITE setSupportedCommands NOTIFY supportedCommandsChanged)
|
||||
Q_PROPERTY(Jellyfin::ViewModel::Settings *settings READ settings NOTIFY settingsChanged)
|
||||
/**
|
||||
* Wether this ApiClient operates in "online mode".
|
||||
*
|
||||
|
@ -100,20 +110,11 @@ public:
|
|||
*/
|
||||
Q_PROPERTY(bool online READ online NOTIFY onlineChanged)
|
||||
|
||||
/*QNetworkReply *handleRequest(QString path, QStringList sort, Pagination *pagination,
|
||||
QVariantMap filters, QStringList fields, QStringList expand, QString id);*/
|
||||
|
||||
bool authenticated() const { return m_authenticated; }
|
||||
void setBaseUrl(QString url) {
|
||||
this->m_baseUrl = url;
|
||||
if (this->m_baseUrl.endsWith("/")) {
|
||||
this->m_baseUrl.chop(1);
|
||||
}
|
||||
emit this->baseUrlChanged(m_baseUrl);
|
||||
}
|
||||
|
||||
bool authenticated() const;
|
||||
void setBaseUrl(const QString &url);
|
||||
QNetworkReply *get(const QString &path, const QUrlQuery ¶ms = QUrlQuery());
|
||||
QNetworkReply *post(const QString &path, const QJsonDocument &data = QJsonDocument(), const QUrlQuery ¶ms = QUrlQuery());
|
||||
QNetworkReply *post(const QString &path, const QJsonDocument &data, const QUrlQuery ¶ms = QUrlQuery());
|
||||
QNetworkReply *post(const QString &path, const QByteArray &data = QByteArray(), const QUrlQuery ¶ms = QUrlQuery());
|
||||
|
||||
enum ApiError {
|
||||
JSON_ERROR,
|
||||
|
@ -123,9 +124,9 @@ public:
|
|||
};
|
||||
Q_ENUM(ApiError)
|
||||
|
||||
const QString &baseUrl() const { return this->m_baseUrl; }
|
||||
const QString userId() const { return m_userId; }
|
||||
const QString &deviceId() const { return m_deviceId; }
|
||||
const QString &baseUrl() const;
|
||||
const QString &userId() const;
|
||||
const QString &deviceId() const;
|
||||
/**
|
||||
* @brief QML applications can set this type to indicate which commands they support.
|
||||
*
|
||||
|
@ -136,19 +137,21 @@ public:
|
|||
* The list support commands will be sent to the Jellyfin server. QML applications should listen to
|
||||
* the events emitted by the eventBus and act accordingly.
|
||||
*/
|
||||
QVariantList supportedCommands() const { return m_supportedCommands; }
|
||||
void setSupportedCommands(QVariantList newSupportedCommands) { m_supportedCommands = newSupportedCommands; emit supportedCommandsChanged(); }
|
||||
QJsonObject &deviceProfile() { return m_deviceProfile; }
|
||||
QJsonObject &playbackDeviceProfile() { return m_playbackDeviceProfile; }
|
||||
QVariantList supportedCommands() const ;
|
||||
void setSupportedCommands(QVariantList newSupportedCommands);
|
||||
const QJsonObject &deviceProfile() const;
|
||||
const QJsonObject &playbackDeviceProfile() const;
|
||||
/**
|
||||
* @brief Retrieves the authentication token. Null QString if not authenticated.
|
||||
* @note This is not the full authentication header, just the token.
|
||||
*/
|
||||
QString &token() { return m_token; }
|
||||
const QString &token() const;
|
||||
QString version() const;
|
||||
EventBus *eventbus() const { return m_eventbus; }
|
||||
WebSocket *websocket() const { return m_webSocket; }
|
||||
bool online() const { return m_online; }
|
||||
bool online() const;
|
||||
|
||||
EventBus *eventbus() const;
|
||||
WebSocket *websocket() const;
|
||||
ViewModel::Settings * settings() const;
|
||||
|
||||
/**
|
||||
* @brief Sets the error handler of a reply to this classes default error handler
|
||||
|
@ -179,6 +182,7 @@ signals:
|
|||
|
||||
void authenticatedChanged(bool authenticated);
|
||||
void baseUrlChanged(const QString &baseUrl);
|
||||
void settingsChanged();
|
||||
|
||||
/**
|
||||
* @brief Set-up is required. You'll need to manually set up the baseUrl-property, call setupConnection
|
||||
|
@ -241,13 +245,13 @@ protected:
|
|||
* @param request The request to add headers to
|
||||
* @param path The path to which the request is being made
|
||||
*/
|
||||
void addBaseRequestHeaders(QNetworkRequest &request, const QString &path, const QUrlQuery ¶ms = QUrlQuery());
|
||||
void addBaseRequestHeaders(QNetworkRequest &request, const QString &path, const QUrlQuery ¶ms = QUrlQuery()) const;
|
||||
|
||||
/**
|
||||
* @brief Adds the authorization to the header
|
||||
* @param The request to add the header to
|
||||
*/
|
||||
void addTokenHeader(QNetworkRequest &request);
|
||||
void addTokenHeader(QNetworkRequest &request) const;
|
||||
|
||||
/**
|
||||
* @brief getBrandingConfiguration Gets the login message and custom CSS (which we ignore)
|
||||
|
@ -265,47 +269,16 @@ protected:
|
|||
|
||||
|
||||
private:
|
||||
QScopedPointer<ApiClientPrivate> d_ptr;
|
||||
QNetworkAccessManager m_naManager;
|
||||
/*
|
||||
* State information
|
||||
*/
|
||||
WebSocket *m_webSocket;
|
||||
EventBus *m_eventbus;
|
||||
CredentialsManager * m_credManager;
|
||||
QString m_token;
|
||||
QString m_deviceName;
|
||||
QString m_deviceId;
|
||||
QString m_userId;
|
||||
QJsonObject m_deviceProfile;
|
||||
QJsonObject m_playbackDeviceProfile;
|
||||
bool m_online = true;
|
||||
QVariantList m_supportedCommands;
|
||||
|
||||
bool m_authenticated = false;
|
||||
/**
|
||||
* @brief The base url of the request.
|
||||
*/
|
||||
QString m_baseUrl;
|
||||
|
||||
/*
|
||||
* Setters
|
||||
*/
|
||||
|
||||
void setAuthenticated(bool authenticated);
|
||||
|
||||
void setUserId(QString userId) {
|
||||
this->m_userId = userId;
|
||||
emit userIdChanged(userId);
|
||||
}
|
||||
|
||||
/*
|
||||
* Utilities
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Retreives the device ID or generates a random one.
|
||||
*/
|
||||
QUuid retrieveDeviceId();
|
||||
void setUserId(const QString &userId);
|
||||
|
||||
/**
|
||||
* @brief Returns the statusCode of a QNetworkReply
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "viewmodel/platformmediacontrol.h"
|
||||
#include "viewmodel/playbackmanager.h"
|
||||
#include "viewmodel/playlist.h"
|
||||
#include "viewmodel/settings.h"
|
||||
#include "viewmodel/userdata.h"
|
||||
#include "viewmodel/usermodel.h"
|
||||
#include "viewmodel/user.h"
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLogEntriesParams& parameters) const override;
|
||||
QUrlQuery query(const GetLogEntriesParams& parameters) const override;
|
||||
QByteArray body(const GetLogEntriesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetKeysParams& parameters) const override;
|
||||
QUrlQuery query(const GetKeysParams& parameters) const override;
|
||||
QByteArray body(const GetKeysParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetArtistsParams& parameters) const override;
|
||||
QUrlQuery query(const GetArtistsParams& parameters) const override;
|
||||
QByteArray body(const GetArtistsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets an artist by name.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetArtistByNameParams& parameters) const override;
|
||||
QUrlQuery query(const GetArtistByNameParams& parameters) const override;
|
||||
QByteArray body(const GetArtistByNameParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets all album artists from a given item, folder, or the entire library.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetAlbumArtistsParams& parameters) const override;
|
||||
QUrlQuery query(const GetAlbumArtistsParams& parameters) const override;
|
||||
QByteArray body(const GetAlbumArtistsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetBrandingOptionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetBrandingOptionsParams& parameters) const override;
|
||||
QByteArray body(const GetBrandingOptionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets branding css.
|
||||
|
@ -70,6 +72,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetBrandingCssParams& parameters) const override;
|
||||
QUrlQuery query(const GetBrandingCssParams& parameters) const override;
|
||||
QByteArray body(const GetBrandingCssParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets branding css.
|
||||
|
@ -82,6 +86,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetBrandingCss_2Params& parameters) const override;
|
||||
QUrlQuery query(const GetBrandingCss_2Params& parameters) const override;
|
||||
QByteArray body(const GetBrandingCss_2Params& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -62,6 +62,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetChannelsParams& parameters) const override;
|
||||
QUrlQuery query(const GetChannelsParams& parameters) const override;
|
||||
QByteArray body(const GetChannelsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get channel features.
|
||||
|
@ -74,6 +76,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetChannelFeaturesParams& parameters) const override;
|
||||
QUrlQuery query(const GetChannelFeaturesParams& parameters) const override;
|
||||
QByteArray body(const GetChannelFeaturesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get channel items.
|
||||
|
@ -86,6 +90,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetChannelItemsParams& parameters) const override;
|
||||
QUrlQuery query(const GetChannelItemsParams& parameters) const override;
|
||||
QByteArray body(const GetChannelItemsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get all channel features.
|
||||
|
@ -98,6 +104,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetAllChannelFeaturesParams& parameters) const override;
|
||||
QUrlQuery query(const GetAllChannelFeaturesParams& parameters) const override;
|
||||
QByteArray body(const GetAllChannelFeaturesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets latest channel items.
|
||||
|
@ -110,6 +118,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLatestChannelItemsParams& parameters) const override;
|
||||
QUrlQuery query(const GetLatestChannelItemsParams& parameters) const override;
|
||||
QByteArray body(const GetLatestChannelItemsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const CreateCollectionParams& parameters) const override;
|
||||
QUrlQuery query(const CreateCollectionParams& parameters) const override;
|
||||
QByteArray body(const CreateCollectionParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetConfigurationParams& parameters) const override;
|
||||
QUrlQuery query(const GetConfigurationParams& parameters) const override;
|
||||
QByteArray body(const GetConfigurationParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a named configuration.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNamedConfigurationParams& parameters) const override;
|
||||
QUrlQuery query(const GetNamedConfigurationParams& parameters) const override;
|
||||
QByteArray body(const GetNamedConfigurationParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a default MetadataOptions object.
|
||||
|
@ -83,6 +87,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDefaultMetadataOptionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetDefaultMetadataOptionsParams& parameters) const override;
|
||||
QByteArray body(const GetDefaultMetadataOptionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetConfigurationPagesParams& parameters) const override;
|
||||
QUrlQuery query(const GetConfigurationPagesParams& parameters) const override;
|
||||
QByteArray body(const GetConfigurationPagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDevicesParams& parameters) const override;
|
||||
QUrlQuery query(const GetDevicesParams& parameters) const override;
|
||||
QByteArray body(const GetDevicesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get info for a device.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDeviceInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetDeviceInfoParams& parameters) const override;
|
||||
QByteArray body(const GetDeviceInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get options for a device.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDeviceOptionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetDeviceOptionsParams& parameters) const override;
|
||||
QByteArray body(const GetDeviceOptionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDisplayPreferencesParams& parameters) const override;
|
||||
QUrlQuery query(const GetDisplayPreferencesParams& parameters) const override;
|
||||
QByteArray body(const GetDisplayPreferencesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetProfileInfosParams& parameters) const override;
|
||||
QUrlQuery query(const GetProfileInfosParams& parameters) const override;
|
||||
QByteArray body(const GetProfileInfosParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a single profile.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetProfileParams& parameters) const override;
|
||||
QUrlQuery query(const GetProfileParams& parameters) const override;
|
||||
QByteArray body(const GetProfileParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the default profile.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDefaultProfileParams& parameters) const override;
|
||||
QUrlQuery query(const GetDefaultProfileParams& parameters) const override;
|
||||
QByteArray body(const GetDefaultProfileParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -61,6 +61,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDefaultDirectoryBrowserParams& parameters) const override;
|
||||
QUrlQuery query(const GetDefaultDirectoryBrowserParams& parameters) const override;
|
||||
QByteArray body(const GetDefaultDirectoryBrowserParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the contents of a given directory in the file system.
|
||||
|
@ -73,6 +75,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDirectoryContentsParams& parameters) const override;
|
||||
QUrlQuery query(const GetDirectoryContentsParams& parameters) const override;
|
||||
QByteArray body(const GetDirectoryContentsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available drives from the server's file system.
|
||||
|
@ -85,6 +89,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDrivesParams& parameters) const override;
|
||||
QUrlQuery query(const GetDrivesParams& parameters) const override;
|
||||
QByteArray body(const GetDrivesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets network paths.
|
||||
|
@ -97,6 +103,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNetworkSharesParams& parameters) const override;
|
||||
QUrlQuery query(const GetNetworkSharesParams& parameters) const override;
|
||||
QByteArray body(const GetNetworkSharesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the parent path of a given path.
|
||||
|
@ -109,6 +117,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetParentPathParams& parameters) const override;
|
||||
QUrlQuery query(const GetParentPathParams& parameters) const override;
|
||||
QByteArray body(const GetParentPathParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetQueryFiltersLegacyParams& parameters) const override;
|
||||
QUrlQuery query(const GetQueryFiltersLegacyParams& parameters) const override;
|
||||
QByteArray body(const GetQueryFiltersLegacyParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets query filters.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetQueryFiltersParams& parameters) const override;
|
||||
QUrlQuery query(const GetQueryFiltersParams& parameters) const override;
|
||||
QByteArray body(const GetQueryFiltersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetGenresParams& parameters) const override;
|
||||
QUrlQuery query(const GetGenresParams& parameters) const override;
|
||||
QByteArray body(const GetGenresParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a genre, by name.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetGenreParams& parameters) const override;
|
||||
QUrlQuery query(const GetGenreParams& parameters) const override;
|
||||
QByteArray body(const GetGenreParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetItemImageInfosParams& parameters) const override;
|
||||
QUrlQuery query(const GetItemImageInfosParams& parameters) const override;
|
||||
QByteArray body(const GetItemImageInfosParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetGeneralImagesParams& parameters) const override;
|
||||
QUrlQuery query(const GetGeneralImagesParams& parameters) const override;
|
||||
QByteArray body(const GetGeneralImagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get all media info images.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMediaInfoImagesParams& parameters) const override;
|
||||
QUrlQuery query(const GetMediaInfoImagesParams& parameters) const override;
|
||||
QByteArray body(const GetMediaInfoImagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get all general images.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRatingImagesParams& parameters) const override;
|
||||
QUrlQuery query(const GetRatingImagesParams& parameters) const override;
|
||||
QByteArray body(const GetRatingImagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -64,6 +64,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromAlbumParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromAlbumParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromAlbumParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates an instant playlist based on a given song.
|
||||
|
@ -76,6 +78,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromArtistsParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromArtistsParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromArtistsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates an instant playlist based on a given song.
|
||||
|
@ -88,6 +92,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromItemParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromItemParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromItemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates an instant playlist based on a given song.
|
||||
|
@ -100,6 +106,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromMusicGenresParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromMusicGenresParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromMusicGenresParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates an instant playlist based on a given song.
|
||||
|
@ -112,6 +120,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromMusicGenreParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromMusicGenreParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromMusicGenreParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates an instant playlist based on a given song.
|
||||
|
@ -124,6 +134,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromPlaylistParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromPlaylistParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromPlaylistParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates an instant playlist based on a given song.
|
||||
|
@ -136,6 +148,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetInstantMixFromSongParams& parameters) const override;
|
||||
QUrlQuery query(const GetInstantMixFromSongParams& parameters) const override;
|
||||
QByteArray body(const GetInstantMixFromSongParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -67,6 +67,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetExternalIdInfosParams& parameters) const override;
|
||||
QUrlQuery query(const GetExternalIdInfosParams& parameters) const override;
|
||||
QByteArray body(const GetExternalIdInfosParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get book remote search.
|
||||
|
@ -79,6 +81,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetBookRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetBookRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetBookRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get box set remote search.
|
||||
|
@ -91,6 +95,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetBoxSetRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetBoxSetRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetBoxSetRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get movie remote search.
|
||||
|
@ -103,6 +109,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMovieRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetMovieRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetMovieRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get music album remote search.
|
||||
|
@ -115,6 +123,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get music artist remote search.
|
||||
|
@ -127,6 +137,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMusicArtistRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetMusicArtistRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetMusicArtistRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get music video remote search.
|
||||
|
@ -139,6 +151,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMusicVideoRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetMusicVideoRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetMusicVideoRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get person remote search.
|
||||
|
@ -151,6 +165,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPersonRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetPersonRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetPersonRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get series remote search.
|
||||
|
@ -163,6 +179,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSeriesRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSeriesRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetSeriesRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get trailer remote search.
|
||||
|
@ -175,6 +193,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTrailerRemoteSearchResultsParams& parameters) const override;
|
||||
QUrlQuery query(const GetTrailerRemoteSearchResultsParams& parameters) const override;
|
||||
QByteArray body(const GetTrailerRemoteSearchResultsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetItemsParams& parameters) const override;
|
||||
QUrlQuery query(const GetItemsParams& parameters) const override;
|
||||
QByteArray body(const GetItemsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets items based on a query.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetItemsByUserIdParams& parameters) const override;
|
||||
QUrlQuery query(const GetItemsByUserIdParams& parameters) const override;
|
||||
QByteArray body(const GetItemsByUserIdParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets items based on a query.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetResumeItemsParams& parameters) const override;
|
||||
QUrlQuery query(const GetResumeItemsParams& parameters) const override;
|
||||
QByteArray body(const GetResumeItemsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMetadataEditorInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetMetadataEditorInfoParams& parameters) const override;
|
||||
QByteArray body(const GetMetadataEditorInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -72,6 +72,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSimilarAlbumsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSimilarAlbumsParams& parameters) const override;
|
||||
QByteArray body(const GetSimilarAlbumsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets similar items.
|
||||
|
@ -84,6 +86,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSimilarArtistsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSimilarArtistsParams& parameters) const override;
|
||||
QByteArray body(const GetSimilarArtistsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets all parents of an item.
|
||||
|
@ -96,6 +100,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetAncestorsParams& parameters) const override;
|
||||
QUrlQuery query(const GetAncestorsParams& parameters) const override;
|
||||
QByteArray body(const GetAncestorsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets critic review for an item.
|
||||
|
@ -108,6 +114,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetCriticReviewsParams& parameters) const override;
|
||||
QUrlQuery query(const GetCriticReviewsParams& parameters) const override;
|
||||
QByteArray body(const GetCriticReviewsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets similar items.
|
||||
|
@ -120,6 +128,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSimilarItemsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSimilarItemsParams& parameters) const override;
|
||||
QByteArray body(const GetSimilarItemsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get theme songs and videos for an item.
|
||||
|
@ -132,6 +142,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetThemeMediaParams& parameters) const override;
|
||||
QUrlQuery query(const GetThemeMediaParams& parameters) const override;
|
||||
QByteArray body(const GetThemeMediaParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get theme songs for an item.
|
||||
|
@ -144,6 +156,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetThemeSongsParams& parameters) const override;
|
||||
QUrlQuery query(const GetThemeSongsParams& parameters) const override;
|
||||
QByteArray body(const GetThemeSongsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get theme videos for an item.
|
||||
|
@ -156,6 +170,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetThemeVideosParams& parameters) const override;
|
||||
QUrlQuery query(const GetThemeVideosParams& parameters) const override;
|
||||
QByteArray body(const GetThemeVideosParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get item counts.
|
||||
|
@ -168,6 +184,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetItemCountsParams& parameters) const override;
|
||||
QUrlQuery query(const GetItemCountsParams& parameters) const override;
|
||||
QByteArray body(const GetItemCountsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the library options info.
|
||||
|
@ -180,6 +198,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLibraryOptionsInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetLibraryOptionsInfoParams& parameters) const override;
|
||||
QByteArray body(const GetLibraryOptionsInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets all user media folders.
|
||||
|
@ -192,6 +212,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMediaFoldersParams& parameters) const override;
|
||||
QUrlQuery query(const GetMediaFoldersParams& parameters) const override;
|
||||
QByteArray body(const GetMediaFoldersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a list of physical paths from virtual folders.
|
||||
|
@ -204,6 +226,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPhysicalPathsParams& parameters) const override;
|
||||
QUrlQuery query(const GetPhysicalPathsParams& parameters) const override;
|
||||
QByteArray body(const GetPhysicalPathsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets similar items.
|
||||
|
@ -216,6 +240,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSimilarMoviesParams& parameters) const override;
|
||||
QUrlQuery query(const GetSimilarMoviesParams& parameters) const override;
|
||||
QByteArray body(const GetSimilarMoviesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets similar items.
|
||||
|
@ -228,6 +254,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSimilarShowsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSimilarShowsParams& parameters) const override;
|
||||
QByteArray body(const GetSimilarShowsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets similar items.
|
||||
|
@ -240,6 +268,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSimilarTrailersParams& parameters) const override;
|
||||
QUrlQuery query(const GetSimilarTrailersParams& parameters) const override;
|
||||
QByteArray body(const GetSimilarTrailersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetVirtualFoldersParams& parameters) const override;
|
||||
QUrlQuery query(const GetVirtualFoldersParams& parameters) const override;
|
||||
QByteArray body(const GetVirtualFoldersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -84,6 +84,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetChannelMappingOptionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetChannelMappingOptionsParams& parameters) const override;
|
||||
QByteArray body(const GetChannelMappingOptionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Set channel mappings.
|
||||
|
@ -96,6 +98,8 @@ public:
|
|||
protected:
|
||||
QString path(const SetChannelMappingParams& parameters) const override;
|
||||
QUrlQuery query(const SetChannelMappingParams& parameters) const override;
|
||||
QByteArray body(const SetChannelMappingParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available live tv channels.
|
||||
|
@ -108,6 +112,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLiveTvChannelsParams& parameters) const override;
|
||||
QUrlQuery query(const GetLiveTvChannelsParams& parameters) const override;
|
||||
QByteArray body(const GetLiveTvChannelsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a live tv channel.
|
||||
|
@ -120,6 +126,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetChannelParams& parameters) const override;
|
||||
QUrlQuery query(const GetChannelParams& parameters) const override;
|
||||
QByteArray body(const GetChannelParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get guid info.
|
||||
|
@ -132,6 +140,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetGuideInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetGuideInfoParams& parameters) const override;
|
||||
QByteArray body(const GetGuideInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available live tv services.
|
||||
|
@ -144,6 +154,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLiveTvInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetLiveTvInfoParams& parameters) const override;
|
||||
QByteArray body(const GetLiveTvInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Adds a listings provider.
|
||||
|
@ -156,6 +168,8 @@ public:
|
|||
protected:
|
||||
QString path(const AddListingProviderParams& parameters) const override;
|
||||
QUrlQuery query(const AddListingProviderParams& parameters) const override;
|
||||
QByteArray body(const AddListingProviderParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets default listings provider info.
|
||||
|
@ -168,6 +182,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDefaultListingProviderParams& parameters) const override;
|
||||
QUrlQuery query(const GetDefaultListingProviderParams& parameters) const override;
|
||||
QByteArray body(const GetDefaultListingProviderParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available lineups.
|
||||
|
@ -180,6 +196,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLineupsParams& parameters) const override;
|
||||
QUrlQuery query(const GetLineupsParams& parameters) const override;
|
||||
QByteArray body(const GetLineupsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available countries.
|
||||
|
@ -192,6 +210,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSchedulesDirectCountriesParams& parameters) const override;
|
||||
QUrlQuery query(const GetSchedulesDirectCountriesParams& parameters) const override;
|
||||
QByteArray body(const GetSchedulesDirectCountriesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available live tv epgs.
|
||||
|
@ -204,6 +224,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLiveTvProgramsParams& parameters) const override;
|
||||
QUrlQuery query(const GetLiveTvProgramsParams& parameters) const override;
|
||||
QByteArray body(const GetLiveTvProgramsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available live tv epgs.
|
||||
|
@ -216,6 +238,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetProgramsParams& parameters) const override;
|
||||
QUrlQuery query(const GetProgramsParams& parameters) const override;
|
||||
QByteArray body(const GetProgramsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a live tv program.
|
||||
|
@ -228,6 +252,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetProgramParams& parameters) const override;
|
||||
QUrlQuery query(const GetProgramParams& parameters) const override;
|
||||
QByteArray body(const GetProgramParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets recommended live tv epgs.
|
||||
|
@ -240,6 +266,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRecommendedProgramsParams& parameters) const override;
|
||||
QUrlQuery query(const GetRecommendedProgramsParams& parameters) const override;
|
||||
QByteArray body(const GetRecommendedProgramsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets live tv recordings.
|
||||
|
@ -252,6 +280,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRecordingsParams& parameters) const override;
|
||||
QUrlQuery query(const GetRecordingsParams& parameters) const override;
|
||||
QByteArray body(const GetRecordingsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a live tv recording.
|
||||
|
@ -264,6 +294,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRecordingParams& parameters) const override;
|
||||
QUrlQuery query(const GetRecordingParams& parameters) const override;
|
||||
QByteArray body(const GetRecordingParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets recording folders.
|
||||
|
@ -276,6 +308,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRecordingFoldersParams& parameters) const override;
|
||||
QUrlQuery query(const GetRecordingFoldersParams& parameters) const override;
|
||||
QByteArray body(const GetRecordingFoldersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets live tv recording groups.
|
||||
|
@ -288,6 +322,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRecordingGroupsParams& parameters) const override;
|
||||
QUrlQuery query(const GetRecordingGroupsParams& parameters) const override;
|
||||
QByteArray body(const GetRecordingGroupsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets live tv recording series.
|
||||
|
@ -300,6 +336,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRecordingsSeriesParams& parameters) const override;
|
||||
QUrlQuery query(const GetRecordingsSeriesParams& parameters) const override;
|
||||
QByteArray body(const GetRecordingsSeriesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets live tv series timers.
|
||||
|
@ -312,6 +350,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSeriesTimersParams& parameters) const override;
|
||||
QUrlQuery query(const GetSeriesTimersParams& parameters) const override;
|
||||
QByteArray body(const GetSeriesTimersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a live tv series timer.
|
||||
|
@ -324,6 +364,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSeriesTimerParams& parameters) const override;
|
||||
QUrlQuery query(const GetSeriesTimerParams& parameters) const override;
|
||||
QByteArray body(const GetSeriesTimerParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the live tv timers.
|
||||
|
@ -336,6 +378,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTimersParams& parameters) const override;
|
||||
QUrlQuery query(const GetTimersParams& parameters) const override;
|
||||
QByteArray body(const GetTimersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a timer.
|
||||
|
@ -348,6 +392,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTimerParams& parameters) const override;
|
||||
QUrlQuery query(const GetTimerParams& parameters) const override;
|
||||
QByteArray body(const GetTimerParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the default values for a new timer.
|
||||
|
@ -360,6 +406,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetDefaultTimerParams& parameters) const override;
|
||||
QUrlQuery query(const GetDefaultTimerParams& parameters) const override;
|
||||
QByteArray body(const GetDefaultTimerParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Adds a tuner host.
|
||||
|
@ -372,6 +420,8 @@ public:
|
|||
protected:
|
||||
QString path(const AddTunerHostParams& parameters) const override;
|
||||
QUrlQuery query(const AddTunerHostParams& parameters) const override;
|
||||
QByteArray body(const AddTunerHostParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get tuner host types.
|
||||
|
@ -384,6 +434,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTunerHostTypesParams& parameters) const override;
|
||||
QUrlQuery query(const GetTunerHostTypesParams& parameters) const override;
|
||||
QByteArray body(const GetTunerHostTypesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Discover tuners.
|
||||
|
@ -396,6 +448,8 @@ public:
|
|||
protected:
|
||||
QString path(const DiscoverTunersParams& parameters) const override;
|
||||
QUrlQuery query(const DiscoverTunersParams& parameters) const override;
|
||||
QByteArray body(const DiscoverTunersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Discover tuners.
|
||||
|
@ -408,6 +462,8 @@ public:
|
|||
protected:
|
||||
QString path(const DiscvoverTunersParams& parameters) const override;
|
||||
QUrlQuery query(const DiscvoverTunersParams& parameters) const override;
|
||||
QByteArray body(const DiscvoverTunersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -61,6 +61,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetCountriesParams& parameters) const override;
|
||||
QUrlQuery query(const GetCountriesParams& parameters) const override;
|
||||
QByteArray body(const GetCountriesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets known cultures.
|
||||
|
@ -73,6 +75,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetCulturesParams& parameters) const override;
|
||||
QUrlQuery query(const GetCulturesParams& parameters) const override;
|
||||
QByteArray body(const GetCulturesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets localization options.
|
||||
|
@ -85,6 +89,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLocalizationOptionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetLocalizationOptionsParams& parameters) const override;
|
||||
QByteArray body(const GetLocalizationOptionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets known parental ratings.
|
||||
|
@ -97,6 +103,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetParentalRatingsParams& parameters) const override;
|
||||
QUrlQuery query(const GetParentalRatingsParams& parameters) const override;
|
||||
QByteArray body(const GetParentalRatingsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPlaybackInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetPlaybackInfoParams& parameters) const override;
|
||||
QByteArray body(const GetPlaybackInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets live playback media info for an item.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPostedPlaybackInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetPostedPlaybackInfoParams& parameters) const override;
|
||||
QByteArray body(const GetPostedPlaybackInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Opens a media source.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const OpenLiveStreamParams& parameters) const override;
|
||||
QUrlQuery query(const OpenLiveStreamParams& parameters) const override;
|
||||
QByteArray body(const OpenLiveStreamParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMovieRecommendationsParams& parameters) const override;
|
||||
QUrlQuery query(const GetMovieRecommendationsParams& parameters) const override;
|
||||
QByteArray body(const GetMovieRecommendationsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMusicGenresParams& parameters) const override;
|
||||
QUrlQuery query(const GetMusicGenresParams& parameters) const override;
|
||||
QByteArray body(const GetMusicGenresParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a music genre, by name.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetMusicGenreParams& parameters) const override;
|
||||
QUrlQuery query(const GetMusicGenreParams& parameters) const override;
|
||||
QByteArray body(const GetMusicGenreParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -61,6 +61,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNotificationsParams& parameters) const override;
|
||||
QUrlQuery query(const GetNotificationsParams& parameters) const override;
|
||||
QByteArray body(const GetNotificationsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a user's notification summary.
|
||||
|
@ -73,6 +75,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNotificationsSummaryParams& parameters) const override;
|
||||
QUrlQuery query(const GetNotificationsSummaryParams& parameters) const override;
|
||||
QByteArray body(const GetNotificationsSummaryParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets notification services.
|
||||
|
@ -85,6 +89,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNotificationServicesParams& parameters) const override;
|
||||
QUrlQuery query(const GetNotificationServicesParams& parameters) const override;
|
||||
QByteArray body(const GetNotificationServicesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets notification types.
|
||||
|
@ -97,6 +103,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNotificationTypesParams& parameters) const override;
|
||||
QUrlQuery query(const GetNotificationTypesParams& parameters) const override;
|
||||
QByteArray body(const GetNotificationTypesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPackagesParams& parameters) const override;
|
||||
QUrlQuery query(const GetPackagesParams& parameters) const override;
|
||||
QByteArray body(const GetPackagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a package by name or assembly GUID.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPackageInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetPackageInfoParams& parameters) const override;
|
||||
QByteArray body(const GetPackageInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets all package repositories.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRepositoriesParams& parameters) const override;
|
||||
QUrlQuery query(const GetRepositoriesParams& parameters) const override;
|
||||
QByteArray body(const GetRepositoriesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPersonsParams& parameters) const override;
|
||||
QUrlQuery query(const GetPersonsParams& parameters) const override;
|
||||
QByteArray body(const GetPersonsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get person by name.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPersonParams& parameters) const override;
|
||||
QUrlQuery query(const GetPersonParams& parameters) const override;
|
||||
QByteArray body(const GetPersonParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const CreatePlaylistParams& parameters) const override;
|
||||
QUrlQuery query(const CreatePlaylistParams& parameters) const override;
|
||||
QByteArray body(const CreatePlaylistParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the original items of a playlist.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPlaylistItemsParams& parameters) const override;
|
||||
QUrlQuery query(const GetPlaylistItemsParams& parameters) const override;
|
||||
QByteArray body(const GetPlaylistItemsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const MarkPlayedItemParams& parameters) const override;
|
||||
QUrlQuery query(const MarkPlayedItemParams& parameters) const override;
|
||||
QByteArray body(const MarkPlayedItemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Marks an item as unplayed for user.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const MarkUnplayedItemParams& parameters) const override;
|
||||
QUrlQuery query(const MarkUnplayedItemParams& parameters) const override;
|
||||
QByteArray body(const MarkUnplayedItemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPluginsParams& parameters) const override;
|
||||
QUrlQuery query(const GetPluginsParams& parameters) const override;
|
||||
QByteArray body(const GetPluginsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets plugin configuration.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPluginConfigurationParams& parameters) const override;
|
||||
QUrlQuery query(const GetPluginConfigurationParams& parameters) const override;
|
||||
QByteArray body(const GetPluginConfigurationParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const AuthorizeParams& parameters) const override;
|
||||
QUrlQuery query(const AuthorizeParams& parameters) const override;
|
||||
QByteArray body(const AuthorizeParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Attempts to retrieve authentication information.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const ConnectParams& parameters) const override;
|
||||
QUrlQuery query(const ConnectParams& parameters) const override;
|
||||
QByteArray body(const ConnectParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Deauthorize all quick connect devices for the current user.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const DeauthorizeParams& parameters) const override;
|
||||
QUrlQuery query(const DeauthorizeParams& parameters) const override;
|
||||
QByteArray body(const DeauthorizeParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Initiate a new quick connect request.
|
||||
|
@ -96,6 +102,8 @@ public:
|
|||
protected:
|
||||
QString path(const InitiateParams& parameters) const override;
|
||||
QUrlQuery query(const InitiateParams& parameters) const override;
|
||||
QByteArray body(const InitiateParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the current quick connect state.
|
||||
|
@ -108,6 +116,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetStatusParams& parameters) const override;
|
||||
QUrlQuery query(const GetStatusParams& parameters) const override;
|
||||
QByteArray body(const GetStatusParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRemoteImagesParams& parameters) const override;
|
||||
QUrlQuery query(const GetRemoteImagesParams& parameters) const override;
|
||||
QByteArray body(const GetRemoteImagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available remote image providers for an item.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRemoteImageProvidersParams& parameters) const override;
|
||||
QUrlQuery query(const GetRemoteImageProvidersParams& parameters) const override;
|
||||
QByteArray body(const GetRemoteImageProvidersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTasksParams& parameters) const override;
|
||||
QUrlQuery query(const GetTasksParams& parameters) const override;
|
||||
QByteArray body(const GetTasksParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get task by id.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTaskParams& parameters) const override;
|
||||
QUrlQuery query(const GetTaskParams& parameters) const override;
|
||||
QByteArray body(const GetTaskParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetParams& parameters) const override;
|
||||
QUrlQuery query(const GetParams& parameters) const override;
|
||||
QByteArray body(const GetParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPasswordResetProvidersParams& parameters) const override;
|
||||
QUrlQuery query(const GetPasswordResetProvidersParams& parameters) const override;
|
||||
QByteArray body(const GetPasswordResetProvidersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get all auth providers.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetAuthProvidersParams& parameters) const override;
|
||||
QUrlQuery query(const GetAuthProvidersParams& parameters) const override;
|
||||
QByteArray body(const GetAuthProvidersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a list of sessions.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSessionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSessionsParams& parameters) const override;
|
||||
QByteArray body(const GetSessionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetStartupConfigurationParams& parameters) const override;
|
||||
QUrlQuery query(const GetStartupConfigurationParams& parameters) const override;
|
||||
QByteArray body(const GetStartupConfigurationParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the first user.
|
||||
|
@ -72,6 +74,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetFirstUser_2Params& parameters) const override;
|
||||
QUrlQuery query(const GetFirstUser_2Params& parameters) const override;
|
||||
QByteArray body(const GetFirstUser_2Params& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the first user.
|
||||
|
@ -84,6 +88,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetFirstUserParams& parameters) const override;
|
||||
QUrlQuery query(const GetFirstUserParams& parameters) const override;
|
||||
QByteArray body(const GetFirstUserParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetStudiosParams& parameters) const override;
|
||||
QUrlQuery query(const GetStudiosParams& parameters) const override;
|
||||
QByteArray body(const GetStudiosParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a studio by name.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetStudioParams& parameters) const override;
|
||||
QUrlQuery query(const GetStudioParams& parameters) const override;
|
||||
QByteArray body(const GetStudioParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetFallbackFontListParams& parameters) const override;
|
||||
QUrlQuery query(const GetFallbackFontListParams& parameters) const override;
|
||||
QByteArray body(const GetFallbackFontListParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Search remote subtitles.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const SearchRemoteSubtitlesParams& parameters) const override;
|
||||
QUrlQuery query(const SearchRemoteSubtitlesParams& parameters) const override;
|
||||
QByteArray body(const SearchRemoteSubtitlesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSuggestionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSuggestionsParams& parameters) const override;
|
||||
QByteArray body(const GetSuggestionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const SyncPlayGetGroupsParams& parameters) const override;
|
||||
QUrlQuery query(const SyncPlayGetGroupsParams& parameters) const override;
|
||||
QByteArray body(const SyncPlayGetGroupsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -62,6 +62,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetEndpointInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetEndpointInfoParams& parameters) const override;
|
||||
QByteArray body(const GetEndpointInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets information about the server.
|
||||
|
@ -74,6 +76,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSystemInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetSystemInfoParams& parameters) const override;
|
||||
QByteArray body(const GetSystemInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets public information about the server.
|
||||
|
@ -86,6 +90,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPublicSystemInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetPublicSystemInfoParams& parameters) const override;
|
||||
QByteArray body(const GetPublicSystemInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a list of available server log files.
|
||||
|
@ -98,6 +104,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetServerLogsParams& parameters) const override;
|
||||
QUrlQuery query(const GetServerLogsParams& parameters) const override;
|
||||
QByteArray body(const GetServerLogsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Pings the system.
|
||||
|
@ -110,6 +118,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPingSystemParams& parameters) const override;
|
||||
QUrlQuery query(const GetPingSystemParams& parameters) const override;
|
||||
QByteArray body(const GetPingSystemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Pings the system.
|
||||
|
@ -122,6 +132,8 @@ public:
|
|||
protected:
|
||||
QString path(const PostPingSystemParams& parameters) const override;
|
||||
QUrlQuery query(const PostPingSystemParams& parameters) const override;
|
||||
QByteArray body(const PostPingSystemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets wake on lan information.
|
||||
|
@ -134,6 +146,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetWakeOnLanInfoParams& parameters) const override;
|
||||
QUrlQuery query(const GetWakeOnLanInfoParams& parameters) const override;
|
||||
QByteArray body(const GetWakeOnLanInfoParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetUtcTimeParams& parameters) const override;
|
||||
QUrlQuery query(const GetUtcTimeParams& parameters) const override;
|
||||
QByteArray body(const GetUtcTimeParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetTrailersParams& parameters) const override;
|
||||
QUrlQuery query(const GetTrailersParams& parameters) const override;
|
||||
QByteArray body(const GetTrailersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -61,6 +61,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetEpisodesParams& parameters) const override;
|
||||
QUrlQuery query(const GetEpisodesParams& parameters) const override;
|
||||
QByteArray body(const GetEpisodesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets seasons for a tv series.
|
||||
|
@ -73,6 +75,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSeasonsParams& parameters) const override;
|
||||
QUrlQuery query(const GetSeasonsParams& parameters) const override;
|
||||
QByteArray body(const GetSeasonsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a list of next up episodes.
|
||||
|
@ -85,6 +89,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetNextUpParams& parameters) const override;
|
||||
QUrlQuery query(const GetNextUpParams& parameters) const override;
|
||||
QByteArray body(const GetNextUpParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a list of upcoming episodes.
|
||||
|
@ -97,6 +103,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetUpcomingEpisodesParams& parameters) const override;
|
||||
QUrlQuery query(const GetUpcomingEpisodesParams& parameters) const override;
|
||||
QByteArray body(const GetUpcomingEpisodesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -67,6 +67,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetUsersParams& parameters) const override;
|
||||
QUrlQuery query(const GetUsersParams& parameters) const override;
|
||||
QByteArray body(const GetUsersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a user by Id.
|
||||
|
@ -79,6 +81,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetUserByIdParams& parameters) const override;
|
||||
QUrlQuery query(const GetUserByIdParams& parameters) const override;
|
||||
QByteArray body(const GetUserByIdParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Authenticates a user.
|
||||
|
@ -91,6 +95,8 @@ public:
|
|||
protected:
|
||||
QString path(const AuthenticateUserParams& parameters) const override;
|
||||
QUrlQuery query(const AuthenticateUserParams& parameters) const override;
|
||||
QByteArray body(const AuthenticateUserParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Authenticates a user by name.
|
||||
|
@ -103,6 +109,8 @@ public:
|
|||
protected:
|
||||
QString path(const AuthenticateUserByNameParams& parameters) const override;
|
||||
QUrlQuery query(const AuthenticateUserByNameParams& parameters) const override;
|
||||
QByteArray body(const AuthenticateUserByNameParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Authenticates a user with quick connect.
|
||||
|
@ -115,6 +123,8 @@ public:
|
|||
protected:
|
||||
QString path(const AuthenticateWithQuickConnectParams& parameters) const override;
|
||||
QUrlQuery query(const AuthenticateWithQuickConnectParams& parameters) const override;
|
||||
QByteArray body(const AuthenticateWithQuickConnectParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Initiates the forgot password process for a local user.
|
||||
|
@ -127,6 +137,8 @@ public:
|
|||
protected:
|
||||
QString path(const ForgotPasswordParams& parameters) const override;
|
||||
QUrlQuery query(const ForgotPasswordParams& parameters) const override;
|
||||
QByteArray body(const ForgotPasswordParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Redeems a forgot password pin.
|
||||
|
@ -139,6 +151,8 @@ public:
|
|||
protected:
|
||||
QString path(const ForgotPasswordPinParams& parameters) const override;
|
||||
QUrlQuery query(const ForgotPasswordPinParams& parameters) const override;
|
||||
QByteArray body(const ForgotPasswordPinParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the user based on auth token.
|
||||
|
@ -151,6 +165,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetCurrentUserParams& parameters) const override;
|
||||
QUrlQuery query(const GetCurrentUserParams& parameters) const override;
|
||||
QByteArray body(const GetCurrentUserParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Creates a user.
|
||||
|
@ -163,6 +179,8 @@ public:
|
|||
protected:
|
||||
QString path(const CreateUserByNameParams& parameters) const override;
|
||||
QUrlQuery query(const CreateUserByNameParams& parameters) const override;
|
||||
QByteArray body(const CreateUserByNameParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a list of publicly visible users for display on a login screen.
|
||||
|
@ -175,6 +193,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetPublicUsersParams& parameters) const override;
|
||||
QUrlQuery query(const GetPublicUsersParams& parameters) const override;
|
||||
QByteArray body(const GetPublicUsersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -67,6 +67,8 @@ public:
|
|||
protected:
|
||||
QString path(const MarkFavoriteItemParams& parameters) const override;
|
||||
QUrlQuery query(const MarkFavoriteItemParams& parameters) const override;
|
||||
QByteArray body(const MarkFavoriteItemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Unmarks item as a favorite.
|
||||
|
@ -79,6 +81,8 @@ public:
|
|||
protected:
|
||||
QString path(const UnmarkFavoriteItemParams& parameters) const override;
|
||||
QUrlQuery query(const UnmarkFavoriteItemParams& parameters) const override;
|
||||
QByteArray body(const UnmarkFavoriteItemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets an item from a user's library.
|
||||
|
@ -91,6 +95,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetItemParams& parameters) const override;
|
||||
QUrlQuery query(const GetItemParams& parameters) const override;
|
||||
QByteArray body(const GetItemParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets intros to play before the main media item plays.
|
||||
|
@ -103,6 +109,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetIntrosParams& parameters) const override;
|
||||
QUrlQuery query(const GetIntrosParams& parameters) const override;
|
||||
QByteArray body(const GetIntrosParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets local trailers for an item.
|
||||
|
@ -115,6 +123,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLocalTrailersParams& parameters) const override;
|
||||
QUrlQuery query(const GetLocalTrailersParams& parameters) const override;
|
||||
QByteArray body(const GetLocalTrailersParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Deletes a user's saved personal rating for an item.
|
||||
|
@ -127,6 +137,8 @@ public:
|
|||
protected:
|
||||
QString path(const DeleteUserItemRatingParams& parameters) const override;
|
||||
QUrlQuery query(const DeleteUserItemRatingParams& parameters) const override;
|
||||
QByteArray body(const DeleteUserItemRatingParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Updates a user's rating for an item.
|
||||
|
@ -139,6 +151,8 @@ public:
|
|||
protected:
|
||||
QString path(const UpdateUserItemRatingParams& parameters) const override;
|
||||
QUrlQuery query(const UpdateUserItemRatingParams& parameters) const override;
|
||||
QByteArray body(const UpdateUserItemRatingParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets special features for an item.
|
||||
|
@ -151,6 +165,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetSpecialFeaturesParams& parameters) const override;
|
||||
QUrlQuery query(const GetSpecialFeaturesParams& parameters) const override;
|
||||
QByteArray body(const GetSpecialFeaturesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets latest media.
|
||||
|
@ -163,6 +179,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetLatestMediaParams& parameters) const override;
|
||||
QUrlQuery query(const GetLatestMediaParams& parameters) const override;
|
||||
QByteArray body(const GetLatestMediaParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets the root folder from a user's library.
|
||||
|
@ -175,6 +193,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetRootFolderParams& parameters) const override;
|
||||
QUrlQuery query(const GetRootFolderParams& parameters) const override;
|
||||
QByteArray body(const GetRootFolderParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetGroupingOptionsParams& parameters) const override;
|
||||
QUrlQuery query(const GetGroupingOptionsParams& parameters) const override;
|
||||
QByteArray body(const GetGroupingOptionsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Get user views.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetUserViewsParams& parameters) const override;
|
||||
QUrlQuery query(const GetUserViewsParams& parameters) const override;
|
||||
QByteArray body(const GetUserViewsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetAdditionalPartParams& parameters) const override;
|
||||
QUrlQuery query(const GetAdditionalPartParams& parameters) const override;
|
||||
QByteArray body(const GetAdditionalPartParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetYearsParams& parameters) const override;
|
||||
QUrlQuery query(const GetYearsParams& parameters) const override;
|
||||
QByteArray body(const GetYearsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a year.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetYearParams& parameters) const override;
|
||||
QUrlQuery query(const GetYearParams& parameters) const override;
|
||||
QByteArray body(const GetYearParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -159,7 +159,19 @@ public:
|
|||
this->m_reply->deleteLater();
|
||||
}
|
||||
this->m_isRunning = true;
|
||||
m_reply = this->m_apiClient->get(path(this->m_parameters), query(this->m_parameters));
|
||||
switch(operation()) {
|
||||
case QNetworkAccessManager::GetOperation:
|
||||
m_reply = this->m_apiClient->get(path(this->m_parameters), query(this->m_parameters));
|
||||
break;
|
||||
case QNetworkAccessManager::PostOperation:
|
||||
m_reply = this->m_apiClient->post(path(this->m_parameters), body(this->m_parameters), query(this->m_parameters));
|
||||
break;
|
||||
default:
|
||||
this->stopWithError(QStringLiteral("Unsupported network okperation %1").arg(operation()));
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
this->connect(m_reply, &QNetworkReply::finished, this, &HttpLoader<R, P>::onRequestFinished);
|
||||
}
|
||||
|
||||
|
@ -186,6 +198,8 @@ protected:
|
|||
*/
|
||||
virtual QString path(const P ¶meters) const = 0;
|
||||
virtual QUrlQuery query(const P ¶meters) const = 0;
|
||||
virtual QByteArray body(const P ¶meters) const = 0;
|
||||
virtual QNetworkAccessManager::Operation operation() const = 0;
|
||||
private:
|
||||
QNetworkReply *m_reply = nullptr;
|
||||
QFutureWatcher<std::optional<R>> m_parsedWatcher;
|
||||
|
|
|
@ -36,6 +36,7 @@ import std.functional;
|
|||
import std.path : buildPath, dirSeparator;
|
||||
import std.parallelism : parallel;
|
||||
import std.range;
|
||||
import std.regex;
|
||||
import std.string;
|
||||
import std.stdio;
|
||||
import std.uni;
|
||||
|
@ -134,6 +135,8 @@ bool GENERATE_PROPERTIES = true;
|
|||
string outputDirectory = "generated";
|
||||
// END CODE GENERATION SETTINGS.
|
||||
|
||||
static immutable MimeType MIME_APPLICATION_JSON = MimeType("application", "json");
|
||||
|
||||
// Implementation
|
||||
|
||||
enum CasePolicy {
|
||||
|
@ -194,6 +197,7 @@ void realMain(string[] args) {
|
|||
foreach(string path, ref Node operations; root["paths"]) {
|
||||
foreach (string operation, ref Node endpoint; operations) {
|
||||
endpoint["path"] = path;
|
||||
endpoint["operation"] = operation;
|
||||
string tag;
|
||||
if ("tags" in endpoint && endpoint["tags"].length > 0) {
|
||||
tag = endpoint["tags"][0].as!string;
|
||||
|
@ -329,6 +333,7 @@ void writeRequestTypesFile(R)(File headerFile, File implementationFile, R endpoi
|
|||
RequestParameter[] requiredParameters = [];
|
||||
RequestParameter[] optionalParameters = [];
|
||||
RequestParameter[] parameters = [];
|
||||
RequestParameter[] bodyParameters = [];
|
||||
}
|
||||
|
||||
struct Controller {
|
||||
|
@ -347,8 +352,10 @@ void writeRequestTypesFile(R)(File headerFile, File implementationFile, R endpoi
|
|||
getParameters(endpoint.parameters, (e => e.required && e.location == ParameterLocation.QUERY));
|
||||
endpointController.optionalQueryParameters =
|
||||
getParameters(endpoint.parameters, (e => !e.required && e.location == ParameterLocation.QUERY));
|
||||
endpointController.bodyParameters =
|
||||
getParameters(endpoint.parameters, (e => e.location == ParameterLocation.BODY));
|
||||
with (endpointController) {
|
||||
parameters = requiredPathParameters ~ requiredQueryParameters ~ optionalQueryParameters;
|
||||
parameters = requiredPathParameters ~ requiredQueryParameters ~ optionalQueryParameters ~ bodyParameters;
|
||||
|
||||
requiredParameters = requiredPathParameters ~ requiredQueryParameters;
|
||||
optionalParameters = optionalQueryParameters;
|
||||
|
@ -384,6 +391,7 @@ void generateFileForEndpoints(ref const Node[] endpointNodes,
|
|||
string responseType = "void";
|
||||
string parameterType = "void";
|
||||
Endpoint endpoint;
|
||||
string operation;
|
||||
|
||||
string pathStringInterpolation() {
|
||||
string result = "QStringLiteral(\"" ~ endpoint.path ~ "\")";
|
||||
|
@ -414,6 +422,7 @@ void generateFileForEndpoints(ref const Node[] endpointNodes,
|
|||
endpoint.parameterType = name ~ "Params";
|
||||
endpoint.description = endpointNode.getOr!string("summary", "");
|
||||
endpoint.path = endpointNode["path"].as!string;
|
||||
endpoint.operation = endpointNode["operation"].as!string.toLower();
|
||||
|
||||
// Find the most likely result response.
|
||||
foreach(string code, const Node response; endpointNode["responses"]) {
|
||||
|
@ -451,6 +460,47 @@ void generateFileForEndpoints(ref const Node[] endpointNodes,
|
|||
}
|
||||
}
|
||||
|
||||
if ("requestBody" in endpointNode) {
|
||||
string description = "";
|
||||
if ("description" in endpointNode["requestBody"]) {
|
||||
description = endpointNode["requestBody"]["description"].as!string;
|
||||
}
|
||||
|
||||
MimeType[] similarMimeTypes = [];
|
||||
|
||||
foreach(string contentType, const Node content; endpointNode["requestBody"]["content"]) {
|
||||
MimeType mimeType = MimeType.parse(contentType);
|
||||
// Skip if we already had a similar mime type before.
|
||||
if (similarMimeTypes.any!((t) => t.compatible(mimeType))) continue;
|
||||
similarMimeTypes ~= [mimeType];
|
||||
|
||||
RequestParameter param = new RequestParameter();
|
||||
param.location = ParameterLocation.BODY;
|
||||
param.description = description;
|
||||
param.required = true;
|
||||
|
||||
// Hardcode this because the openapi description of Jellyfin seems to contain both
|
||||
if (mimeType.type == "text" && mimeType.subtype == "json") continue;
|
||||
|
||||
if (mimeType.compatible(MIME_APPLICATION_JSON)) {
|
||||
string name = "body";
|
||||
param.type = getType(name, content["schema"], allSchemas);
|
||||
} else {
|
||||
MetaTypeInfo info = new MetaTypeInfo();
|
||||
info.name = "body";
|
||||
info.originalName = "body";
|
||||
info.typeName = "QByteArray";
|
||||
info.isTypeNullable = true;
|
||||
info.needsSystemImport = true;
|
||||
info.typeNullableCheck = ".isEmpty()";
|
||||
info.typeNullableSetter = ".clear()";
|
||||
param.type = info;
|
||||
}
|
||||
endpoint.bodyParameters ~= [param];
|
||||
endpoint.parameters ~= [param];
|
||||
}
|
||||
}
|
||||
|
||||
// Build the parameter structure.
|
||||
if ("parameters" in endpointNode && endpointNode["parameters"].length > 0) {
|
||||
foreach (ref const Node yamlParameter; endpointNode["parameters"]) {
|
||||
|
@ -488,18 +538,19 @@ void generateFileForEndpoints(ref const Node[] endpointNodes,
|
|||
EndpointController endpointController = new EndpointController();
|
||||
endpointController.className = name.applyCasePolicy(OPENAPI_CASING, CPP_CLASS_CASING);
|
||||
endpointController.endpoint = endpoint;
|
||||
endpointController.operation = endpoint.operation.applyCasePolicy(CasePolicy.CAMEL, CasePolicy.PASCAL);
|
||||
endpointControllers ~= [endpointController];
|
||||
}
|
||||
|
||||
|
||||
// Render templates
|
||||
class Controller {
|
||||
struct Controller {
|
||||
EndpointController[] endpoints;
|
||||
string supportNamespace = namespaceString!CPP_NAMESPACE_SUPPORT;
|
||||
string dtoNamespace = namespaceString!CPP_NAMESPACE_DTO;
|
||||
}
|
||||
|
||||
Controller controller = new Controller();
|
||||
Controller controller = Controller();
|
||||
controller.endpoints = endpointControllers[];
|
||||
|
||||
writeHeaderPreamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, categoryName, systemImports, userImports);
|
||||
|
@ -1039,7 +1090,7 @@ class Endpoint {
|
|||
string description;
|
||||
|
||||
/// HTTP method for this endpoint
|
||||
string method;
|
||||
string operation;
|
||||
|
||||
/// List of all parameters for this request
|
||||
RequestParameter[] parameters = [];
|
||||
|
@ -1047,13 +1098,15 @@ class Endpoint {
|
|||
RequestParameter[] requiredPathParameters;
|
||||
RequestParameter[] requiredQueryParameters;
|
||||
RequestParameter[] optionalQueryParameters;
|
||||
RequestParameter[] bodyParameters;
|
||||
}
|
||||
|
||||
enum ParameterLocation {
|
||||
PATH,
|
||||
QUERY,
|
||||
COOKIE,
|
||||
HEADER
|
||||
HEADER,
|
||||
BODY
|
||||
}
|
||||
|
||||
class RequestParameter {
|
||||
|
@ -1062,6 +1115,8 @@ class RequestParameter {
|
|||
bool required;
|
||||
string description;
|
||||
MetaTypeInfo type;
|
||||
// Only for body parameters.
|
||||
string mimeType;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1111,6 +1166,82 @@ unittest {
|
|||
assert(namespaceString!["foo", "bar"] == "foo::bar");
|
||||
}
|
||||
|
||||
|
||||
bool areMimesCompatible(string expectedMime, string mime) @safe nothrow {
|
||||
try {
|
||||
MimeType type1 = MimeType.parse(expectedMime);
|
||||
MimeType type2 = MimeType.parse(mime);
|
||||
return type1.compatible(type2);
|
||||
} catch(Exception e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
class MimeParseException : Exception {
|
||||
mixin basicExceptionCtors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Data structure representing a mime type.
|
||||
*/
|
||||
struct MimeType {
|
||||
public:
|
||||
|
||||
this(string type, string subtype, string suffix = null, string parameter = null) @safe {
|
||||
this.type = type;
|
||||
this.subtype = subtype;
|
||||
this.suffix = suffix;
|
||||
this.parameter = parameter;
|
||||
}
|
||||
|
||||
string toString() const {
|
||||
Appender!string result = appender!string;
|
||||
result.reserve(type.length + subtype.length + (suffix ? suffix.length + 1 : 0) + (parameter ? parameter.length + 2 : 0));
|
||||
result ~= type;
|
||||
result ~= "/";
|
||||
result ~= subtype;
|
||||
if (suffix) {
|
||||
result ~= "+";
|
||||
result ~= suffix;
|
||||
}
|
||||
if (parameter) {
|
||||
result ~= "; ";
|
||||
result ~= parameter;
|
||||
}
|
||||
return result[];
|
||||
}
|
||||
|
||||
static MimeType parse(string mime) @safe {
|
||||
auto parts = mime.matchFirst(mimeRegex);
|
||||
enforce(parts, mime ~ " is not a valid mimetype");
|
||||
return MimeType(parts["type"], parts["subtype"], parts["suffix"], parts["parameter"]);
|
||||
}
|
||||
|
||||
static auto mimeRegex = regex(`(?P<type>\w*)\/(?P<subtype>(([\w\-]+\.)+)?[\w\-\*]+)(\+(?P<suffix>[\w\-\.]+))?(; (?P<parameter>[\w+-\.=]+))?`);
|
||||
|
||||
string type = null;
|
||||
string subtype = null;;
|
||||
string suffix = null;
|
||||
string parameter = null;
|
||||
|
||||
/**
|
||||
* Checks if two mime types are compatible.
|
||||
*
|
||||
* Two mime types are considered compatible if either one of the following
|
||||
* conditions is true:
|
||||
* 1. The mime types are exactly the same
|
||||
* 2. The expected mime type is in the form "x/*" and the mime type is in the form "x/y"
|
||||
* 3. The expected mime type is in the form "x/z+y" and the mime type is in the form "x/y"
|
||||
* 4. The expected mime type is in the form "x/y" and the mime type is in the form "x/z+y"
|
||||
*/
|
||||
bool compatible(const ref MimeType other) const @safe {
|
||||
if (type != other.type) return false;
|
||||
if (subtype == other.subtype || subtype == "*" || other.subtype == "*") return true;
|
||||
if (subtype == other.suffix || suffix == other.subtype) return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the given key from the node, if it does not exists, returns the or parameter.
|
||||
*/
|
||||
|
|
|
@ -20,51 +20,167 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "JellyfinQt/apiclient.h"
|
||||
|
||||
#include "JellyfinQt/support/jsonconv.h"
|
||||
#include "JellyfinQt/viewmodel/settings.h"
|
||||
#include "JellyfinQt/websocket.h"
|
||||
|
||||
|
||||
namespace Jellyfin {
|
||||
|
||||
class ApiClientPrivate {
|
||||
public:
|
||||
ApiClientPrivate(ApiClient *parent);
|
||||
virtual ~ApiClientPrivate() {}
|
||||
|
||||
// Exposed properties
|
||||
ViewModel::Settings *settings;
|
||||
WebSocket *webSocket;
|
||||
EventBus *eventbus;
|
||||
CredentialsManager *credManager;
|
||||
|
||||
// Authentication-related variables
|
||||
QString token;
|
||||
QString baseUrl;
|
||||
QString deviceName;
|
||||
QString deviceId;
|
||||
QString userId;
|
||||
|
||||
bool online = true;
|
||||
QJsonObject deviceProfile;
|
||||
QJsonObject playbackDeviceProfile;
|
||||
QVariantList supportedCommands;
|
||||
|
||||
bool authenticated = false;
|
||||
|
||||
/**
|
||||
* @brief Retrieves the device ID or generates a random one.
|
||||
*/
|
||||
QUuid retrieveDeviceId() const;
|
||||
|
||||
};
|
||||
|
||||
ApiClient::ApiClient(QObject *parent)
|
||||
: QObject(parent),
|
||||
m_webSocket(new WebSocket(this)),
|
||||
m_eventbus(new EventBus(this)),
|
||||
m_deviceName(QHostInfo::localHostName()) {
|
||||
d_ptr(new ApiClientPrivate(this)) {
|
||||
Q_D(ApiClient);
|
||||
|
||||
m_deviceId = Support::toString(retrieveDeviceId());
|
||||
m_credManager = CredentialsManager::newInstance(this);
|
||||
connect(m_credManager, &CredentialsManager::serversListed, this, &ApiClient::credManagerServersListed);
|
||||
connect(m_credManager, &CredentialsManager::usersListed, this, &ApiClient::credManagerUsersListed);
|
||||
connect(m_credManager, &CredentialsManager::tokenRetrieved, this, &ApiClient::credManagerTokenRetrieved);
|
||||
d->deviceId = Support::toString(d->retrieveDeviceId());
|
||||
d->deviceName = QHostInfo::localHostName();
|
||||
d->credManager = CredentialsManager::newInstance(this);
|
||||
connect(d->credManager, &CredentialsManager::serversListed, this, &ApiClient::credManagerServersListed);
|
||||
connect(d->credManager, &CredentialsManager::usersListed, this, &ApiClient::credManagerUsersListed);
|
||||
connect(d->credManager, &CredentialsManager::tokenRetrieved, this, &ApiClient::credManagerTokenRetrieved);
|
||||
generateDeviceProfile();
|
||||
}
|
||||
|
||||
ApiClient::~ApiClient() {
|
||||
|
||||
}
|
||||
|
||||
bool ApiClient::authenticated() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->authenticated;
|
||||
}
|
||||
|
||||
const QString &ApiClient::baseUrl() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->baseUrl;
|
||||
}
|
||||
|
||||
void ApiClient::setBaseUrl(const QString &url) {
|
||||
Q_D(ApiClient);
|
||||
d->baseUrl = url;
|
||||
if (d->baseUrl.endsWith("/")) {
|
||||
d->baseUrl.chop(1);
|
||||
}
|
||||
emit this->baseUrlChanged(d->baseUrl);
|
||||
}
|
||||
|
||||
const QString &ApiClient::userId() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->userId;
|
||||
}
|
||||
|
||||
void ApiClient::setUserId(const QString &userId) {
|
||||
Q_D(ApiClient);
|
||||
d->userId = userId;
|
||||
emit userIdChanged(userId);
|
||||
}
|
||||
|
||||
const QString &ApiClient::deviceId() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->deviceId;
|
||||
}
|
||||
|
||||
EventBus *ApiClient::eventbus() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->eventbus;
|
||||
}
|
||||
WebSocket *ApiClient::websocket() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->webSocket;
|
||||
}
|
||||
|
||||
QString ApiClient::version() const {
|
||||
return QString(SAILFIN_VERSION);
|
||||
}
|
||||
|
||||
bool ApiClient::online() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->online;
|
||||
}
|
||||
|
||||
const QString &ApiClient::token() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->token;
|
||||
}
|
||||
|
||||
ViewModel::Settings *ApiClient::settings() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->settings;
|
||||
}
|
||||
|
||||
QVariantList ApiClient::supportedCommands() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->supportedCommands;
|
||||
}
|
||||
|
||||
void ApiClient::setSupportedCommands(QVariantList newSupportedCommands) {
|
||||
Q_D(ApiClient);
|
||||
d->supportedCommands = newSupportedCommands;
|
||||
emit supportedCommandsChanged();
|
||||
}
|
||||
const QJsonObject &ApiClient::deviceProfile() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->deviceProfile;
|
||||
}
|
||||
const QJsonObject &ApiClient::playbackDeviceProfile() const {
|
||||
Q_D(const ApiClient);
|
||||
return d->playbackDeviceProfile;
|
||||
}
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// BASE HTTP METHODS //
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
void ApiClient::addBaseRequestHeaders(QNetworkRequest &request, const QString &path, const QUrlQuery ¶ms) {
|
||||
void ApiClient::addBaseRequestHeaders(QNetworkRequest &request, const QString &path, const QUrlQuery ¶ms) const {
|
||||
Q_D(const ApiClient);
|
||||
addTokenHeader(request);
|
||||
request.setRawHeader("Accept", "application/json;"); // profile=\"CamelCase\"");
|
||||
request.setHeader(QNetworkRequest::UserAgentHeader, QString("Sailfin/%1").arg(version()));
|
||||
QString url = this->m_baseUrl + path;
|
||||
QString url = d->baseUrl + path;
|
||||
if (!params.isEmpty()) url += "?" + params.toString(QUrl::EncodeReserved);
|
||||
request.setUrl(url);
|
||||
}
|
||||
|
||||
void ApiClient::addTokenHeader(QNetworkRequest &request) {
|
||||
void ApiClient::addTokenHeader(QNetworkRequest &request) const {
|
||||
Q_D(const ApiClient);
|
||||
QString authentication = "MediaBrowser ";
|
||||
authentication += "Client=\"Sailfin\"";
|
||||
authentication += ", Device=\"" + m_deviceName + "\"";
|
||||
authentication += ", DeviceId=\"" + m_deviceId + "\"";
|
||||
authentication += ", Device=\"" + d->deviceName + "\"";
|
||||
authentication += ", DeviceId=\"" + d->deviceId + "\"";
|
||||
authentication += ", Version=\"" + version() + "\"";
|
||||
if (m_authenticated) {
|
||||
authentication += ", token=\"" + m_token + "\"";
|
||||
if (d->authenticated) {
|
||||
authentication += ", token=\"" + d->token + "\"";
|
||||
}
|
||||
request.setRawHeader("X-Emby-Authorization", authentication.toUtf8());
|
||||
}
|
||||
|
@ -88,15 +204,29 @@ QNetworkReply *ApiClient::post(const QString &path, const QJsonDocument &data, c
|
|||
}
|
||||
}
|
||||
|
||||
QNetworkReply *ApiClient::post(const QString &path, const QByteArray &data, const QUrlQuery ¶ms) {
|
||||
QNetworkRequest req;
|
||||
req.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
|
||||
addBaseRequestHeaders(req, path, params);
|
||||
qDebug() << "POST " << req.url();
|
||||
if (data.isEmpty())
|
||||
return m_naManager.post(req, QByteArray());
|
||||
else {
|
||||
return m_naManager.post(req, data);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Nice to have methods //
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void ApiClient::restoreSavedSession(){
|
||||
m_credManager->listServers();
|
||||
Q_D(ApiClient);
|
||||
d->credManager->listServers();
|
||||
}
|
||||
|
||||
void ApiClient::credManagerServersListed(QStringList servers) {
|
||||
Q_D(ApiClient);
|
||||
qDebug() << "Servers listed: " << servers;
|
||||
if (servers.size() == 0) {
|
||||
emit this->setupRequired();
|
||||
|
@ -105,12 +235,13 @@ void ApiClient::credManagerServersListed(QStringList servers) {
|
|||
|
||||
//FIXME: support multiple servers
|
||||
QString server = servers[0];
|
||||
this->m_baseUrl = server;
|
||||
d->baseUrl = server;
|
||||
qDebug() << "Chosen server: " << server;
|
||||
m_credManager->listUsers(server);
|
||||
d->credManager->listUsers(server);
|
||||
}
|
||||
|
||||
void ApiClient::credManagerUsersListed(const QString &server, QStringList users) {
|
||||
Q_D(ApiClient);
|
||||
if (users.size() == 0) {
|
||||
emit this->setupRequired();
|
||||
return;
|
||||
|
@ -119,10 +250,11 @@ void ApiClient::credManagerUsersListed(const QString &server, QStringList users)
|
|||
QString user = users[0];
|
||||
qDebug() << "Chosen user: " << user;
|
||||
|
||||
m_credManager->get(server, user);
|
||||
d->credManager->get(server, user);
|
||||
}
|
||||
void ApiClient::credManagerTokenRetrieved(const QString &server, const QString &user, const QString &token) {
|
||||
this->m_token = token;
|
||||
Q_D(ApiClient);
|
||||
d->token = token;
|
||||
qDebug() << "Token retreived, logged in as user " << user;
|
||||
this->setUserId(user);
|
||||
this->setAuthenticated(true);
|
||||
|
@ -130,10 +262,11 @@ void ApiClient::credManagerTokenRetrieved(const QString &server, const QString &
|
|||
}
|
||||
|
||||
void ApiClient::setupConnection() {
|
||||
Q_D(ApiClient);
|
||||
// First detect redirects:
|
||||
// Note that this is done without calling JellyfinApiClient::get since that automatically includes the base_url,
|
||||
// which is something we want to avoid here.
|
||||
QNetworkRequest req = QNetworkRequest(m_baseUrl);
|
||||
QNetworkRequest req = QNetworkRequest(d->baseUrl);
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
|
||||
req.setAttribute(QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::NoLessSafeRedirectPolicy);
|
||||
#else
|
||||
|
@ -185,27 +318,29 @@ void ApiClient::getBrandingConfiguration() {
|
|||
}
|
||||
|
||||
void ApiClient::authenticate(QString username, QString password, bool storeCredentials) {
|
||||
Q_D(ApiClient);
|
||||
QJsonObject requestData;
|
||||
|
||||
requestData["Username"] = username;
|
||||
requestData["Pw"] = password;
|
||||
QNetworkReply *rep = post("/Users/authenticatebyname", QJsonDocument(requestData));
|
||||
connect(rep, &QNetworkReply::finished, this, [rep, username, storeCredentials, this]() {
|
||||
Q_D(ApiClient);
|
||||
int status = rep->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||
qDebug() << "Got reply with status code " << status;
|
||||
if (status >= 200 && status < 300) {
|
||||
QJsonObject authInfo = QJsonDocument::fromJson(rep->readAll()).object();
|
||||
this->m_token = authInfo["AccessToken"].toString();
|
||||
d->token = authInfo["AccessToken"].toString();
|
||||
|
||||
// Fool this class's addRequestheaders to add the token, without
|
||||
// notifying QML that we're authenticated, to prevent other requests going first.
|
||||
this->m_authenticated = true;
|
||||
d->authenticated = true;
|
||||
this->setUserId(authInfo["User"].toObject()["Id"].toString());
|
||||
this->postCapabilities();
|
||||
this->setAuthenticated(true);
|
||||
|
||||
if (storeCredentials) {
|
||||
m_credManager->store(this->m_baseUrl, this->m_userId, this->m_token);
|
||||
d->credManager->store(d->baseUrl, d->userId, d->token);
|
||||
}
|
||||
} else if(status >= 400 && status < 500) {
|
||||
if (status == 401) {
|
||||
|
@ -222,7 +357,8 @@ void ApiClient::authenticate(QString username, QString password, bool storeCrede
|
|||
void ApiClient::deleteSession() {
|
||||
QNetworkReply *rep = post("/Sessions/Logout");
|
||||
connect(rep, &QNetworkReply::finished, this, [rep, this] {
|
||||
m_credManager->remove(m_baseUrl, m_userId);
|
||||
Q_D(ApiClient);
|
||||
d->credManager->remove(d->baseUrl, d->userId);
|
||||
this->setAuthenticated(false);
|
||||
emit this->setupRequired();
|
||||
rep->deleteLater();
|
||||
|
@ -230,12 +366,13 @@ void ApiClient::deleteSession() {
|
|||
}
|
||||
|
||||
void ApiClient::postCapabilities() {
|
||||
Q_D(const ApiClient);
|
||||
QJsonObject capabilities;
|
||||
QList<DTO::GeneralCommandType> supportedCommands;
|
||||
supportedCommands.reserve(m_supportedCommands.size());
|
||||
for (int i = 0; i < m_supportedCommands.size(); i++) {
|
||||
if (m_supportedCommands[i].canConvert<DTO::GeneralCommandType>()) {
|
||||
supportedCommands.append(m_supportedCommands[i].value<DTO::GeneralCommandType>());
|
||||
supportedCommands.reserve(d->supportedCommands.size());
|
||||
for (int i = 0; i < d->supportedCommands.size(); i++) {
|
||||
if (d->supportedCommands[i].canConvert<DTO::GeneralCommandType>()) {
|
||||
supportedCommands.append(d->supportedCommands[i].value<DTO::GeneralCommandType>());
|
||||
}
|
||||
}
|
||||
QList<int> foo = {1, 2, 3};
|
||||
|
@ -248,20 +385,22 @@ void ApiClient::postCapabilities() {
|
|||
capabilities["SupportsContentUploading"] = false;
|
||||
capabilities["AppStoreUrl"] = "https://chris.netsoj.nl/projects/harbour-sailfin";
|
||||
capabilities["IconUrl"] = "https://chris.netsoj.nl/static/img/logo.png";
|
||||
capabilities["DeviceProfile"] = m_deviceProfile;
|
||||
capabilities["DeviceProfile"] = d->deviceProfile;
|
||||
QNetworkReply *rep = post("/Sessions/Capabilities/Full", QJsonDocument(capabilities));
|
||||
setDefaultErrorHandler(rep);
|
||||
}
|
||||
|
||||
QString ApiClient::downloadUrl(const QString &itemId) const {
|
||||
return m_baseUrl + "/Items/" + itemId + "/Download?api_key=" + this->m_token;
|
||||
Q_D(const ApiClient);
|
||||
return d->baseUrl + "/Items/" + itemId + "/Download?api_key=" + d->token;
|
||||
}
|
||||
|
||||
void ApiClient::generateDeviceProfile() {
|
||||
Q_D(ApiClient);
|
||||
QJsonObject root = Model::DeviceProfile::generateProfile();
|
||||
m_playbackDeviceProfile = QJsonObject(root);
|
||||
root["Name"] = m_deviceName;
|
||||
root["Id"] = m_deviceId;
|
||||
d->playbackDeviceProfile = QJsonObject(root);
|
||||
root["Name"] = d->deviceName;
|
||||
root["Id"] = d->deviceId;
|
||||
root["FriendlyName"] = QSysInfo::prettyProductName();
|
||||
QJsonArray playableMediaTypes;
|
||||
playableMediaTypes.append("Audio");
|
||||
|
@ -269,7 +408,7 @@ void ApiClient::generateDeviceProfile() {
|
|||
playableMediaTypes.append("Photo");
|
||||
root["PlayableMediaTypes"] = playableMediaTypes;
|
||||
|
||||
m_deviceProfile = root;
|
||||
d->deviceProfile = root;
|
||||
emit deviceProfileChanged();
|
||||
}
|
||||
|
||||
|
@ -291,12 +430,13 @@ void ApiClient::onUserDataChanged(const QString &itemId, UserData *userData) {
|
|||
}
|
||||
|
||||
void ApiClient::setAuthenticated(bool authenticated) {
|
||||
this->m_authenticated = authenticated;
|
||||
if (authenticated) m_webSocket->open();
|
||||
Q_D(ApiClient);
|
||||
d->authenticated = authenticated;
|
||||
if (authenticated) d->webSocket->open();
|
||||
emit authenticatedChanged(authenticated);
|
||||
}
|
||||
|
||||
QUuid ApiClient::retrieveDeviceId() {
|
||||
QUuid ApiClientPrivate::retrieveDeviceId() const {
|
||||
// This should probably not block the main thread, but on the other side,
|
||||
// the file is not too big.
|
||||
QString path = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
|
||||
|
@ -336,4 +476,15 @@ QUuid ApiClient::retrieveDeviceId() {
|
|||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// PRIVATE //
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ApiClientPrivate::ApiClientPrivate(ApiClient *apiClient)
|
||||
: settings(new ViewModel::Settings(apiClient)),
|
||||
webSocket(new WebSocket(apiClient)),
|
||||
eventbus(new EventBus(apiClient)) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ void registerTypes(const char *uri) {
|
|||
qmlRegisterUncreatableType<EventBus>(uri, 1, 0, "EventBus", "Obtain one via your ApiClient");
|
||||
qmlRegisterUncreatableType<WebSocket>(uri, 1, 0, "WebSocket", "Obtain one via your ApiClient");
|
||||
qmlRegisterUncreatableType<ViewModel::MediaStream>(uri, 1, 0, "MediaStream", "Obtain one via an Item");
|
||||
qmlRegisterUncreatableType<ViewModel::Settings>(uri, 1, 0, "Settings", "Obtain one via your ApiClient");
|
||||
qmlRegisterUncreatableType<ViewModel::UserData>(uri, 1, 0, "UserData", "Obtain one via an Item");
|
||||
|
||||
// AbstractItemModels
|
||||
|
|
|
@ -66,6 +66,16 @@ QUrlQuery GetLogEntriesLoader::query(const GetLogEntriesParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLogEntriesLoader::body(const GetLogEntriesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLogEntriesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetKeysLoader::query(const GetKeysParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetKeysLoader::body(const GetKeysParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetKeysLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -144,6 +144,16 @@ QUrlQuery GetArtistsLoader::query(const GetArtistsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetArtistsLoader::body(const GetArtistsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetArtistsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetArtistByNameLoader::GetArtistByNameLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetArtistByNameParams>(apiClient) {}
|
||||
|
||||
|
@ -166,6 +176,16 @@ QUrlQuery GetArtistByNameLoader::query(const GetArtistByNameParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetArtistByNameLoader::body(const GetArtistByNameParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetArtistByNameLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetAlbumArtistsLoader::GetAlbumArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetAlbumArtistsParams>(apiClient) {}
|
||||
|
||||
|
@ -275,6 +295,16 @@ QUrlQuery GetAlbumArtistsLoader::query(const GetAlbumArtistsParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetAlbumArtistsLoader::body(const GetAlbumArtistsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetAlbumArtistsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetBrandingOptionsLoader::query(const GetBrandingOptionsParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetBrandingOptionsLoader::body(const GetBrandingOptionsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetBrandingOptionsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetBrandingCssLoader::GetBrandingCssLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QString, GetBrandingCssParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetBrandingCssLoader::query(const GetBrandingCssParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetBrandingCssLoader::body(const GetBrandingCssParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetBrandingCssLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetBrandingCss_2Loader::GetBrandingCss_2Loader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QString, GetBrandingCss_2Params>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetBrandingCss_2Loader::query(const GetBrandingCss_2Params ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetBrandingCss_2Loader::body(const GetBrandingCss_2Params ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetBrandingCss_2Loader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -72,6 +72,16 @@ QUrlQuery GetChannelsLoader::query(const GetChannelsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetChannelsLoader::body(const GetChannelsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetChannelsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetChannelFeaturesLoader::GetChannelFeaturesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<ChannelFeatures, GetChannelFeaturesParams>(apiClient) {}
|
||||
|
||||
|
@ -91,6 +101,16 @@ QUrlQuery GetChannelFeaturesLoader::query(const GetChannelFeaturesParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetChannelFeaturesLoader::body(const GetChannelFeaturesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetChannelFeaturesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetChannelItemsLoader::GetChannelItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetChannelItemsParams>(apiClient) {}
|
||||
|
||||
|
@ -134,6 +154,16 @@ QUrlQuery GetChannelItemsLoader::query(const GetChannelItemsParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetChannelItemsLoader::body(const GetChannelItemsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetChannelItemsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetAllChannelFeaturesLoader::GetAllChannelFeaturesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<ChannelFeatures>, GetAllChannelFeaturesParams>(apiClient) {}
|
||||
|
||||
|
@ -153,6 +183,16 @@ QUrlQuery GetAllChannelFeaturesLoader::query(const GetAllChannelFeaturesParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetAllChannelFeaturesLoader::body(const GetAllChannelFeaturesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetAllChannelFeaturesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLatestChannelItemsLoader::GetLatestChannelItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetLatestChannelItemsParams>(apiClient) {}
|
||||
|
||||
|
@ -190,6 +230,16 @@ QUrlQuery GetLatestChannelItemsLoader::query(const GetLatestChannelItemsParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLatestChannelItemsLoader::body(const GetLatestChannelItemsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLatestChannelItemsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -66,6 +66,16 @@ QUrlQuery CreateCollectionLoader::query(const CreateCollectionParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray CreateCollectionLoader::body(const CreateCollectionParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation CreateCollectionLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetConfigurationLoader::query(const GetConfigurationParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetConfigurationLoader::body(const GetConfigurationParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetConfigurationLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetNamedConfigurationLoader::GetNamedConfigurationLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QString, GetNamedConfigurationParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetNamedConfigurationLoader::query(const GetNamedConfigurationParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetNamedConfigurationLoader::body(const GetNamedConfigurationParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetNamedConfigurationLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDefaultMetadataOptionsLoader::GetDefaultMetadataOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<MetadataOptions, GetDefaultMetadataOptionsParams>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetDefaultMetadataOptionsLoader::query(const GetDefaultMetadataOptions
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDefaultMetadataOptionsLoader::body(const GetDefaultMetadataOptionsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDefaultMetadataOptionsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -60,6 +60,16 @@ QUrlQuery GetConfigurationPagesLoader::query(const GetConfigurationPagesParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetConfigurationPagesLoader::body(const GetConfigurationPagesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetConfigurationPagesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -60,6 +60,16 @@ QUrlQuery GetDevicesLoader::query(const GetDevicesParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDevicesLoader::body(const GetDevicesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDevicesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDeviceInfoLoader::GetDeviceInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<DeviceInfo, GetDeviceInfoParams>(apiClient) {}
|
||||
|
||||
|
@ -80,6 +90,16 @@ QUrlQuery GetDeviceInfoLoader::query(const GetDeviceInfoParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDeviceInfoLoader::body(const GetDeviceInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDeviceInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDeviceOptionsLoader::GetDeviceOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<DeviceOptions, GetDeviceOptionsParams>(apiClient) {}
|
||||
|
||||
|
@ -100,6 +120,16 @@ QUrlQuery GetDeviceOptionsLoader::query(const GetDeviceOptionsParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDeviceOptionsLoader::body(const GetDeviceOptionsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDeviceOptionsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -56,6 +56,16 @@ QUrlQuery GetDisplayPreferencesLoader::query(const GetDisplayPreferencesParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDisplayPreferencesLoader::body(const GetDisplayPreferencesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDisplayPreferencesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetProfileInfosLoader::query(const GetProfileInfosParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetProfileInfosLoader::body(const GetProfileInfosParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetProfileInfosLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetProfileLoader::GetProfileLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<DeviceProfile, GetProfileParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetProfileLoader::query(const GetProfileParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetProfileLoader::body(const GetProfileParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetProfileLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDefaultProfileLoader::GetDefaultProfileLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<DeviceProfile, GetDefaultProfileParams>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetDefaultProfileLoader::query(const GetDefaultProfileParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDefaultProfileLoader::body(const GetDefaultProfileParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDefaultProfileLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetDefaultDirectoryBrowserLoader::query(const GetDefaultDirectoryBrows
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDefaultDirectoryBrowserLoader::body(const GetDefaultDirectoryBrowserParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDefaultDirectoryBrowserLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDirectoryContentsLoader::GetDirectoryContentsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<FileSystemEntryInfo>, GetDirectoryContentsParams>(apiClient) {}
|
||||
|
||||
|
@ -80,6 +90,16 @@ QUrlQuery GetDirectoryContentsLoader::query(const GetDirectoryContentsParams &pa
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDirectoryContentsLoader::body(const GetDirectoryContentsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDirectoryContentsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDrivesLoader::GetDrivesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<FileSystemEntryInfo>, GetDrivesParams>(apiClient) {}
|
||||
|
||||
|
@ -99,6 +119,16 @@ QUrlQuery GetDrivesLoader::query(const GetDrivesParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDrivesLoader::body(const GetDrivesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDrivesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetNetworkSharesLoader::GetNetworkSharesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<FileSystemEntryInfo>, GetNetworkSharesParams>(apiClient) {}
|
||||
|
||||
|
@ -118,6 +148,16 @@ QUrlQuery GetNetworkSharesLoader::query(const GetNetworkSharesParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetNetworkSharesLoader::body(const GetNetworkSharesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetNetworkSharesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetParentPathLoader::GetParentPathLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QString, GetParentPathParams>(apiClient) {}
|
||||
|
||||
|
@ -138,6 +178,16 @@ QUrlQuery GetParentPathLoader::query(const GetParentPathParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetParentPathLoader::body(const GetParentPathParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetParentPathLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -66,6 +66,16 @@ QUrlQuery GetQueryFiltersLegacyLoader::query(const GetQueryFiltersLegacyParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetQueryFiltersLegacyLoader::body(const GetQueryFiltersLegacyParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetQueryFiltersLegacyLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetQueryFiltersLoader::GetQueryFiltersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QueryFilters, GetQueryFiltersParams>(apiClient) {}
|
||||
|
||||
|
@ -115,6 +125,16 @@ QUrlQuery GetQueryFiltersLoader::query(const GetQueryFiltersParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetQueryFiltersLoader::body(const GetQueryFiltersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetQueryFiltersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -102,6 +102,16 @@ QUrlQuery GetGenresLoader::query(const GetGenresParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetGenresLoader::body(const GetGenresParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetGenresLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetGenreLoader::GetGenreLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetGenreParams>(apiClient) {}
|
||||
|
||||
|
@ -124,6 +134,16 @@ QUrlQuery GetGenreLoader::query(const GetGenreParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetGenreLoader::body(const GetGenreParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetGenreLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetItemImageInfosLoader::query(const GetItemImageInfosParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetItemImageInfosLoader::body(const GetItemImageInfosParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetItemImageInfosLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetGeneralImagesLoader::query(const GetGeneralImagesParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetGeneralImagesLoader::body(const GetGeneralImagesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetGeneralImagesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMediaInfoImagesLoader::GetMediaInfoImagesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<ImageByNameInfo>, GetMediaInfoImagesParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetMediaInfoImagesLoader::query(const GetMediaInfoImagesParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMediaInfoImagesLoader::body(const GetMediaInfoImagesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMediaInfoImagesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRatingImagesLoader::GetRatingImagesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<ImageByNameInfo>, GetRatingImagesParams>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetRatingImagesLoader::query(const GetRatingImagesParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRatingImagesLoader::body(const GetRatingImagesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRatingImagesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -75,6 +75,16 @@ QUrlQuery GetInstantMixFromAlbumLoader::query(const GetInstantMixFromAlbumParams
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromAlbumLoader::body(const GetInstantMixFromAlbumParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromAlbumLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetInstantMixFromArtistsLoader::GetInstantMixFromArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetInstantMixFromArtistsParams>(apiClient) {}
|
||||
|
||||
|
@ -115,6 +125,16 @@ QUrlQuery GetInstantMixFromArtistsLoader::query(const GetInstantMixFromArtistsPa
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromArtistsLoader::body(const GetInstantMixFromArtistsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromArtistsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetInstantMixFromItemLoader::GetInstantMixFromItemLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetInstantMixFromItemParams>(apiClient) {}
|
||||
|
||||
|
@ -155,6 +175,16 @@ QUrlQuery GetInstantMixFromItemLoader::query(const GetInstantMixFromItemParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromItemLoader::body(const GetInstantMixFromItemParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromItemLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetInstantMixFromMusicGenresLoader::GetInstantMixFromMusicGenresLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetInstantMixFromMusicGenresParams>(apiClient) {}
|
||||
|
||||
|
@ -195,6 +225,16 @@ QUrlQuery GetInstantMixFromMusicGenresLoader::query(const GetInstantMixFromMusic
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromMusicGenresLoader::body(const GetInstantMixFromMusicGenresParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromMusicGenresLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetInstantMixFromMusicGenreLoader::GetInstantMixFromMusicGenreLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetInstantMixFromMusicGenreParams>(apiClient) {}
|
||||
|
||||
|
@ -235,6 +275,16 @@ QUrlQuery GetInstantMixFromMusicGenreLoader::query(const GetInstantMixFromMusicG
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromMusicGenreLoader::body(const GetInstantMixFromMusicGenreParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromMusicGenreLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetInstantMixFromPlaylistLoader::GetInstantMixFromPlaylistLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetInstantMixFromPlaylistParams>(apiClient) {}
|
||||
|
||||
|
@ -275,6 +325,16 @@ QUrlQuery GetInstantMixFromPlaylistLoader::query(const GetInstantMixFromPlaylist
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromPlaylistLoader::body(const GetInstantMixFromPlaylistParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromPlaylistLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetInstantMixFromSongLoader::GetInstantMixFromSongLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetInstantMixFromSongParams>(apiClient) {}
|
||||
|
||||
|
@ -315,6 +375,16 @@ QUrlQuery GetInstantMixFromSongLoader::query(const GetInstantMixFromSongParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetInstantMixFromSongLoader::body(const GetInstantMixFromSongParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetInstantMixFromSongLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetExternalIdInfosLoader::query(const GetExternalIdInfosParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetExternalIdInfosLoader::body(const GetExternalIdInfosParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetExternalIdInfosLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetBookRemoteSearchResultsLoader::GetBookRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetBookRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetBookRemoteSearchResultsLoader::query(const GetBookRemoteSearchResul
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetBookRemoteSearchResultsLoader::body(const GetBookRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<BookInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetBookRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetBoxSetRemoteSearchResultsLoader::GetBoxSetRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetBoxSetRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetBoxSetRemoteSearchResultsLoader::query(const GetBoxSetRemoteSearchR
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetBoxSetRemoteSearchResultsLoader::body(const GetBoxSetRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<BoxSetInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetBoxSetRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMovieRemoteSearchResultsLoader::GetMovieRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetMovieRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -111,6 +141,16 @@ QUrlQuery GetMovieRemoteSearchResultsLoader::query(const GetMovieRemoteSearchRes
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMovieRemoteSearchResultsLoader::body(const GetMovieRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<MovieInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMovieRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMusicAlbumRemoteSearchResultsLoader::GetMusicAlbumRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetMusicAlbumRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -130,6 +170,16 @@ QUrlQuery GetMusicAlbumRemoteSearchResultsLoader::query(const GetMusicAlbumRemot
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMusicAlbumRemoteSearchResultsLoader::body(const GetMusicAlbumRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<AlbumInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMusicAlbumRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMusicArtistRemoteSearchResultsLoader::GetMusicArtistRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetMusicArtistRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -149,6 +199,16 @@ QUrlQuery GetMusicArtistRemoteSearchResultsLoader::query(const GetMusicArtistRem
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMusicArtistRemoteSearchResultsLoader::body(const GetMusicArtistRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<ArtistInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMusicArtistRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMusicVideoRemoteSearchResultsLoader::GetMusicVideoRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetMusicVideoRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -168,6 +228,16 @@ QUrlQuery GetMusicVideoRemoteSearchResultsLoader::query(const GetMusicVideoRemot
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMusicVideoRemoteSearchResultsLoader::body(const GetMusicVideoRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<MusicVideoInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMusicVideoRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPersonRemoteSearchResultsLoader::GetPersonRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetPersonRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -187,6 +257,16 @@ QUrlQuery GetPersonRemoteSearchResultsLoader::query(const GetPersonRemoteSearchR
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPersonRemoteSearchResultsLoader::body(const GetPersonRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<PersonLookupInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPersonRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSeriesRemoteSearchResultsLoader::GetSeriesRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetSeriesRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -206,6 +286,16 @@ QUrlQuery GetSeriesRemoteSearchResultsLoader::query(const GetSeriesRemoteSearchR
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSeriesRemoteSearchResultsLoader::body(const GetSeriesRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<SeriesInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSeriesRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetTrailerRemoteSearchResultsLoader::GetTrailerRemoteSearchResultsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RemoteSearchResult>, GetTrailerRemoteSearchResultsParams>(apiClient) {}
|
||||
|
||||
|
@ -225,6 +315,16 @@ QUrlQuery GetTrailerRemoteSearchResultsLoader::query(const GetTrailerRemoteSearc
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetTrailerRemoteSearchResultsLoader::body(const GetTrailerRemoteSearchResultsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<TrailerInfoRemoteSearchQuery>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetTrailerRemoteSearchResultsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -294,6 +294,16 @@ QUrlQuery GetItemsLoader::query(const GetItemsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetItemsLoader::body(const GetItemsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetItemsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetItemsByUserIdLoader::GetItemsByUserIdLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetItemsByUserIdParams>(apiClient) {}
|
||||
|
||||
|
@ -550,6 +560,16 @@ QUrlQuery GetItemsByUserIdLoader::query(const GetItemsByUserIdParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetItemsByUserIdLoader::body(const GetItemsByUserIdParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetItemsByUserIdLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetResumeItemsLoader::GetResumeItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetResumeItemsParams>(apiClient) {}
|
||||
|
||||
|
@ -608,6 +628,16 @@ QUrlQuery GetResumeItemsLoader::query(const GetResumeItemsParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetResumeItemsLoader::body(const GetResumeItemsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetResumeItemsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetMetadataEditorInfoLoader::query(const GetMetadataEditorInfoParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMetadataEditorInfoLoader::body(const GetMetadataEditorInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMetadataEditorInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -66,6 +66,16 @@ QUrlQuery GetSimilarAlbumsLoader::query(const GetSimilarAlbumsParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSimilarAlbumsLoader::body(const GetSimilarAlbumsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSimilarAlbumsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSimilarArtistsLoader::GetSimilarArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetSimilarArtistsParams>(apiClient) {}
|
||||
|
||||
|
@ -97,6 +107,16 @@ QUrlQuery GetSimilarArtistsLoader::query(const GetSimilarArtistsParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSimilarArtistsLoader::body(const GetSimilarArtistsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSimilarArtistsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetAncestorsLoader::GetAncestorsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<BaseItemDto>, GetAncestorsParams>(apiClient) {}
|
||||
|
||||
|
@ -119,6 +139,16 @@ QUrlQuery GetAncestorsLoader::query(const GetAncestorsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetAncestorsLoader::body(const GetAncestorsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetAncestorsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetCriticReviewsLoader::GetCriticReviewsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetCriticReviewsParams>(apiClient) {}
|
||||
|
||||
|
@ -138,6 +168,16 @@ QUrlQuery GetCriticReviewsLoader::query(const GetCriticReviewsParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetCriticReviewsLoader::body(const GetCriticReviewsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetCriticReviewsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSimilarItemsLoader::GetSimilarItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetSimilarItemsParams>(apiClient) {}
|
||||
|
||||
|
@ -169,6 +209,16 @@ QUrlQuery GetSimilarItemsLoader::query(const GetSimilarItemsParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSimilarItemsLoader::body(const GetSimilarItemsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSimilarItemsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetThemeMediaLoader::GetThemeMediaLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<AllThemeMediaResult, GetThemeMediaParams>(apiClient) {}
|
||||
|
||||
|
@ -194,6 +244,16 @@ QUrlQuery GetThemeMediaLoader::query(const GetThemeMediaParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetThemeMediaLoader::body(const GetThemeMediaParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetThemeMediaLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetThemeSongsLoader::GetThemeSongsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<ThemeMediaResult, GetThemeSongsParams>(apiClient) {}
|
||||
|
||||
|
@ -219,6 +279,16 @@ QUrlQuery GetThemeSongsLoader::query(const GetThemeSongsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetThemeSongsLoader::body(const GetThemeSongsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetThemeSongsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetThemeVideosLoader::GetThemeVideosLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<ThemeMediaResult, GetThemeVideosParams>(apiClient) {}
|
||||
|
||||
|
@ -244,6 +314,16 @@ QUrlQuery GetThemeVideosLoader::query(const GetThemeVideosParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetThemeVideosLoader::body(const GetThemeVideosParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetThemeVideosLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetItemCountsLoader::GetItemCountsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<ItemCounts, GetItemCountsParams>(apiClient) {}
|
||||
|
||||
|
@ -269,6 +349,16 @@ QUrlQuery GetItemCountsLoader::query(const GetItemCountsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetItemCountsLoader::body(const GetItemCountsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetItemCountsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLibraryOptionsInfoLoader::GetLibraryOptionsInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<LibraryOptionsResultDto, GetLibraryOptionsInfoParams>(apiClient) {}
|
||||
|
||||
|
@ -294,6 +384,16 @@ QUrlQuery GetLibraryOptionsInfoLoader::query(const GetLibraryOptionsInfoParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLibraryOptionsInfoLoader::body(const GetLibraryOptionsInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLibraryOptionsInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMediaFoldersLoader::GetMediaFoldersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetMediaFoldersParams>(apiClient) {}
|
||||
|
||||
|
@ -316,6 +416,16 @@ QUrlQuery GetMediaFoldersLoader::query(const GetMediaFoldersParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMediaFoldersLoader::body(const GetMediaFoldersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMediaFoldersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPhysicalPathsLoader::GetPhysicalPathsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QStringList, GetPhysicalPathsParams>(apiClient) {}
|
||||
|
||||
|
@ -335,6 +445,16 @@ QUrlQuery GetPhysicalPathsLoader::query(const GetPhysicalPathsParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPhysicalPathsLoader::body(const GetPhysicalPathsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPhysicalPathsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSimilarMoviesLoader::GetSimilarMoviesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetSimilarMoviesParams>(apiClient) {}
|
||||
|
||||
|
@ -366,6 +486,16 @@ QUrlQuery GetSimilarMoviesLoader::query(const GetSimilarMoviesParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSimilarMoviesLoader::body(const GetSimilarMoviesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSimilarMoviesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSimilarShowsLoader::GetSimilarShowsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetSimilarShowsParams>(apiClient) {}
|
||||
|
||||
|
@ -397,6 +527,16 @@ QUrlQuery GetSimilarShowsLoader::query(const GetSimilarShowsParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSimilarShowsLoader::body(const GetSimilarShowsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSimilarShowsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSimilarTrailersLoader::GetSimilarTrailersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetSimilarTrailersParams>(apiClient) {}
|
||||
|
||||
|
@ -428,6 +568,16 @@ QUrlQuery GetSimilarTrailersLoader::query(const GetSimilarTrailersParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSimilarTrailersLoader::body(const GetSimilarTrailersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSimilarTrailersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetVirtualFoldersLoader::query(const GetVirtualFoldersParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetVirtualFoldersLoader::body(const GetVirtualFoldersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetVirtualFoldersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -57,6 +57,16 @@ QUrlQuery GetChannelMappingOptionsLoader::query(const GetChannelMappingOptionsPa
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetChannelMappingOptionsLoader::body(const GetChannelMappingOptionsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetChannelMappingOptionsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
SetChannelMappingLoader::SetChannelMappingLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<TunerChannelMapping, SetChannelMappingParams>(apiClient) {}
|
||||
|
||||
|
@ -76,6 +86,16 @@ QUrlQuery SetChannelMappingLoader::query(const SetChannelMappingParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray SetChannelMappingLoader::body(const SetChannelMappingParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<SetChannelMappingDto>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation SetChannelMappingLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLiveTvChannelsLoader::GetLiveTvChannelsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetLiveTvChannelsParams>(apiClient) {}
|
||||
|
||||
|
@ -158,6 +178,16 @@ QUrlQuery GetLiveTvChannelsLoader::query(const GetLiveTvChannelsParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLiveTvChannelsLoader::body(const GetLiveTvChannelsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLiveTvChannelsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetChannelLoader::GetChannelLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetChannelParams>(apiClient) {}
|
||||
|
||||
|
@ -180,6 +210,16 @@ QUrlQuery GetChannelLoader::query(const GetChannelParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetChannelLoader::body(const GetChannelParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetChannelLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetGuideInfoLoader::GetGuideInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<GuideInfo, GetGuideInfoParams>(apiClient) {}
|
||||
|
||||
|
@ -199,6 +239,16 @@ QUrlQuery GetGuideInfoLoader::query(const GetGuideInfoParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetGuideInfoLoader::body(const GetGuideInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetGuideInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLiveTvInfoLoader::GetLiveTvInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<LiveTvInfo, GetLiveTvInfoParams>(apiClient) {}
|
||||
|
||||
|
@ -218,6 +268,16 @@ QUrlQuery GetLiveTvInfoLoader::query(const GetLiveTvInfoParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLiveTvInfoLoader::body(const GetLiveTvInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLiveTvInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
AddListingProviderLoader::AddListingProviderLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<ListingsProviderInfo, AddListingProviderParams>(apiClient) {}
|
||||
|
||||
|
@ -246,6 +306,16 @@ QUrlQuery AddListingProviderLoader::query(const AddListingProviderParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray AddListingProviderLoader::body(const AddListingProviderParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<ListingsProviderInfo>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation AddListingProviderLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDefaultListingProviderLoader::GetDefaultListingProviderLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<ListingsProviderInfo, GetDefaultListingProviderParams>(apiClient) {}
|
||||
|
||||
|
@ -265,6 +335,16 @@ QUrlQuery GetDefaultListingProviderLoader::query(const GetDefaultListingProvider
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDefaultListingProviderLoader::body(const GetDefaultListingProviderParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDefaultListingProviderLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLineupsLoader::GetLineupsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<NameIdPair>, GetLineupsParams>(apiClient) {}
|
||||
|
||||
|
@ -296,6 +376,16 @@ QUrlQuery GetLineupsLoader::query(const GetLineupsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLineupsLoader::body(const GetLineupsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLineupsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSchedulesDirectCountriesLoader::GetSchedulesDirectCountriesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QString, GetSchedulesDirectCountriesParams>(apiClient) {}
|
||||
|
||||
|
@ -315,6 +405,16 @@ QUrlQuery GetSchedulesDirectCountriesLoader::query(const GetSchedulesDirectCount
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSchedulesDirectCountriesLoader::body(const GetSchedulesDirectCountriesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSchedulesDirectCountriesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLiveTvProgramsLoader::GetLiveTvProgramsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetLiveTvProgramsParams>(apiClient) {}
|
||||
|
||||
|
@ -415,6 +515,16 @@ QUrlQuery GetLiveTvProgramsLoader::query(const GetLiveTvProgramsParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLiveTvProgramsLoader::body(const GetLiveTvProgramsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLiveTvProgramsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetProgramsLoader::GetProgramsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetProgramsParams>(apiClient) {}
|
||||
|
||||
|
@ -434,6 +544,16 @@ QUrlQuery GetProgramsLoader::query(const GetProgramsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetProgramsLoader::body(const GetProgramsParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<GetProgramsDto>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetProgramsLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetProgramLoader::GetProgramLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetProgramParams>(apiClient) {}
|
||||
|
||||
|
@ -456,6 +576,16 @@ QUrlQuery GetProgramLoader::query(const GetProgramParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetProgramLoader::body(const GetProgramParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetProgramLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRecommendedProgramsLoader::GetRecommendedProgramsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetRecommendedProgramsParams>(apiClient) {}
|
||||
|
||||
|
@ -523,6 +653,16 @@ QUrlQuery GetRecommendedProgramsLoader::query(const GetRecommendedProgramsParams
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRecommendedProgramsLoader::body(const GetRecommendedProgramsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRecommendedProgramsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRecordingsLoader::GetRecordingsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetRecordingsParams>(apiClient) {}
|
||||
|
||||
|
@ -599,6 +739,16 @@ QUrlQuery GetRecordingsLoader::query(const GetRecordingsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRecordingsLoader::body(const GetRecordingsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRecordingsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRecordingLoader::GetRecordingLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetRecordingParams>(apiClient) {}
|
||||
|
||||
|
@ -621,6 +771,16 @@ QUrlQuery GetRecordingLoader::query(const GetRecordingParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRecordingLoader::body(const GetRecordingParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRecordingLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRecordingFoldersLoader::GetRecordingFoldersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetRecordingFoldersParams>(apiClient) {}
|
||||
|
||||
|
@ -643,6 +803,16 @@ QUrlQuery GetRecordingFoldersLoader::query(const GetRecordingFoldersParams ¶
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRecordingFoldersLoader::body(const GetRecordingFoldersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRecordingFoldersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRecordingGroupsLoader::GetRecordingGroupsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetRecordingGroupsParams>(apiClient) {}
|
||||
|
||||
|
@ -665,6 +835,16 @@ QUrlQuery GetRecordingGroupsLoader::query(const GetRecordingGroupsParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRecordingGroupsLoader::body(const GetRecordingGroupsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRecordingGroupsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRecordingsSeriesLoader::GetRecordingsSeriesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetRecordingsSeriesParams>(apiClient) {}
|
||||
|
||||
|
@ -726,6 +906,16 @@ QUrlQuery GetRecordingsSeriesLoader::query(const GetRecordingsSeriesParams ¶
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRecordingsSeriesLoader::body(const GetRecordingsSeriesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRecordingsSeriesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSeriesTimersLoader::GetSeriesTimersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<SeriesTimerInfoDtoQueryResult, GetSeriesTimersParams>(apiClient) {}
|
||||
|
||||
|
@ -751,6 +941,16 @@ QUrlQuery GetSeriesTimersLoader::query(const GetSeriesTimersParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSeriesTimersLoader::body(const GetSeriesTimersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSeriesTimersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSeriesTimerLoader::GetSeriesTimerLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<SeriesTimerInfoDto, GetSeriesTimerParams>(apiClient) {}
|
||||
|
||||
|
@ -770,6 +970,16 @@ QUrlQuery GetSeriesTimerLoader::query(const GetSeriesTimerParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSeriesTimerLoader::body(const GetSeriesTimerParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSeriesTimerLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetTimersLoader::GetTimersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<TimerInfoDtoQueryResult, GetTimersParams>(apiClient) {}
|
||||
|
||||
|
@ -801,6 +1011,16 @@ QUrlQuery GetTimersLoader::query(const GetTimersParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetTimersLoader::body(const GetTimersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetTimersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetTimerLoader::GetTimerLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<TimerInfoDto, GetTimerParams>(apiClient) {}
|
||||
|
||||
|
@ -820,6 +1040,16 @@ QUrlQuery GetTimerLoader::query(const GetTimerParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetTimerLoader::body(const GetTimerParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetTimerLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetDefaultTimerLoader::GetDefaultTimerLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<SeriesTimerInfoDto, GetDefaultTimerParams>(apiClient) {}
|
||||
|
||||
|
@ -842,6 +1072,16 @@ QUrlQuery GetDefaultTimerLoader::query(const GetDefaultTimerParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetDefaultTimerLoader::body(const GetDefaultTimerParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetDefaultTimerLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
AddTunerHostLoader::AddTunerHostLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<TunerHostInfo, AddTunerHostParams>(apiClient) {}
|
||||
|
||||
|
@ -861,6 +1101,16 @@ QUrlQuery AddTunerHostLoader::query(const AddTunerHostParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray AddTunerHostLoader::body(const AddTunerHostParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<TunerHostInfo>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation AddTunerHostLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetTunerHostTypesLoader::GetTunerHostTypesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<NameIdPair>, GetTunerHostTypesParams>(apiClient) {}
|
||||
|
||||
|
@ -880,6 +1130,16 @@ QUrlQuery GetTunerHostTypesLoader::query(const GetTunerHostTypesParams ¶ms)
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetTunerHostTypesLoader::body(const GetTunerHostTypesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetTunerHostTypesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
DiscoverTunersLoader::DiscoverTunersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<TunerHostInfo>, DiscoverTunersParams>(apiClient) {}
|
||||
|
||||
|
@ -902,6 +1162,16 @@ QUrlQuery DiscoverTunersLoader::query(const DiscoverTunersParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray DiscoverTunersLoader::body(const DiscoverTunersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation DiscoverTunersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
DiscvoverTunersLoader::DiscvoverTunersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<TunerHostInfo>, DiscvoverTunersParams>(apiClient) {}
|
||||
|
||||
|
@ -924,6 +1194,16 @@ QUrlQuery DiscvoverTunersLoader::query(const DiscvoverTunersParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray DiscvoverTunersLoader::body(const DiscvoverTunersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation DiscvoverTunersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetCountriesLoader::query(const GetCountriesParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetCountriesLoader::body(const GetCountriesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetCountriesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetCulturesLoader::GetCulturesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<CultureDto>, GetCulturesParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetCulturesLoader::query(const GetCulturesParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetCulturesLoader::body(const GetCulturesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetCulturesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetLocalizationOptionsLoader::GetLocalizationOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<LocalizationOption>, GetLocalizationOptionsParams>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetLocalizationOptionsLoader::query(const GetLocalizationOptionsParams
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLocalizationOptionsLoader::body(const GetLocalizationOptionsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLocalizationOptionsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetParentalRatingsLoader::GetParentalRatingsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<ParentalRating>, GetParentalRatingsParams>(apiClient) {}
|
||||
|
||||
|
@ -111,6 +141,16 @@ QUrlQuery GetParentalRatingsLoader::query(const GetParentalRatingsParams ¶ms
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetParentalRatingsLoader::body(const GetParentalRatingsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetParentalRatingsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -55,6 +55,16 @@ QUrlQuery GetPlaybackInfoLoader::query(const GetPlaybackInfoParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPlaybackInfoLoader::body(const GetPlaybackInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPlaybackInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPostedPlaybackInfoLoader::GetPostedPlaybackInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<PlaybackInfoResponse, GetPostedPlaybackInfoParams>(apiClient) {}
|
||||
|
||||
|
@ -116,6 +126,16 @@ QUrlQuery GetPostedPlaybackInfoLoader::query(const GetPostedPlaybackInfoParams &
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPostedPlaybackInfoLoader::body(const GetPostedPlaybackInfoParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<PlaybackInfoDto>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPostedPlaybackInfoLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
OpenLiveStreamLoader::OpenLiveStreamLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<LiveStreamResponse, OpenLiveStreamParams>(apiClient) {}
|
||||
|
||||
|
@ -168,6 +188,16 @@ QUrlQuery OpenLiveStreamLoader::query(const OpenLiveStreamParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray OpenLiveStreamLoader::body(const OpenLiveStreamParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<OpenLiveStreamDto>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation OpenLiveStreamLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -69,6 +69,16 @@ QUrlQuery GetMovieRecommendationsLoader::query(const GetMovieRecommendationsPara
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMovieRecommendationsLoader::body(const GetMovieRecommendationsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMovieRecommendationsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -102,6 +102,16 @@ QUrlQuery GetMusicGenresLoader::query(const GetMusicGenresParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMusicGenresLoader::body(const GetMusicGenresParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMusicGenresLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetMusicGenreLoader::GetMusicGenreLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetMusicGenreParams>(apiClient) {}
|
||||
|
||||
|
@ -124,6 +134,16 @@ QUrlQuery GetMusicGenreLoader::query(const GetMusicGenreParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetMusicGenreLoader::body(const GetMusicGenreParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetMusicGenreLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetNotificationsLoader::query(const GetNotificationsParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetNotificationsLoader::body(const GetNotificationsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetNotificationsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetNotificationsSummaryLoader::GetNotificationsSummaryLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<NotificationsSummaryDto, GetNotificationsSummaryParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetNotificationsSummaryLoader::query(const GetNotificationsSummaryPara
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetNotificationsSummaryLoader::body(const GetNotificationsSummaryParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetNotificationsSummaryLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetNotificationServicesLoader::GetNotificationServicesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<NameIdPair>, GetNotificationServicesParams>(apiClient) {}
|
||||
|
||||
|
@ -92,6 +112,16 @@ QUrlQuery GetNotificationServicesLoader::query(const GetNotificationServicesPara
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetNotificationServicesLoader::body(const GetNotificationServicesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetNotificationServicesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetNotificationTypesLoader::GetNotificationTypesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<NotificationTypeInfo>, GetNotificationTypesParams>(apiClient) {}
|
||||
|
||||
|
@ -111,6 +141,16 @@ QUrlQuery GetNotificationTypesLoader::query(const GetNotificationTypesParams &pa
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetNotificationTypesLoader::body(const GetNotificationTypesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetNotificationTypesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetPackagesLoader::query(const GetPackagesParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPackagesLoader::body(const GetPackagesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPackagesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPackageInfoLoader::GetPackageInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<PackageInfo, GetPackageInfoParams>(apiClient) {}
|
||||
|
||||
|
@ -76,6 +86,16 @@ QUrlQuery GetPackageInfoLoader::query(const GetPackageInfoParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPackageInfoLoader::body(const GetPackageInfoParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPackageInfoLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRepositoriesLoader::GetRepositoriesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<RepositoryInfo>, GetRepositoriesParams>(apiClient) {}
|
||||
|
||||
|
@ -95,6 +115,16 @@ QUrlQuery GetRepositoriesLoader::query(const GetRepositoriesParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRepositoriesLoader::body(const GetRepositoriesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRepositoriesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -93,6 +93,16 @@ QUrlQuery GetPersonsLoader::query(const GetPersonsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPersonsLoader::body(const GetPersonsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPersonsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPersonLoader::GetPersonLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDto, GetPersonParams>(apiClient) {}
|
||||
|
||||
|
@ -115,6 +125,16 @@ QUrlQuery GetPersonLoader::query(const GetPersonParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPersonLoader::body(const GetPersonParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPersonLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -66,6 +66,16 @@ QUrlQuery CreatePlaylistLoader::query(const CreatePlaylistParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray CreatePlaylistLoader::body(const CreatePlaylistParams ¶ms) const {
|
||||
return Support::toString<QSharedPointer<CreatePlaylistDto>>(params.body()).toUtf8();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation CreatePlaylistLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPlaylistItemsLoader::GetPlaylistItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BaseItemDtoQueryResult, GetPlaylistItemsParams>(apiClient) {}
|
||||
|
||||
|
@ -107,6 +117,16 @@ QUrlQuery GetPlaylistItemsLoader::query(const GetPlaylistItemsParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPlaylistItemsLoader::body(const GetPlaylistItemsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPlaylistItemsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -57,6 +57,16 @@ QUrlQuery MarkPlayedItemLoader::query(const MarkPlayedItemParams ¶ms) const
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray MarkPlayedItemLoader::body(const MarkPlayedItemParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation MarkPlayedItemLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
MarkUnplayedItemLoader::MarkUnplayedItemLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<UserItemDataDto, MarkUnplayedItemParams>(apiClient) {}
|
||||
|
||||
|
@ -76,6 +86,16 @@ QUrlQuery MarkUnplayedItemLoader::query(const MarkUnplayedItemParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray MarkUnplayedItemLoader::body(const MarkUnplayedItemParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation MarkUnplayedItemLoader::operation() const {
|
||||
// HTTP method Delete
|
||||
return QNetworkAccessManager::DeleteOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetPluginsLoader::query(const GetPluginsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPluginsLoader::body(const GetPluginsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPluginsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetPluginConfigurationLoader::GetPluginConfigurationLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<BasePluginConfiguration, GetPluginConfigurationParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetPluginConfigurationLoader::query(const GetPluginConfigurationParams
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPluginConfigurationLoader::body(const GetPluginConfigurationParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPluginConfigurationLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -55,6 +55,16 @@ QUrlQuery AuthorizeLoader::query(const AuthorizeParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray AuthorizeLoader::body(const AuthorizeParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation AuthorizeLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
ConnectLoader::ConnectLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QuickConnectResult, ConnectParams>(apiClient) {}
|
||||
|
||||
|
@ -75,6 +85,16 @@ QUrlQuery ConnectLoader::query(const ConnectParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray ConnectLoader::body(const ConnectParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation ConnectLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
DeauthorizeLoader::DeauthorizeLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<qint32, DeauthorizeParams>(apiClient) {}
|
||||
|
||||
|
@ -94,6 +114,16 @@ QUrlQuery DeauthorizeLoader::query(const DeauthorizeParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray DeauthorizeLoader::body(const DeauthorizeParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation DeauthorizeLoader::operation() const {
|
||||
// HTTP method Post
|
||||
return QNetworkAccessManager::PostOperation;
|
||||
|
||||
}
|
||||
|
||||
InitiateLoader::InitiateLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QuickConnectResult, InitiateParams>(apiClient) {}
|
||||
|
||||
|
@ -113,6 +143,16 @@ QUrlQuery InitiateLoader::query(const InitiateParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray InitiateLoader::body(const InitiateParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation InitiateLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetStatusLoader::GetStatusLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QuickConnectState, GetStatusParams>(apiClient) {}
|
||||
|
||||
|
@ -132,6 +172,16 @@ QUrlQuery GetStatusLoader::query(const GetStatusParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetStatusLoader::body(const GetStatusParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetStatusLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -69,6 +69,16 @@ QUrlQuery GetRemoteImagesLoader::query(const GetRemoteImagesParams ¶ms) cons
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRemoteImagesLoader::body(const GetRemoteImagesParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRemoteImagesLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetRemoteImageProvidersLoader::GetRemoteImageProvidersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<ImageProviderInfo>, GetRemoteImageProvidersParams>(apiClient) {}
|
||||
|
||||
|
@ -88,6 +98,16 @@ QUrlQuery GetRemoteImageProvidersLoader::query(const GetRemoteImageProvidersPara
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetRemoteImageProvidersLoader::body(const GetRemoteImageProvidersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetRemoteImageProvidersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -60,6 +60,16 @@ QUrlQuery GetTasksLoader::query(const GetTasksParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetTasksLoader::body(const GetTasksParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetTasksLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetTaskLoader::GetTaskLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<TaskInfo, GetTaskParams>(apiClient) {}
|
||||
|
||||
|
@ -79,6 +89,16 @@ QUrlQuery GetTaskLoader::query(const GetTaskParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetTaskLoader::body(const GetTaskParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetTaskLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -106,6 +106,16 @@ QUrlQuery GetLoader::query(const GetParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetLoader::body(const GetParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
|
@ -54,6 +54,16 @@ QUrlQuery GetPasswordResetProvidersLoader::query(const GetPasswordResetProviders
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetPasswordResetProvidersLoader::body(const GetPasswordResetProvidersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetPasswordResetProvidersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetAuthProvidersLoader::GetAuthProvidersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<NameIdPair>, GetAuthProvidersParams>(apiClient) {}
|
||||
|
||||
|
@ -73,6 +83,16 @@ QUrlQuery GetAuthProvidersLoader::query(const GetAuthProvidersParams ¶ms) co
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetAuthProvidersLoader::body(const GetAuthProvidersParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetAuthProvidersLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
GetSessionsLoader::GetSessionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<QList<SessionInfo>, GetSessionsParams>(apiClient) {}
|
||||
|
||||
|
@ -101,6 +121,16 @@ QUrlQuery GetSessionsLoader::query(const GetSessionsParams ¶ms) const {
|
|||
return result;
|
||||
}
|
||||
|
||||
QByteArray GetSessionsLoader::body(const GetSessionsParams ¶ms) const {
|
||||
return QByteArray();
|
||||
}
|
||||
|
||||
QNetworkAccessManager::Operation GetSessionsLoader::operation() const {
|
||||
// HTTP method Get
|
||||
return QNetworkAccessManager::GetOperation;
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue