mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-06 10:32:44 +00:00
WIP: Reimplementation of ListModels.
This commit is contained in:
parent
76a49868b9
commit
e421adf733
356 changed files with 1830 additions and 1833 deletions
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
AddListingProvider::AddListingProvider(ApiClient *apiClient)
|
||||
AddListingProviderLoader::AddListingProviderLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ListingsProviderInfo, AddListingProviderParams>(apiClient) {}
|
||||
|
||||
QString AddListingProvider::path(const AddListingProviderParams ¶ms) const {
|
||||
QString AddListingProviderLoader::path(const AddListingProviderParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/ListingProviders");
|
||||
}
|
||||
|
||||
QUrlQuery AddListingProvider::query(const AddListingProviderParams ¶ms) const {
|
||||
QUrlQuery AddListingProviderLoader::query(const AddListingProviderParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
AddTunerHost::AddTunerHost(ApiClient *apiClient)
|
||||
AddTunerHostLoader::AddTunerHostLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::TunerHostInfo, AddTunerHostParams>(apiClient) {}
|
||||
|
||||
QString AddTunerHost::path(const AddTunerHostParams ¶ms) const {
|
||||
QString AddTunerHostLoader::path(const AddTunerHostParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/TunerHosts");
|
||||
}
|
||||
|
||||
QUrlQuery AddTunerHost::query(const AddTunerHostParams ¶ms) const {
|
||||
QUrlQuery AddTunerHostLoader::query(const AddTunerHostParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
AuthenticateUser::AuthenticateUser(ApiClient *apiClient)
|
||||
AuthenticateUserLoader::AuthenticateUserLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::AuthenticationResult, AuthenticateUserParams>(apiClient) {}
|
||||
|
||||
QString AuthenticateUser::path(const AuthenticateUserParams ¶ms) const {
|
||||
QString AuthenticateUserLoader::path(const AuthenticateUserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Authenticate");
|
||||
}
|
||||
|
||||
QUrlQuery AuthenticateUser::query(const AuthenticateUserParams ¶ms) const {
|
||||
QUrlQuery AuthenticateUserLoader::query(const AuthenticateUserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
AuthenticateUserByName::AuthenticateUserByName(ApiClient *apiClient)
|
||||
AuthenticateUserByNameLoader::AuthenticateUserByNameLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::AuthenticationResult, AuthenticateUserByNameParams>(apiClient) {}
|
||||
|
||||
QString AuthenticateUserByName::path(const AuthenticateUserByNameParams ¶ms) const {
|
||||
QString AuthenticateUserByNameLoader::path(const AuthenticateUserByNameParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/AuthenticateByName");
|
||||
}
|
||||
|
||||
QUrlQuery AuthenticateUserByName::query(const AuthenticateUserByNameParams ¶ms) const {
|
||||
QUrlQuery AuthenticateUserByNameLoader::query(const AuthenticateUserByNameParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
AuthenticateWithQuickConnect::AuthenticateWithQuickConnect(ApiClient *apiClient)
|
||||
AuthenticateWithQuickConnectLoader::AuthenticateWithQuickConnectLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::AuthenticationResult, AuthenticateWithQuickConnectParams>(apiClient) {}
|
||||
|
||||
QString AuthenticateWithQuickConnect::path(const AuthenticateWithQuickConnectParams ¶ms) const {
|
||||
QString AuthenticateWithQuickConnectLoader::path(const AuthenticateWithQuickConnectParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/AuthenticateWithQuickConnect");
|
||||
}
|
||||
|
||||
QUrlQuery AuthenticateWithQuickConnect::query(const AuthenticateWithQuickConnectParams ¶ms) const {
|
||||
QUrlQuery AuthenticateWithQuickConnectLoader::query(const AuthenticateWithQuickConnectParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
Connect::Connect(ApiClient *apiClient)
|
||||
ConnectLoader::ConnectLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::QuickConnectResult, ConnectParams>(apiClient) {}
|
||||
|
||||
QString Connect::path(const ConnectParams ¶ms) const {
|
||||
QString ConnectLoader::path(const ConnectParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/QuickConnect/Connect");
|
||||
}
|
||||
|
||||
QUrlQuery Connect::query(const ConnectParams ¶ms) const {
|
||||
QUrlQuery ConnectLoader::query(const ConnectParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
CreateCollection::CreateCollection(ApiClient *apiClient)
|
||||
CreateCollectionLoader::CreateCollectionLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::CollectionCreationResult, CreateCollectionParams>(apiClient) {}
|
||||
|
||||
QString CreateCollection::path(const CreateCollectionParams ¶ms) const {
|
||||
QString CreateCollectionLoader::path(const CreateCollectionParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Collections");
|
||||
}
|
||||
|
||||
QUrlQuery CreateCollection::query(const CreateCollectionParams ¶ms) const {
|
||||
QUrlQuery CreateCollectionLoader::query(const CreateCollectionParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
CreatePlaylist::CreatePlaylist(ApiClient *apiClient)
|
||||
CreatePlaylistLoader::CreatePlaylistLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::PlaylistCreationResult, CreatePlaylistParams>(apiClient) {}
|
||||
|
||||
QString CreatePlaylist::path(const CreatePlaylistParams ¶ms) const {
|
||||
QString CreatePlaylistLoader::path(const CreatePlaylistParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Playlists");
|
||||
}
|
||||
|
||||
QUrlQuery CreatePlaylist::query(const CreatePlaylistParams ¶ms) const {
|
||||
QUrlQuery CreatePlaylistLoader::query(const CreatePlaylistParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
CreateUserByName::CreateUserByName(ApiClient *apiClient)
|
||||
CreateUserByNameLoader::CreateUserByNameLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::UserDto, CreateUserByNameParams>(apiClient) {}
|
||||
|
||||
QString CreateUserByName::path(const CreateUserByNameParams ¶ms) const {
|
||||
QString CreateUserByNameLoader::path(const CreateUserByNameParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/New");
|
||||
}
|
||||
|
||||
QUrlQuery CreateUserByName::query(const CreateUserByNameParams ¶ms) const {
|
||||
QUrlQuery CreateUserByNameLoader::query(const CreateUserByNameParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
DeleteUserItemRating::DeleteUserItemRating(ApiClient *apiClient)
|
||||
DeleteUserItemRatingLoader::DeleteUserItemRatingLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::UserItemDataDto, DeleteUserItemRatingParams>(apiClient) {}
|
||||
|
||||
QString DeleteUserItemRating::path(const DeleteUserItemRatingParams ¶ms) const {
|
||||
QString DeleteUserItemRatingLoader::path(const DeleteUserItemRatingParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/Rating");
|
||||
}
|
||||
|
||||
QUrlQuery DeleteUserItemRating::query(const DeleteUserItemRatingParams ¶ms) const {
|
||||
QUrlQuery DeleteUserItemRatingLoader::query(const DeleteUserItemRatingParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
ForgotPassword::ForgotPassword(ApiClient *apiClient)
|
||||
ForgotPasswordLoader::ForgotPasswordLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ForgotPasswordResult, ForgotPasswordParams>(apiClient) {}
|
||||
|
||||
QString ForgotPassword::path(const ForgotPasswordParams ¶ms) const {
|
||||
QString ForgotPasswordLoader::path(const ForgotPasswordParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/ForgotPassword");
|
||||
}
|
||||
|
||||
QUrlQuery ForgotPassword::query(const ForgotPasswordParams ¶ms) const {
|
||||
QUrlQuery ForgotPasswordLoader::query(const ForgotPasswordParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
ForgotPasswordPin::ForgotPasswordPin(ApiClient *apiClient)
|
||||
ForgotPasswordPinLoader::ForgotPasswordPinLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::PinRedeemResult, ForgotPasswordPinParams>(apiClient) {}
|
||||
|
||||
QString ForgotPasswordPin::path(const ForgotPasswordPinParams ¶ms) const {
|
||||
QString ForgotPasswordPinLoader::path(const ForgotPasswordPinParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/ForgotPassword/Pin");
|
||||
}
|
||||
|
||||
QUrlQuery ForgotPasswordPin::query(const ForgotPasswordPinParams ¶ms) const {
|
||||
QUrlQuery ForgotPasswordPinLoader::query(const ForgotPasswordPinParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
Get::Get(ApiClient *apiClient)
|
||||
GetLoader::GetLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::SearchHintResult, GetParams>(apiClient) {}
|
||||
|
||||
QString Get::path(const GetParams ¶ms) const {
|
||||
QString GetLoader::path(const GetParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Search/Hints");
|
||||
}
|
||||
|
||||
QUrlQuery Get::query(const GetParams ¶ms) const {
|
||||
QUrlQuery GetLoader::query(const GetParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetAdditionalPart::GetAdditionalPart(ApiClient *apiClient)
|
||||
GetAdditionalPartLoader::GetAdditionalPartLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetAdditionalPartParams>(apiClient) {}
|
||||
|
||||
QString GetAdditionalPart::path(const GetAdditionalPartParams ¶ms) const {
|
||||
QString GetAdditionalPartLoader::path(const GetAdditionalPartParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Videos/") + Support::toString(params.itemId()) + QStringLiteral("/AdditionalParts");
|
||||
}
|
||||
|
||||
QUrlQuery GetAdditionalPart::query(const GetAdditionalPartParams ¶ms) const {
|
||||
QUrlQuery GetAdditionalPartLoader::query(const GetAdditionalPartParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetAlbumArtists::GetAlbumArtists(ApiClient *apiClient)
|
||||
GetAlbumArtistsLoader::GetAlbumArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetAlbumArtistsParams>(apiClient) {}
|
||||
|
||||
QString GetAlbumArtists::path(const GetAlbumArtistsParams ¶ms) const {
|
||||
QString GetAlbumArtistsLoader::path(const GetAlbumArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Artists/AlbumArtists");
|
||||
}
|
||||
|
||||
QUrlQuery GetAlbumArtists::query(const GetAlbumArtistsParams ¶ms) const {
|
||||
QUrlQuery GetAlbumArtistsLoader::query(const GetAlbumArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetArtistByName::GetArtistByName(ApiClient *apiClient)
|
||||
GetArtistByNameLoader::GetArtistByNameLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetArtistByNameParams>(apiClient) {}
|
||||
|
||||
QString GetArtistByName::path(const GetArtistByNameParams ¶ms) const {
|
||||
QString GetArtistByNameLoader::path(const GetArtistByNameParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Artists/") + Support::toString(params.name()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetArtistByName::query(const GetArtistByNameParams ¶ms) const {
|
||||
QUrlQuery GetArtistByNameLoader::query(const GetArtistByNameParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetArtists::GetArtists(ApiClient *apiClient)
|
||||
GetArtistsLoader::GetArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetArtistsParams>(apiClient) {}
|
||||
|
||||
QString GetArtists::path(const GetArtistsParams ¶ms) const {
|
||||
QString GetArtistsLoader::path(const GetArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Artists");
|
||||
}
|
||||
|
||||
QUrlQuery GetArtists::query(const GetArtistsParams ¶ms) const {
|
||||
QUrlQuery GetArtistsLoader::query(const GetArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetBrandingOptions::GetBrandingOptions(ApiClient *apiClient)
|
||||
GetBrandingOptionsLoader::GetBrandingOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BrandingOptions, GetBrandingOptionsParams>(apiClient) {}
|
||||
|
||||
QString GetBrandingOptions::path(const GetBrandingOptionsParams ¶ms) const {
|
||||
QString GetBrandingOptionsLoader::path(const GetBrandingOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Branding/Configuration");
|
||||
}
|
||||
|
||||
QUrlQuery GetBrandingOptions::query(const GetBrandingOptionsParams ¶ms) const {
|
||||
QUrlQuery GetBrandingOptionsLoader::query(const GetBrandingOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetChannel::GetChannel(ApiClient *apiClient)
|
||||
GetChannelLoader::GetChannelLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetChannelParams>(apiClient) {}
|
||||
|
||||
QString GetChannel::path(const GetChannelParams ¶ms) const {
|
||||
QString GetChannelLoader::path(const GetChannelParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Channels/") + Support::toString(params.channelId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetChannel::query(const GetChannelParams ¶ms) const {
|
||||
QUrlQuery GetChannelLoader::query(const GetChannelParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetChannelFeatures::GetChannelFeatures(ApiClient *apiClient)
|
||||
GetChannelFeaturesLoader::GetChannelFeaturesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ChannelFeatures, GetChannelFeaturesParams>(apiClient) {}
|
||||
|
||||
QString GetChannelFeatures::path(const GetChannelFeaturesParams ¶ms) const {
|
||||
QString GetChannelFeaturesLoader::path(const GetChannelFeaturesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Channels/") + Support::toString(params.channelId()) + QStringLiteral("/Features");
|
||||
}
|
||||
|
||||
QUrlQuery GetChannelFeatures::query(const GetChannelFeaturesParams ¶ms) const {
|
||||
QUrlQuery GetChannelFeaturesLoader::query(const GetChannelFeaturesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetChannelItems::GetChannelItems(ApiClient *apiClient)
|
||||
GetChannelItemsLoader::GetChannelItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetChannelItemsParams>(apiClient) {}
|
||||
|
||||
QString GetChannelItems::path(const GetChannelItemsParams ¶ms) const {
|
||||
QString GetChannelItemsLoader::path(const GetChannelItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Channels/") + Support::toString(params.channelId()) + QStringLiteral("/Items");
|
||||
}
|
||||
|
||||
QUrlQuery GetChannelItems::query(const GetChannelItemsParams ¶ms) const {
|
||||
QUrlQuery GetChannelItemsLoader::query(const GetChannelItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetChannelMappingOptions::GetChannelMappingOptions(ApiClient *apiClient)
|
||||
GetChannelMappingOptionsLoader::GetChannelMappingOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ChannelMappingOptionsDto, GetChannelMappingOptionsParams>(apiClient) {}
|
||||
|
||||
QString GetChannelMappingOptions::path(const GetChannelMappingOptionsParams ¶ms) const {
|
||||
QString GetChannelMappingOptionsLoader::path(const GetChannelMappingOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/ChannelMappingOptions");
|
||||
}
|
||||
|
||||
QUrlQuery GetChannelMappingOptions::query(const GetChannelMappingOptionsParams ¶ms) const {
|
||||
QUrlQuery GetChannelMappingOptionsLoader::query(const GetChannelMappingOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetChannels::GetChannels(ApiClient *apiClient)
|
||||
GetChannelsLoader::GetChannelsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetChannelsParams>(apiClient) {}
|
||||
|
||||
QString GetChannels::path(const GetChannelsParams ¶ms) const {
|
||||
QString GetChannelsLoader::path(const GetChannelsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Channels");
|
||||
}
|
||||
|
||||
QUrlQuery GetChannels::query(const GetChannelsParams ¶ms) const {
|
||||
QUrlQuery GetChannelsLoader::query(const GetChannelsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetConfiguration::GetConfiguration(ApiClient *apiClient)
|
||||
GetConfigurationLoader::GetConfigurationLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ServerConfiguration, GetConfigurationParams>(apiClient) {}
|
||||
|
||||
QString GetConfiguration::path(const GetConfigurationParams ¶ms) const {
|
||||
QString GetConfigurationLoader::path(const GetConfigurationParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/System/Configuration");
|
||||
}
|
||||
|
||||
QUrlQuery GetConfiguration::query(const GetConfigurationParams ¶ms) const {
|
||||
QUrlQuery GetConfigurationLoader::query(const GetConfigurationParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetCriticReviews::GetCriticReviews(ApiClient *apiClient)
|
||||
GetCriticReviewsLoader::GetCriticReviewsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetCriticReviewsParams>(apiClient) {}
|
||||
|
||||
QString GetCriticReviews::path(const GetCriticReviewsParams ¶ms) const {
|
||||
QString GetCriticReviewsLoader::path(const GetCriticReviewsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/CriticReviews");
|
||||
}
|
||||
|
||||
QUrlQuery GetCriticReviews::query(const GetCriticReviewsParams ¶ms) const {
|
||||
QUrlQuery GetCriticReviewsLoader::query(const GetCriticReviewsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetCurrentUser::GetCurrentUser(ApiClient *apiClient)
|
||||
GetCurrentUserLoader::GetCurrentUserLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::UserDto, GetCurrentUserParams>(apiClient) {}
|
||||
|
||||
QString GetCurrentUser::path(const GetCurrentUserParams ¶ms) const {
|
||||
QString GetCurrentUserLoader::path(const GetCurrentUserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/Me");
|
||||
}
|
||||
|
||||
QUrlQuery GetCurrentUser::query(const GetCurrentUserParams ¶ms) const {
|
||||
QUrlQuery GetCurrentUserLoader::query(const GetCurrentUserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDefaultDirectoryBrowser::GetDefaultDirectoryBrowser(ApiClient *apiClient)
|
||||
GetDefaultDirectoryBrowserLoader::GetDefaultDirectoryBrowserLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DefaultDirectoryBrowserInfoDto, GetDefaultDirectoryBrowserParams>(apiClient) {}
|
||||
|
||||
QString GetDefaultDirectoryBrowser::path(const GetDefaultDirectoryBrowserParams ¶ms) const {
|
||||
QString GetDefaultDirectoryBrowserLoader::path(const GetDefaultDirectoryBrowserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Environment/DefaultDirectoryBrowser");
|
||||
}
|
||||
|
||||
QUrlQuery GetDefaultDirectoryBrowser::query(const GetDefaultDirectoryBrowserParams ¶ms) const {
|
||||
QUrlQuery GetDefaultDirectoryBrowserLoader::query(const GetDefaultDirectoryBrowserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDefaultListingProvider::GetDefaultListingProvider(ApiClient *apiClient)
|
||||
GetDefaultListingProviderLoader::GetDefaultListingProviderLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ListingsProviderInfo, GetDefaultListingProviderParams>(apiClient) {}
|
||||
|
||||
QString GetDefaultListingProvider::path(const GetDefaultListingProviderParams ¶ms) const {
|
||||
QString GetDefaultListingProviderLoader::path(const GetDefaultListingProviderParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/ListingProviders/Default");
|
||||
}
|
||||
|
||||
QUrlQuery GetDefaultListingProvider::query(const GetDefaultListingProviderParams ¶ms) const {
|
||||
QUrlQuery GetDefaultListingProviderLoader::query(const GetDefaultListingProviderParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDefaultMetadataOptions::GetDefaultMetadataOptions(ApiClient *apiClient)
|
||||
GetDefaultMetadataOptionsLoader::GetDefaultMetadataOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::MetadataOptions, GetDefaultMetadataOptionsParams>(apiClient) {}
|
||||
|
||||
QString GetDefaultMetadataOptions::path(const GetDefaultMetadataOptionsParams ¶ms) const {
|
||||
QString GetDefaultMetadataOptionsLoader::path(const GetDefaultMetadataOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/System/Configuration/MetadataOptions/Default");
|
||||
}
|
||||
|
||||
QUrlQuery GetDefaultMetadataOptions::query(const GetDefaultMetadataOptionsParams ¶ms) const {
|
||||
QUrlQuery GetDefaultMetadataOptionsLoader::query(const GetDefaultMetadataOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDefaultProfile::GetDefaultProfile(ApiClient *apiClient)
|
||||
GetDefaultProfileLoader::GetDefaultProfileLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DeviceProfile, GetDefaultProfileParams>(apiClient) {}
|
||||
|
||||
QString GetDefaultProfile::path(const GetDefaultProfileParams ¶ms) const {
|
||||
QString GetDefaultProfileLoader::path(const GetDefaultProfileParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Dlna/Profiles/Default");
|
||||
}
|
||||
|
||||
QUrlQuery GetDefaultProfile::query(const GetDefaultProfileParams ¶ms) const {
|
||||
QUrlQuery GetDefaultProfileLoader::query(const GetDefaultProfileParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDefaultTimer::GetDefaultTimer(ApiClient *apiClient)
|
||||
GetDefaultTimerLoader::GetDefaultTimerLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::SeriesTimerInfoDto, GetDefaultTimerParams>(apiClient) {}
|
||||
|
||||
QString GetDefaultTimer::path(const GetDefaultTimerParams ¶ms) const {
|
||||
QString GetDefaultTimerLoader::path(const GetDefaultTimerParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Timers/Defaults");
|
||||
}
|
||||
|
||||
QUrlQuery GetDefaultTimer::query(const GetDefaultTimerParams ¶ms) const {
|
||||
QUrlQuery GetDefaultTimerLoader::query(const GetDefaultTimerParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDeviceInfo::GetDeviceInfo(ApiClient *apiClient)
|
||||
GetDeviceInfoLoader::GetDeviceInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DeviceInfo, GetDeviceInfoParams>(apiClient) {}
|
||||
|
||||
QString GetDeviceInfo::path(const GetDeviceInfoParams ¶ms) const {
|
||||
QString GetDeviceInfoLoader::path(const GetDeviceInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Devices/Info");
|
||||
}
|
||||
|
||||
QUrlQuery GetDeviceInfo::query(const GetDeviceInfoParams ¶ms) const {
|
||||
QUrlQuery GetDeviceInfoLoader::query(const GetDeviceInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDeviceOptions::GetDeviceOptions(ApiClient *apiClient)
|
||||
GetDeviceOptionsLoader::GetDeviceOptionsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DeviceOptions, GetDeviceOptionsParams>(apiClient) {}
|
||||
|
||||
QString GetDeviceOptions::path(const GetDeviceOptionsParams ¶ms) const {
|
||||
QString GetDeviceOptionsLoader::path(const GetDeviceOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Devices/Options");
|
||||
}
|
||||
|
||||
QUrlQuery GetDeviceOptions::query(const GetDeviceOptionsParams ¶ms) const {
|
||||
QUrlQuery GetDeviceOptionsLoader::query(const GetDeviceOptionsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDevices::GetDevices(ApiClient *apiClient)
|
||||
GetDevicesLoader::GetDevicesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DeviceInfoQueryResult, GetDevicesParams>(apiClient) {}
|
||||
|
||||
QString GetDevices::path(const GetDevicesParams ¶ms) const {
|
||||
QString GetDevicesLoader::path(const GetDevicesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Devices");
|
||||
}
|
||||
|
||||
QUrlQuery GetDevices::query(const GetDevicesParams ¶ms) const {
|
||||
QUrlQuery GetDevicesLoader::query(const GetDevicesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetDisplayPreferences::GetDisplayPreferences(ApiClient *apiClient)
|
||||
GetDisplayPreferencesLoader::GetDisplayPreferencesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DisplayPreferencesDto, GetDisplayPreferencesParams>(apiClient) {}
|
||||
|
||||
QString GetDisplayPreferences::path(const GetDisplayPreferencesParams ¶ms) const {
|
||||
QString GetDisplayPreferencesLoader::path(const GetDisplayPreferencesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/DisplayPreferences/") + Support::toString(params.displayPreferencesId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetDisplayPreferences::query(const GetDisplayPreferencesParams ¶ms) const {
|
||||
QUrlQuery GetDisplayPreferencesLoader::query(const GetDisplayPreferencesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetEndpointInfo::GetEndpointInfo(ApiClient *apiClient)
|
||||
GetEndpointInfoLoader::GetEndpointInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::EndPointInfo, GetEndpointInfoParams>(apiClient) {}
|
||||
|
||||
QString GetEndpointInfo::path(const GetEndpointInfoParams ¶ms) const {
|
||||
QString GetEndpointInfoLoader::path(const GetEndpointInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/System/Endpoint");
|
||||
}
|
||||
|
||||
QUrlQuery GetEndpointInfo::query(const GetEndpointInfoParams ¶ms) const {
|
||||
QUrlQuery GetEndpointInfoLoader::query(const GetEndpointInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetEpisodes::GetEpisodes(ApiClient *apiClient)
|
||||
GetEpisodesLoader::GetEpisodesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetEpisodesParams>(apiClient) {}
|
||||
|
||||
QString GetEpisodes::path(const GetEpisodesParams ¶ms) const {
|
||||
QString GetEpisodesLoader::path(const GetEpisodesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Shows/") + Support::toString(params.seriesId()) + QStringLiteral("/Episodes");
|
||||
}
|
||||
|
||||
QUrlQuery GetEpisodes::query(const GetEpisodesParams ¶ms) const {
|
||||
QUrlQuery GetEpisodesLoader::query(const GetEpisodesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetFirstUser::GetFirstUser(ApiClient *apiClient)
|
||||
GetFirstUserLoader::GetFirstUserLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::StartupUserDto, GetFirstUserParams>(apiClient) {}
|
||||
|
||||
QString GetFirstUser::path(const GetFirstUserParams ¶ms) const {
|
||||
QString GetFirstUserLoader::path(const GetFirstUserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Startup/User");
|
||||
}
|
||||
|
||||
QUrlQuery GetFirstUser::query(const GetFirstUserParams ¶ms) const {
|
||||
QUrlQuery GetFirstUserLoader::query(const GetFirstUserParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetFirstUser_2::GetFirstUser_2(ApiClient *apiClient)
|
||||
GetFirstUser_2Loader::GetFirstUser_2Loader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::StartupUserDto, GetFirstUser_2Params>(apiClient) {}
|
||||
|
||||
QString GetFirstUser_2::path(const GetFirstUser_2Params ¶ms) const {
|
||||
QString GetFirstUser_2Loader::path(const GetFirstUser_2Params ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Startup/FirstUser");
|
||||
}
|
||||
|
||||
QUrlQuery GetFirstUser_2::query(const GetFirstUser_2Params ¶ms) const {
|
||||
QUrlQuery GetFirstUser_2Loader::query(const GetFirstUser_2Params ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetGenre::GetGenre(ApiClient *apiClient)
|
||||
GetGenreLoader::GetGenreLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetGenreParams>(apiClient) {}
|
||||
|
||||
QString GetGenre::path(const GetGenreParams ¶ms) const {
|
||||
QString GetGenreLoader::path(const GetGenreParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Genres/") + Support::toString(params.genreName()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetGenre::query(const GetGenreParams ¶ms) const {
|
||||
QUrlQuery GetGenreLoader::query(const GetGenreParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetGenres::GetGenres(ApiClient *apiClient)
|
||||
GetGenresLoader::GetGenresLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetGenresParams>(apiClient) {}
|
||||
|
||||
QString GetGenres::path(const GetGenresParams ¶ms) const {
|
||||
QString GetGenresLoader::path(const GetGenresParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Genres");
|
||||
}
|
||||
|
||||
QUrlQuery GetGenres::query(const GetGenresParams ¶ms) const {
|
||||
QUrlQuery GetGenresLoader::query(const GetGenresParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetGuideInfo::GetGuideInfo(ApiClient *apiClient)
|
||||
GetGuideInfoLoader::GetGuideInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::GuideInfo, GetGuideInfoParams>(apiClient) {}
|
||||
|
||||
QString GetGuideInfo::path(const GetGuideInfoParams ¶ms) const {
|
||||
QString GetGuideInfoLoader::path(const GetGuideInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/GuideInfo");
|
||||
}
|
||||
|
||||
QUrlQuery GetGuideInfo::query(const GetGuideInfoParams ¶ms) const {
|
||||
QUrlQuery GetGuideInfoLoader::query(const GetGuideInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromAlbum::GetInstantMixFromAlbum(ApiClient *apiClient)
|
||||
GetInstantMixFromAlbumLoader::GetInstantMixFromAlbumLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromAlbumParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromAlbum::path(const GetInstantMixFromAlbumParams ¶ms) const {
|
||||
QString GetInstantMixFromAlbumLoader::path(const GetInstantMixFromAlbumParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Albums/") + Support::toString(params.jellyfinId()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromAlbum::query(const GetInstantMixFromAlbumParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromAlbumLoader::query(const GetInstantMixFromAlbumParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromArtists::GetInstantMixFromArtists(ApiClient *apiClient)
|
||||
GetInstantMixFromArtistsLoader::GetInstantMixFromArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromArtistsParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromArtists::path(const GetInstantMixFromArtistsParams ¶ms) const {
|
||||
QString GetInstantMixFromArtistsLoader::path(const GetInstantMixFromArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Artists/") + Support::toString(params.jellyfinId()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromArtists::query(const GetInstantMixFromArtistsParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromArtistsLoader::query(const GetInstantMixFromArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromItem::GetInstantMixFromItem(ApiClient *apiClient)
|
||||
GetInstantMixFromItemLoader::GetInstantMixFromItemLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromItemParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromItem::path(const GetInstantMixFromItemParams ¶ms) const {
|
||||
QString GetInstantMixFromItemLoader::path(const GetInstantMixFromItemParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.jellyfinId()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromItem::query(const GetInstantMixFromItemParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromItemLoader::query(const GetInstantMixFromItemParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromMusicGenre::GetInstantMixFromMusicGenre(ApiClient *apiClient)
|
||||
GetInstantMixFromMusicGenreLoader::GetInstantMixFromMusicGenreLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromMusicGenreParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromMusicGenre::path(const GetInstantMixFromMusicGenreParams ¶ms) const {
|
||||
QString GetInstantMixFromMusicGenreLoader::path(const GetInstantMixFromMusicGenreParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/MusicGenres/") + Support::toString(params.name()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromMusicGenre::query(const GetInstantMixFromMusicGenreParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromMusicGenreLoader::query(const GetInstantMixFromMusicGenreParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromMusicGenres::GetInstantMixFromMusicGenres(ApiClient *apiClient)
|
||||
GetInstantMixFromMusicGenresLoader::GetInstantMixFromMusicGenresLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromMusicGenresParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromMusicGenres::path(const GetInstantMixFromMusicGenresParams ¶ms) const {
|
||||
QString GetInstantMixFromMusicGenresLoader::path(const GetInstantMixFromMusicGenresParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/MusicGenres/") + Support::toString(params.jellyfinId()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromMusicGenres::query(const GetInstantMixFromMusicGenresParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromMusicGenresLoader::query(const GetInstantMixFromMusicGenresParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromPlaylist::GetInstantMixFromPlaylist(ApiClient *apiClient)
|
||||
GetInstantMixFromPlaylistLoader::GetInstantMixFromPlaylistLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromPlaylistParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromPlaylist::path(const GetInstantMixFromPlaylistParams ¶ms) const {
|
||||
QString GetInstantMixFromPlaylistLoader::path(const GetInstantMixFromPlaylistParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Playlists/") + Support::toString(params.jellyfinId()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromPlaylist::query(const GetInstantMixFromPlaylistParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromPlaylistLoader::query(const GetInstantMixFromPlaylistParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetInstantMixFromSong::GetInstantMixFromSong(ApiClient *apiClient)
|
||||
GetInstantMixFromSongLoader::GetInstantMixFromSongLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetInstantMixFromSongParams>(apiClient) {}
|
||||
|
||||
QString GetInstantMixFromSong::path(const GetInstantMixFromSongParams ¶ms) const {
|
||||
QString GetInstantMixFromSongLoader::path(const GetInstantMixFromSongParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Songs/") + Support::toString(params.jellyfinId()) + QStringLiteral("/InstantMix");
|
||||
}
|
||||
|
||||
QUrlQuery GetInstantMixFromSong::query(const GetInstantMixFromSongParams ¶ms) const {
|
||||
QUrlQuery GetInstantMixFromSongLoader::query(const GetInstantMixFromSongParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetIntros::GetIntros(ApiClient *apiClient)
|
||||
GetIntrosLoader::GetIntrosLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetIntrosParams>(apiClient) {}
|
||||
|
||||
QString GetIntros::path(const GetIntrosParams ¶ms) const {
|
||||
QString GetIntrosLoader::path(const GetIntrosParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/Intros");
|
||||
}
|
||||
|
||||
QUrlQuery GetIntros::query(const GetIntrosParams ¶ms) const {
|
||||
QUrlQuery GetIntrosLoader::query(const GetIntrosParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetItem::GetItem(ApiClient *apiClient)
|
||||
GetItemLoader::GetItemLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetItemParams>(apiClient) {}
|
||||
|
||||
QString GetItem::path(const GetItemParams ¶ms) const {
|
||||
QString GetItemLoader::path(const GetItemParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetItem::query(const GetItemParams ¶ms) const {
|
||||
QUrlQuery GetItemLoader::query(const GetItemParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetItemCounts::GetItemCounts(ApiClient *apiClient)
|
||||
GetItemCountsLoader::GetItemCountsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ItemCounts, GetItemCountsParams>(apiClient) {}
|
||||
|
||||
QString GetItemCounts::path(const GetItemCountsParams ¶ms) const {
|
||||
QString GetItemCountsLoader::path(const GetItemCountsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/Counts");
|
||||
}
|
||||
|
||||
QUrlQuery GetItemCounts::query(const GetItemCountsParams ¶ms) const {
|
||||
QUrlQuery GetItemCountsLoader::query(const GetItemCountsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetItems::GetItems(ApiClient *apiClient)
|
||||
GetItemsLoader::GetItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetItemsParams>(apiClient) {}
|
||||
|
||||
QString GetItems::path(const GetItemsParams ¶ms) const {
|
||||
QString GetItemsLoader::path(const GetItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items");
|
||||
}
|
||||
|
||||
QUrlQuery GetItems::query(const GetItemsParams ¶ms) const {
|
||||
QUrlQuery GetItemsLoader::query(const GetItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetItemsByUserId::GetItemsByUserId(ApiClient *apiClient)
|
||||
GetItemsByUserIdLoader::GetItemsByUserIdLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetItemsByUserIdParams>(apiClient) {}
|
||||
|
||||
QString GetItemsByUserId::path(const GetItemsByUserIdParams ¶ms) const {
|
||||
QString GetItemsByUserIdLoader::path(const GetItemsByUserIdParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Items");
|
||||
}
|
||||
|
||||
QUrlQuery GetItemsByUserId::query(const GetItemsByUserIdParams ¶ms) const {
|
||||
QUrlQuery GetItemsByUserIdLoader::query(const GetItemsByUserIdParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetKeys::GetKeys(ApiClient *apiClient)
|
||||
GetKeysLoader::GetKeysLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::AuthenticationInfoQueryResult, GetKeysParams>(apiClient) {}
|
||||
|
||||
QString GetKeys::path(const GetKeysParams ¶ms) const {
|
||||
QString GetKeysLoader::path(const GetKeysParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Auth/Keys");
|
||||
}
|
||||
|
||||
QUrlQuery GetKeys::query(const GetKeysParams ¶ms) const {
|
||||
QUrlQuery GetKeysLoader::query(const GetKeysParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetLatestChannelItems::GetLatestChannelItems(ApiClient *apiClient)
|
||||
GetLatestChannelItemsLoader::GetLatestChannelItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetLatestChannelItemsParams>(apiClient) {}
|
||||
|
||||
QString GetLatestChannelItems::path(const GetLatestChannelItemsParams ¶ms) const {
|
||||
QString GetLatestChannelItemsLoader::path(const GetLatestChannelItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Channels/Items/Latest");
|
||||
}
|
||||
|
||||
QUrlQuery GetLatestChannelItems::query(const GetLatestChannelItemsParams ¶ms) const {
|
||||
QUrlQuery GetLatestChannelItemsLoader::query(const GetLatestChannelItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetLibraryOptionsInfo::GetLibraryOptionsInfo(ApiClient *apiClient)
|
||||
GetLibraryOptionsInfoLoader::GetLibraryOptionsInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::LibraryOptionsResultDto, GetLibraryOptionsInfoParams>(apiClient) {}
|
||||
|
||||
QString GetLibraryOptionsInfo::path(const GetLibraryOptionsInfoParams ¶ms) const {
|
||||
QString GetLibraryOptionsInfoLoader::path(const GetLibraryOptionsInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Libraries/AvailableOptions");
|
||||
}
|
||||
|
||||
QUrlQuery GetLibraryOptionsInfo::query(const GetLibraryOptionsInfoParams ¶ms) const {
|
||||
QUrlQuery GetLibraryOptionsInfoLoader::query(const GetLibraryOptionsInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetLiveTvChannels::GetLiveTvChannels(ApiClient *apiClient)
|
||||
GetLiveTvChannelsLoader::GetLiveTvChannelsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetLiveTvChannelsParams>(apiClient) {}
|
||||
|
||||
QString GetLiveTvChannels::path(const GetLiveTvChannelsParams ¶ms) const {
|
||||
QString GetLiveTvChannelsLoader::path(const GetLiveTvChannelsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Channels");
|
||||
}
|
||||
|
||||
QUrlQuery GetLiveTvChannels::query(const GetLiveTvChannelsParams ¶ms) const {
|
||||
QUrlQuery GetLiveTvChannelsLoader::query(const GetLiveTvChannelsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetLiveTvInfo::GetLiveTvInfo(ApiClient *apiClient)
|
||||
GetLiveTvInfoLoader::GetLiveTvInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::LiveTvInfo, GetLiveTvInfoParams>(apiClient) {}
|
||||
|
||||
QString GetLiveTvInfo::path(const GetLiveTvInfoParams ¶ms) const {
|
||||
QString GetLiveTvInfoLoader::path(const GetLiveTvInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Info");
|
||||
}
|
||||
|
||||
QUrlQuery GetLiveTvInfo::query(const GetLiveTvInfoParams ¶ms) const {
|
||||
QUrlQuery GetLiveTvInfoLoader::query(const GetLiveTvInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetLiveTvPrograms::GetLiveTvPrograms(ApiClient *apiClient)
|
||||
GetLiveTvProgramsLoader::GetLiveTvProgramsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetLiveTvProgramsParams>(apiClient) {}
|
||||
|
||||
QString GetLiveTvPrograms::path(const GetLiveTvProgramsParams ¶ms) const {
|
||||
QString GetLiveTvProgramsLoader::path(const GetLiveTvProgramsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Programs");
|
||||
}
|
||||
|
||||
QUrlQuery GetLiveTvPrograms::query(const GetLiveTvProgramsParams ¶ms) const {
|
||||
QUrlQuery GetLiveTvProgramsLoader::query(const GetLiveTvProgramsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetLogEntries::GetLogEntries(ApiClient *apiClient)
|
||||
GetLogEntriesLoader::GetLogEntriesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::ActivityLogEntryQueryResult, GetLogEntriesParams>(apiClient) {}
|
||||
|
||||
QString GetLogEntries::path(const GetLogEntriesParams ¶ms) const {
|
||||
QString GetLogEntriesLoader::path(const GetLogEntriesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/System/ActivityLog/Entries");
|
||||
}
|
||||
|
||||
QUrlQuery GetLogEntries::query(const GetLogEntriesParams ¶ms) const {
|
||||
QUrlQuery GetLogEntriesLoader::query(const GetLogEntriesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetMediaFolders::GetMediaFolders(ApiClient *apiClient)
|
||||
GetMediaFoldersLoader::GetMediaFoldersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetMediaFoldersParams>(apiClient) {}
|
||||
|
||||
QString GetMediaFolders::path(const GetMediaFoldersParams ¶ms) const {
|
||||
QString GetMediaFoldersLoader::path(const GetMediaFoldersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Library/MediaFolders");
|
||||
}
|
||||
|
||||
QUrlQuery GetMediaFolders::query(const GetMediaFoldersParams ¶ms) const {
|
||||
QUrlQuery GetMediaFoldersLoader::query(const GetMediaFoldersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetMetadataEditorInfo::GetMetadataEditorInfo(ApiClient *apiClient)
|
||||
GetMetadataEditorInfoLoader::GetMetadataEditorInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::MetadataEditorInfo, GetMetadataEditorInfoParams>(apiClient) {}
|
||||
|
||||
QString GetMetadataEditorInfo::path(const GetMetadataEditorInfoParams ¶ms) const {
|
||||
QString GetMetadataEditorInfoLoader::path(const GetMetadataEditorInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/MetadataEditor");
|
||||
}
|
||||
|
||||
QUrlQuery GetMetadataEditorInfo::query(const GetMetadataEditorInfoParams ¶ms) const {
|
||||
QUrlQuery GetMetadataEditorInfoLoader::query(const GetMetadataEditorInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetMusicGenre::GetMusicGenre(ApiClient *apiClient)
|
||||
GetMusicGenreLoader::GetMusicGenreLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetMusicGenreParams>(apiClient) {}
|
||||
|
||||
QString GetMusicGenre::path(const GetMusicGenreParams ¶ms) const {
|
||||
QString GetMusicGenreLoader::path(const GetMusicGenreParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/MusicGenres/") + Support::toString(params.genreName()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetMusicGenre::query(const GetMusicGenreParams ¶ms) const {
|
||||
QUrlQuery GetMusicGenreLoader::query(const GetMusicGenreParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetMusicGenres::GetMusicGenres(ApiClient *apiClient)
|
||||
GetMusicGenresLoader::GetMusicGenresLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetMusicGenresParams>(apiClient) {}
|
||||
|
||||
QString GetMusicGenres::path(const GetMusicGenresParams ¶ms) const {
|
||||
QString GetMusicGenresLoader::path(const GetMusicGenresParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/MusicGenres");
|
||||
}
|
||||
|
||||
QUrlQuery GetMusicGenres::query(const GetMusicGenresParams ¶ms) const {
|
||||
QUrlQuery GetMusicGenresLoader::query(const GetMusicGenresParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetNextUp::GetNextUp(ApiClient *apiClient)
|
||||
GetNextUpLoader::GetNextUpLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetNextUpParams>(apiClient) {}
|
||||
|
||||
QString GetNextUp::path(const GetNextUpParams ¶ms) const {
|
||||
QString GetNextUpLoader::path(const GetNextUpParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Shows/NextUp");
|
||||
}
|
||||
|
||||
QUrlQuery GetNextUp::query(const GetNextUpParams ¶ms) const {
|
||||
QUrlQuery GetNextUpLoader::query(const GetNextUpParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetNotifications::GetNotifications(ApiClient *apiClient)
|
||||
GetNotificationsLoader::GetNotificationsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::NotificationResultDto, GetNotificationsParams>(apiClient) {}
|
||||
|
||||
QString GetNotifications::path(const GetNotificationsParams ¶ms) const {
|
||||
QString GetNotificationsLoader::path(const GetNotificationsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Notifications/") + Support::toString(params.userId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetNotifications::query(const GetNotificationsParams ¶ms) const {
|
||||
QUrlQuery GetNotificationsLoader::query(const GetNotificationsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetNotificationsSummary::GetNotificationsSummary(ApiClient *apiClient)
|
||||
GetNotificationsSummaryLoader::GetNotificationsSummaryLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::NotificationsSummaryDto, GetNotificationsSummaryParams>(apiClient) {}
|
||||
|
||||
QString GetNotificationsSummary::path(const GetNotificationsSummaryParams ¶ms) const {
|
||||
QString GetNotificationsSummaryLoader::path(const GetNotificationsSummaryParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Notifications/") + Support::toString(params.userId()) + QStringLiteral("/Summary");
|
||||
}
|
||||
|
||||
QUrlQuery GetNotificationsSummary::query(const GetNotificationsSummaryParams ¶ms) const {
|
||||
QUrlQuery GetNotificationsSummaryLoader::query(const GetNotificationsSummaryParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPackageInfo::GetPackageInfo(ApiClient *apiClient)
|
||||
GetPackageInfoLoader::GetPackageInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::PackageInfo, GetPackageInfoParams>(apiClient) {}
|
||||
|
||||
QString GetPackageInfo::path(const GetPackageInfoParams ¶ms) const {
|
||||
QString GetPackageInfoLoader::path(const GetPackageInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Packages/") + Support::toString(params.name()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetPackageInfo::query(const GetPackageInfoParams ¶ms) const {
|
||||
QUrlQuery GetPackageInfoLoader::query(const GetPackageInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPerson::GetPerson(ApiClient *apiClient)
|
||||
GetPersonLoader::GetPersonLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetPersonParams>(apiClient) {}
|
||||
|
||||
QString GetPerson::path(const GetPersonParams ¶ms) const {
|
||||
QString GetPersonLoader::path(const GetPersonParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Persons/") + Support::toString(params.name()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetPerson::query(const GetPersonParams ¶ms) const {
|
||||
QUrlQuery GetPersonLoader::query(const GetPersonParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPersons::GetPersons(ApiClient *apiClient)
|
||||
GetPersonsLoader::GetPersonsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetPersonsParams>(apiClient) {}
|
||||
|
||||
QString GetPersons::path(const GetPersonsParams ¶ms) const {
|
||||
QString GetPersonsLoader::path(const GetPersonsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Persons");
|
||||
}
|
||||
|
||||
QUrlQuery GetPersons::query(const GetPersonsParams ¶ms) const {
|
||||
QUrlQuery GetPersonsLoader::query(const GetPersonsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPlaybackInfo::GetPlaybackInfo(ApiClient *apiClient)
|
||||
GetPlaybackInfoLoader::GetPlaybackInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::PlaybackInfoResponse, GetPlaybackInfoParams>(apiClient) {}
|
||||
|
||||
QString GetPlaybackInfo::path(const GetPlaybackInfoParams ¶ms) const {
|
||||
QString GetPlaybackInfoLoader::path(const GetPlaybackInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/PlaybackInfo");
|
||||
}
|
||||
|
||||
QUrlQuery GetPlaybackInfo::query(const GetPlaybackInfoParams ¶ms) const {
|
||||
QUrlQuery GetPlaybackInfoLoader::query(const GetPlaybackInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPlaylistItems::GetPlaylistItems(ApiClient *apiClient)
|
||||
GetPlaylistItemsLoader::GetPlaylistItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetPlaylistItemsParams>(apiClient) {}
|
||||
|
||||
QString GetPlaylistItems::path(const GetPlaylistItemsParams ¶ms) const {
|
||||
QString GetPlaylistItemsLoader::path(const GetPlaylistItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Playlists/") + Support::toString(params.playlistId()) + QStringLiteral("/Items");
|
||||
}
|
||||
|
||||
QUrlQuery GetPlaylistItems::query(const GetPlaylistItemsParams ¶ms) const {
|
||||
QUrlQuery GetPlaylistItemsLoader::query(const GetPlaylistItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPluginConfiguration::GetPluginConfiguration(ApiClient *apiClient)
|
||||
GetPluginConfigurationLoader::GetPluginConfigurationLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BasePluginConfiguration, GetPluginConfigurationParams>(apiClient) {}
|
||||
|
||||
QString GetPluginConfiguration::path(const GetPluginConfigurationParams ¶ms) const {
|
||||
QString GetPluginConfigurationLoader::path(const GetPluginConfigurationParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Plugins/") + Support::toString(params.pluginId()) + QStringLiteral("/Configuration");
|
||||
}
|
||||
|
||||
QUrlQuery GetPluginConfiguration::query(const GetPluginConfigurationParams ¶ms) const {
|
||||
QUrlQuery GetPluginConfigurationLoader::query(const GetPluginConfigurationParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPostedPlaybackInfo::GetPostedPlaybackInfo(ApiClient *apiClient)
|
||||
GetPostedPlaybackInfoLoader::GetPostedPlaybackInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::PlaybackInfoResponse, GetPostedPlaybackInfoParams>(apiClient) {}
|
||||
|
||||
QString GetPostedPlaybackInfo::path(const GetPostedPlaybackInfoParams ¶ms) const {
|
||||
QString GetPostedPlaybackInfoLoader::path(const GetPostedPlaybackInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/PlaybackInfo");
|
||||
}
|
||||
|
||||
QUrlQuery GetPostedPlaybackInfo::query(const GetPostedPlaybackInfoParams ¶ms) const {
|
||||
QUrlQuery GetPostedPlaybackInfoLoader::query(const GetPostedPlaybackInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetProfile::GetProfile(ApiClient *apiClient)
|
||||
GetProfileLoader::GetProfileLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DeviceProfile, GetProfileParams>(apiClient) {}
|
||||
|
||||
QString GetProfile::path(const GetProfileParams ¶ms) const {
|
||||
QString GetProfileLoader::path(const GetProfileParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Dlna/Profiles/") + Support::toString(params.profileId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetProfile::query(const GetProfileParams ¶ms) const {
|
||||
QUrlQuery GetProfileLoader::query(const GetProfileParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetProgram::GetProgram(ApiClient *apiClient)
|
||||
GetProgramLoader::GetProgramLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetProgramParams>(apiClient) {}
|
||||
|
||||
QString GetProgram::path(const GetProgramParams ¶ms) const {
|
||||
QString GetProgramLoader::path(const GetProgramParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Programs/") + Support::toString(params.programId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetProgram::query(const GetProgramParams ¶ms) const {
|
||||
QUrlQuery GetProgramLoader::query(const GetProgramParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPrograms::GetPrograms(ApiClient *apiClient)
|
||||
GetProgramsLoader::GetProgramsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetProgramsParams>(apiClient) {}
|
||||
|
||||
QString GetPrograms::path(const GetProgramsParams ¶ms) const {
|
||||
QString GetProgramsLoader::path(const GetProgramsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Programs");
|
||||
}
|
||||
|
||||
QUrlQuery GetPrograms::query(const GetProgramsParams ¶ms) const {
|
||||
QUrlQuery GetProgramsLoader::query(const GetProgramsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetPublicSystemInfo::GetPublicSystemInfo(ApiClient *apiClient)
|
||||
GetPublicSystemInfoLoader::GetPublicSystemInfoLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::PublicSystemInfo, GetPublicSystemInfoParams>(apiClient) {}
|
||||
|
||||
QString GetPublicSystemInfo::path(const GetPublicSystemInfoParams ¶ms) const {
|
||||
QString GetPublicSystemInfoLoader::path(const GetPublicSystemInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/System/Info/Public");
|
||||
}
|
||||
|
||||
QUrlQuery GetPublicSystemInfo::query(const GetPublicSystemInfoParams ¶ms) const {
|
||||
QUrlQuery GetPublicSystemInfoLoader::query(const GetPublicSystemInfoParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetQueryFilters::GetQueryFilters(ApiClient *apiClient)
|
||||
GetQueryFiltersLoader::GetQueryFiltersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::QueryFilters, GetQueryFiltersParams>(apiClient) {}
|
||||
|
||||
QString GetQueryFilters::path(const GetQueryFiltersParams ¶ms) const {
|
||||
QString GetQueryFiltersLoader::path(const GetQueryFiltersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/Filters2");
|
||||
}
|
||||
|
||||
QUrlQuery GetQueryFilters::query(const GetQueryFiltersParams ¶ms) const {
|
||||
QUrlQuery GetQueryFiltersLoader::query(const GetQueryFiltersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetQueryFiltersLegacy::GetQueryFiltersLegacy(ApiClient *apiClient)
|
||||
GetQueryFiltersLegacyLoader::GetQueryFiltersLegacyLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::QueryFiltersLegacy, GetQueryFiltersLegacyParams>(apiClient) {}
|
||||
|
||||
QString GetQueryFiltersLegacy::path(const GetQueryFiltersLegacyParams ¶ms) const {
|
||||
QString GetQueryFiltersLegacyLoader::path(const GetQueryFiltersLegacyParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/Filters");
|
||||
}
|
||||
|
||||
QUrlQuery GetQueryFiltersLegacy::query(const GetQueryFiltersLegacyParams ¶ms) const {
|
||||
QUrlQuery GetQueryFiltersLegacyLoader::query(const GetQueryFiltersLegacyParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRecommendedPrograms::GetRecommendedPrograms(ApiClient *apiClient)
|
||||
GetRecommendedProgramsLoader::GetRecommendedProgramsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetRecommendedProgramsParams>(apiClient) {}
|
||||
|
||||
QString GetRecommendedPrograms::path(const GetRecommendedProgramsParams ¶ms) const {
|
||||
QString GetRecommendedProgramsLoader::path(const GetRecommendedProgramsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Programs/Recommended");
|
||||
}
|
||||
|
||||
QUrlQuery GetRecommendedPrograms::query(const GetRecommendedProgramsParams ¶ms) const {
|
||||
QUrlQuery GetRecommendedProgramsLoader::query(const GetRecommendedProgramsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRecording::GetRecording(ApiClient *apiClient)
|
||||
GetRecordingLoader::GetRecordingLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetRecordingParams>(apiClient) {}
|
||||
|
||||
QString GetRecording::path(const GetRecordingParams ¶ms) const {
|
||||
QString GetRecordingLoader::path(const GetRecordingParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Recordings/") + Support::toString(params.recordingId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetRecording::query(const GetRecordingParams ¶ms) const {
|
||||
QUrlQuery GetRecordingLoader::query(const GetRecordingParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRecordingFolders::GetRecordingFolders(ApiClient *apiClient)
|
||||
GetRecordingFoldersLoader::GetRecordingFoldersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetRecordingFoldersParams>(apiClient) {}
|
||||
|
||||
QString GetRecordingFolders::path(const GetRecordingFoldersParams ¶ms) const {
|
||||
QString GetRecordingFoldersLoader::path(const GetRecordingFoldersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Recordings/Folders");
|
||||
}
|
||||
|
||||
QUrlQuery GetRecordingFolders::query(const GetRecordingFoldersParams ¶ms) const {
|
||||
QUrlQuery GetRecordingFoldersLoader::query(const GetRecordingFoldersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRecordingGroups::GetRecordingGroups(ApiClient *apiClient)
|
||||
GetRecordingGroupsLoader::GetRecordingGroupsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetRecordingGroupsParams>(apiClient) {}
|
||||
|
||||
QString GetRecordingGroups::path(const GetRecordingGroupsParams ¶ms) const {
|
||||
QString GetRecordingGroupsLoader::path(const GetRecordingGroupsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Recordings/Groups");
|
||||
}
|
||||
|
||||
QUrlQuery GetRecordingGroups::query(const GetRecordingGroupsParams ¶ms) const {
|
||||
QUrlQuery GetRecordingGroupsLoader::query(const GetRecordingGroupsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRecordings::GetRecordings(ApiClient *apiClient)
|
||||
GetRecordingsLoader::GetRecordingsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetRecordingsParams>(apiClient) {}
|
||||
|
||||
QString GetRecordings::path(const GetRecordingsParams ¶ms) const {
|
||||
QString GetRecordingsLoader::path(const GetRecordingsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Recordings");
|
||||
}
|
||||
|
||||
QUrlQuery GetRecordings::query(const GetRecordingsParams ¶ms) const {
|
||||
QUrlQuery GetRecordingsLoader::query(const GetRecordingsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRecordingsSeries::GetRecordingsSeries(ApiClient *apiClient)
|
||||
GetRecordingsSeriesLoader::GetRecordingsSeriesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetRecordingsSeriesParams>(apiClient) {}
|
||||
|
||||
QString GetRecordingsSeries::path(const GetRecordingsSeriesParams ¶ms) const {
|
||||
QString GetRecordingsSeriesLoader::path(const GetRecordingsSeriesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/Recordings/Series");
|
||||
}
|
||||
|
||||
QUrlQuery GetRecordingsSeries::query(const GetRecordingsSeriesParams ¶ms) const {
|
||||
QUrlQuery GetRecordingsSeriesLoader::query(const GetRecordingsSeriesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRemoteImages::GetRemoteImages(ApiClient *apiClient)
|
||||
GetRemoteImagesLoader::GetRemoteImagesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::RemoteImageResult, GetRemoteImagesParams>(apiClient) {}
|
||||
|
||||
QString GetRemoteImages::path(const GetRemoteImagesParams ¶ms) const {
|
||||
QString GetRemoteImagesLoader::path(const GetRemoteImagesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/RemoteImages");
|
||||
}
|
||||
|
||||
QUrlQuery GetRemoteImages::query(const GetRemoteImagesParams ¶ms) const {
|
||||
QUrlQuery GetRemoteImagesLoader::query(const GetRemoteImagesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetResumeItems::GetResumeItems(ApiClient *apiClient)
|
||||
GetResumeItemsLoader::GetResumeItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetResumeItemsParams>(apiClient) {}
|
||||
|
||||
QString GetResumeItems::path(const GetResumeItemsParams ¶ms) const {
|
||||
QString GetResumeItemsLoader::path(const GetResumeItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Items/Resume");
|
||||
}
|
||||
|
||||
QUrlQuery GetResumeItems::query(const GetResumeItemsParams ¶ms) const {
|
||||
QUrlQuery GetResumeItemsLoader::query(const GetResumeItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetRootFolder::GetRootFolder(ApiClient *apiClient)
|
||||
GetRootFolderLoader::GetRootFolderLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDto, GetRootFolderParams>(apiClient) {}
|
||||
|
||||
QString GetRootFolder::path(const GetRootFolderParams ¶ms) const {
|
||||
QString GetRootFolderLoader::path(const GetRootFolderParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Items/Root");
|
||||
}
|
||||
|
||||
QUrlQuery GetRootFolder::query(const GetRootFolderParams ¶ms) const {
|
||||
QUrlQuery GetRootFolderLoader::query(const GetRootFolderParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSeasons::GetSeasons(ApiClient *apiClient)
|
||||
GetSeasonsLoader::GetSeasonsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSeasonsParams>(apiClient) {}
|
||||
|
||||
QString GetSeasons::path(const GetSeasonsParams ¶ms) const {
|
||||
QString GetSeasonsLoader::path(const GetSeasonsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Shows/") + Support::toString(params.seriesId()) + QStringLiteral("/Seasons");
|
||||
}
|
||||
|
||||
QUrlQuery GetSeasons::query(const GetSeasonsParams ¶ms) const {
|
||||
QUrlQuery GetSeasonsLoader::query(const GetSeasonsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSeriesTimer::GetSeriesTimer(ApiClient *apiClient)
|
||||
GetSeriesTimerLoader::GetSeriesTimerLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::SeriesTimerInfoDto, GetSeriesTimerParams>(apiClient) {}
|
||||
|
||||
QString GetSeriesTimer::path(const GetSeriesTimerParams ¶ms) const {
|
||||
QString GetSeriesTimerLoader::path(const GetSeriesTimerParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/SeriesTimers/") + Support::toString(params.timerId()) ;
|
||||
}
|
||||
|
||||
QUrlQuery GetSeriesTimer::query(const GetSeriesTimerParams ¶ms) const {
|
||||
QUrlQuery GetSeriesTimerLoader::query(const GetSeriesTimerParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSeriesTimers::GetSeriesTimers(ApiClient *apiClient)
|
||||
GetSeriesTimersLoader::GetSeriesTimersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::SeriesTimerInfoDtoQueryResult, GetSeriesTimersParams>(apiClient) {}
|
||||
|
||||
QString GetSeriesTimers::path(const GetSeriesTimersParams ¶ms) const {
|
||||
QString GetSeriesTimersLoader::path(const GetSeriesTimersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/LiveTv/SeriesTimers");
|
||||
}
|
||||
|
||||
QUrlQuery GetSeriesTimers::query(const GetSeriesTimersParams ¶ms) const {
|
||||
QUrlQuery GetSeriesTimersLoader::query(const GetSeriesTimersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSimilarAlbums::GetSimilarAlbums(ApiClient *apiClient)
|
||||
GetSimilarAlbumsLoader::GetSimilarAlbumsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSimilarAlbumsParams>(apiClient) {}
|
||||
|
||||
QString GetSimilarAlbums::path(const GetSimilarAlbumsParams ¶ms) const {
|
||||
QString GetSimilarAlbumsLoader::path(const GetSimilarAlbumsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Albums/") + Support::toString(params.itemId()) + QStringLiteral("/Similar");
|
||||
}
|
||||
|
||||
QUrlQuery GetSimilarAlbums::query(const GetSimilarAlbumsParams ¶ms) const {
|
||||
QUrlQuery GetSimilarAlbumsLoader::query(const GetSimilarAlbumsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSimilarArtists::GetSimilarArtists(ApiClient *apiClient)
|
||||
GetSimilarArtistsLoader::GetSimilarArtistsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSimilarArtistsParams>(apiClient) {}
|
||||
|
||||
QString GetSimilarArtists::path(const GetSimilarArtistsParams ¶ms) const {
|
||||
QString GetSimilarArtistsLoader::path(const GetSimilarArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Artists/") + Support::toString(params.itemId()) + QStringLiteral("/Similar");
|
||||
}
|
||||
|
||||
QUrlQuery GetSimilarArtists::query(const GetSimilarArtistsParams ¶ms) const {
|
||||
QUrlQuery GetSimilarArtistsLoader::query(const GetSimilarArtistsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSimilarItems::GetSimilarItems(ApiClient *apiClient)
|
||||
GetSimilarItemsLoader::GetSimilarItemsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSimilarItemsParams>(apiClient) {}
|
||||
|
||||
QString GetSimilarItems::path(const GetSimilarItemsParams ¶ms) const {
|
||||
QString GetSimilarItemsLoader::path(const GetSimilarItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/Similar");
|
||||
}
|
||||
|
||||
QUrlQuery GetSimilarItems::query(const GetSimilarItemsParams ¶ms) const {
|
||||
QUrlQuery GetSimilarItemsLoader::query(const GetSimilarItemsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSimilarMovies::GetSimilarMovies(ApiClient *apiClient)
|
||||
GetSimilarMoviesLoader::GetSimilarMoviesLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSimilarMoviesParams>(apiClient) {}
|
||||
|
||||
QString GetSimilarMovies::path(const GetSimilarMoviesParams ¶ms) const {
|
||||
QString GetSimilarMoviesLoader::path(const GetSimilarMoviesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Movies/") + Support::toString(params.itemId()) + QStringLiteral("/Similar");
|
||||
}
|
||||
|
||||
QUrlQuery GetSimilarMovies::query(const GetSimilarMoviesParams ¶ms) const {
|
||||
QUrlQuery GetSimilarMoviesLoader::query(const GetSimilarMoviesParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSimilarShows::GetSimilarShows(ApiClient *apiClient)
|
||||
GetSimilarShowsLoader::GetSimilarShowsLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSimilarShowsParams>(apiClient) {}
|
||||
|
||||
QString GetSimilarShows::path(const GetSimilarShowsParams ¶ms) const {
|
||||
QString GetSimilarShowsLoader::path(const GetSimilarShowsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Shows/") + Support::toString(params.itemId()) + QStringLiteral("/Similar");
|
||||
}
|
||||
|
||||
QUrlQuery GetSimilarShows::query(const GetSimilarShowsParams ¶ms) const {
|
||||
QUrlQuery GetSimilarShowsLoader::query(const GetSimilarShowsParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetSimilarTrailers::GetSimilarTrailers(ApiClient *apiClient)
|
||||
GetSimilarTrailersLoader::GetSimilarTrailersLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::BaseItemDtoQueryResult, GetSimilarTrailersParams>(apiClient) {}
|
||||
|
||||
QString GetSimilarTrailers::path(const GetSimilarTrailersParams ¶ms) const {
|
||||
QString GetSimilarTrailersLoader::path(const GetSimilarTrailersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Trailers/") + Support::toString(params.itemId()) + QStringLiteral("/Similar");
|
||||
}
|
||||
|
||||
QUrlQuery GetSimilarTrailers::query(const GetSimilarTrailersParams ¶ms) const {
|
||||
QUrlQuery GetSimilarTrailersLoader::query(const GetSimilarTrailersParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
|
@ -34,16 +34,16 @@ namespace Loader {
|
|||
namespace HTTP {
|
||||
|
||||
|
||||
GetStartupConfiguration::GetStartupConfiguration(ApiClient *apiClient)
|
||||
GetStartupConfigurationLoader::GetStartupConfigurationLoader(ApiClient *apiClient)
|
||||
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::StartupConfigurationDto, GetStartupConfigurationParams>(apiClient) {}
|
||||
|
||||
QString GetStartupConfiguration::path(const GetStartupConfigurationParams ¶ms) const {
|
||||
QString GetStartupConfigurationLoader::path(const GetStartupConfigurationParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
return QStringLiteral("/Startup/Configuration");
|
||||
}
|
||||
|
||||
QUrlQuery GetStartupConfiguration::query(const GetStartupConfigurationParams ¶ms) const {
|
||||
QUrlQuery GetStartupConfigurationLoader::query(const GetStartupConfigurationParams ¶ms) const {
|
||||
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
|
||||
|
||||
QUrlQuery result;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue