mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-06 02: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 {
|
||||
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue