mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-22 09:15:18 +00:00
WIP: Code cleanup, trying to debug Q_ENUM not visible from QML
This commit is contained in:
parent
729e343661
commit
89fef6d7f4
|
@ -12,6 +12,7 @@ set(JellyfinQt_SOURCES
|
||||||
src/viewmodel/item.cpp
|
src/viewmodel/item.cpp
|
||||||
src/viewmodel/itemmodel.cpp
|
src/viewmodel/itemmodel.cpp
|
||||||
src/viewmodel/loader.cpp
|
src/viewmodel/loader.cpp
|
||||||
|
src/viewmodel/modelstatus.cpp
|
||||||
src/viewmodel/playbackmanager.cpp
|
src/viewmodel/playbackmanager.cpp
|
||||||
src/apiclient.cpp
|
src/apiclient.cpp
|
||||||
src/apimodel.cpp
|
src/apimodel.cpp
|
||||||
|
@ -32,6 +33,7 @@ set(JellyfinQt_HEADERS
|
||||||
include/JellyfinQt/viewmodel/item.h
|
include/JellyfinQt/viewmodel/item.h
|
||||||
include/JellyfinQt/viewmodel/itemmodel.h
|
include/JellyfinQt/viewmodel/itemmodel.h
|
||||||
include/JellyfinQt/viewmodel/loader.h
|
include/JellyfinQt/viewmodel/loader.h
|
||||||
|
include/JellyfinQt/viewmodel/modelstatus.h
|
||||||
include/JellyfinQt/viewmodel/propertyhelper.h
|
include/JellyfinQt/viewmodel/propertyhelper.h
|
||||||
include/JellyfinQt/viewmodel/playbackmanager.h
|
include/JellyfinQt/viewmodel/playbackmanager.h
|
||||||
include/JellyfinQt/apiclient.h
|
include/JellyfinQt/apiclient.h
|
||||||
|
|
|
@ -1,101 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ACCESSSCHEDULE_H
|
|
||||||
#define JELLYFIN_DTO_ACCESSSCHEDULE_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/dynamicdayofweek.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AccessSchedule {
|
|
||||||
public:AccessSchedule();AccessSchedule(const AccessSchedule &other);
|
|
||||||
|
|
||||||
static AccessSchedule fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the id of this instance.
|
|
||||||
*/
|
|
||||||
qint32 jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the id of this instance.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(qint32 newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the id of the associated user.
|
|
||||||
*/
|
|
||||||
QUuid userId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the id of the associated user.
|
|
||||||
*/
|
|
||||||
void setUserId(QUuid newUserId);
|
|
||||||
|
|
||||||
DynamicDayOfWeek dayOfWeek() const;
|
|
||||||
|
|
||||||
void setDayOfWeek(DynamicDayOfWeek newDayOfWeek);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the start hour.
|
|
||||||
*/
|
|
||||||
double startHour() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the start hour.
|
|
||||||
*/
|
|
||||||
void setStartHour(double newStartHour);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the end hour.
|
|
||||||
*/
|
|
||||||
double endHour() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the end hour.
|
|
||||||
*/
|
|
||||||
void setEndHour(double newEndHour);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
qint32 m_jellyfinId;
|
|
||||||
QUuid m_userId;
|
|
||||||
DynamicDayOfWeek m_dayOfWeek;
|
|
||||||
double m_startHour;
|
|
||||||
double m_endHour;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ACCESSSCHEDULE_H
|
|
|
@ -1,148 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ACTIVITYLOGENTRY_H
|
|
||||||
#define JELLYFIN_DTO_ACTIVITYLOGENTRY_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/loglevel.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ActivityLogEntry {
|
|
||||||
public:ActivityLogEntry();ActivityLogEntry(const ActivityLogEntry &other);
|
|
||||||
|
|
||||||
static ActivityLogEntry fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
qint64 jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(qint64 newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the overview.
|
|
||||||
*/
|
|
||||||
QString overview() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the overview.
|
|
||||||
*/
|
|
||||||
void setOverview(QString newOverview);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the short overview.
|
|
||||||
*/
|
|
||||||
QString shortOverview() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the short overview.
|
|
||||||
*/
|
|
||||||
void setShortOverview(QString newShortOverview);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type.
|
|
||||||
*/
|
|
||||||
QString type() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type.
|
|
||||||
*/
|
|
||||||
void setType(QString newType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the item identifier.
|
|
||||||
*/
|
|
||||||
QString itemId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the item identifier.
|
|
||||||
*/
|
|
||||||
void setItemId(QString newItemId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date.
|
|
||||||
*/
|
|
||||||
QDateTime date() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date.
|
|
||||||
*/
|
|
||||||
void setDate(QDateTime newDate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user identifier.
|
|
||||||
*/
|
|
||||||
QUuid userId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user identifier.
|
|
||||||
*/
|
|
||||||
void setUserId(QUuid newUserId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user primary image tag.
|
|
||||||
*/
|
|
||||||
QString userPrimaryImageTag() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user primary image tag.
|
|
||||||
*/
|
|
||||||
void setUserPrimaryImageTag(QString newUserPrimaryImageTag);
|
|
||||||
|
|
||||||
LogLevel severity() const;
|
|
||||||
|
|
||||||
void setSeverity(LogLevel newSeverity);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
qint64 m_jellyfinId;
|
|
||||||
QString m_name;
|
|
||||||
QString m_overview;
|
|
||||||
QString m_shortOverview;
|
|
||||||
QString m_type;
|
|
||||||
QString m_itemId;
|
|
||||||
QDateTime m_date;
|
|
||||||
QUuid m_userId;
|
|
||||||
QString m_userPrimaryImageTag;
|
|
||||||
LogLevel m_severity;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ACTIVITYLOGENTRY_H
|
|
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ACTIVITYLOGENTRYQUERYRESULT_H
|
|
||||||
#define JELLYFIN_DTO_ACTIVITYLOGENTRYQUERYRESULT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/activitylogentry.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ActivityLogEntryQueryResult {
|
|
||||||
public:ActivityLogEntryQueryResult();ActivityLogEntryQueryResult(const ActivityLogEntryQueryResult &other);
|
|
||||||
|
|
||||||
static ActivityLogEntryQueryResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<ActivityLogEntry>> items() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
void setItems(QList<QSharedPointer<ActivityLogEntry>> newItems);
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
qint32 totalRecordCount() const;
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
void setTotalRecordCount(qint32 newTotalRecordCount);
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
qint32 startIndex() const;
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
void setStartIndex(qint32 newStartIndex);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<ActivityLogEntry>> m_items;
|
|
||||||
qint32 m_totalRecordCount;
|
|
||||||
qint32 m_startIndex;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ACTIVITYLOGENTRYQUERYRESULT_H
|
|
|
@ -1,65 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ADDVIRTUALFOLDERDTO_H
|
|
||||||
#define JELLYFIN_DTO_ADDVIRTUALFOLDERDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/libraryoptions.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AddVirtualFolderDto {
|
|
||||||
public:AddVirtualFolderDto();AddVirtualFolderDto(const AddVirtualFolderDto &other);
|
|
||||||
|
|
||||||
static AddVirtualFolderDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<LibraryOptions> libraryOptions() const;
|
|
||||||
|
|
||||||
void setLibraryOptions(QSharedPointer<LibraryOptions> newLibraryOptions);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<LibraryOptions> m_libraryOptions = nullptr;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ADDVIRTUALFOLDERDTO_H
|
|
|
@ -1,161 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ALBUMINFO_H
|
|
||||||
#define JELLYFIN_DTO_ALBUMINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/songinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AlbumInfo {
|
|
||||||
public:AlbumInfo();AlbumInfo(const AlbumInfo &other);
|
|
||||||
|
|
||||||
static AlbumInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
QString metadataLanguage() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
void setMetadataLanguage(QString newMetadataLanguage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
QString metadataCountryCode() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
void setMetadataCountryCode(QString newMetadataCountryCode);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
QJsonObject providerIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
void setProviderIds(QJsonObject newProviderIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
qint32 year() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
void setYear(qint32 newYear);
|
|
||||||
|
|
||||||
qint32 indexNumber() const;
|
|
||||||
|
|
||||||
void setIndexNumber(qint32 newIndexNumber);
|
|
||||||
|
|
||||||
qint32 parentIndexNumber() const;
|
|
||||||
|
|
||||||
void setParentIndexNumber(qint32 newParentIndexNumber);
|
|
||||||
|
|
||||||
QDateTime premiereDate() const;
|
|
||||||
|
|
||||||
void setPremiereDate(QDateTime newPremiereDate);
|
|
||||||
|
|
||||||
bool isAutomated() const;
|
|
||||||
|
|
||||||
void setIsAutomated(bool newIsAutomated);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the album artist.
|
|
||||||
*/
|
|
||||||
QStringList albumArtists() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the album artist.
|
|
||||||
*/
|
|
||||||
void setAlbumArtists(QStringList newAlbumArtists);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the artist provider ids.
|
|
||||||
*/
|
|
||||||
QJsonObject artistProviderIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the artist provider ids.
|
|
||||||
*/
|
|
||||||
void setArtistProviderIds(QJsonObject newArtistProviderIds);
|
|
||||||
|
|
||||||
QList<QSharedPointer<SongInfo>> songInfos() const;
|
|
||||||
|
|
||||||
void setSongInfos(QList<QSharedPointer<SongInfo>> newSongInfos);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_path;
|
|
||||||
QString m_metadataLanguage;
|
|
||||||
QString m_metadataCountryCode;
|
|
||||||
QJsonObject m_providerIds;
|
|
||||||
qint32 m_year;
|
|
||||||
qint32 m_indexNumber;
|
|
||||||
qint32 m_parentIndexNumber;
|
|
||||||
QDateTime m_premiereDate;
|
|
||||||
bool m_isAutomated;
|
|
||||||
QStringList m_albumArtists;
|
|
||||||
QJsonObject m_artistProviderIds;
|
|
||||||
QList<QSharedPointer<SongInfo>> m_songInfos;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ALBUMINFO_H
|
|
|
@ -1,90 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ALBUMINFOREMOTESEARCHQUERY_H
|
|
||||||
#define JELLYFIN_DTO_ALBUMINFOREMOTESEARCHQUERY_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/albuminfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AlbumInfoRemoteSearchQuery {
|
|
||||||
public:AlbumInfoRemoteSearchQuery();AlbumInfoRemoteSearchQuery(const AlbumInfoRemoteSearchQuery &other);
|
|
||||||
|
|
||||||
static AlbumInfoRemoteSearchQuery fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<AlbumInfo> searchInfo() const;
|
|
||||||
|
|
||||||
void setSearchInfo(QSharedPointer<AlbumInfo> newSearchInfo);
|
|
||||||
|
|
||||||
QUuid itemId() const;
|
|
||||||
|
|
||||||
void setItemId(QUuid newItemId);
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
QString searchProviderName() const;
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
void setSearchProviderName(QString newSearchProviderName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
bool includeDisabledProviders() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
void setIncludeDisabledProviders(bool newIncludeDisabledProviders);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<AlbumInfo> m_searchInfo = nullptr;
|
|
||||||
QUuid m_itemId;
|
|
||||||
QString m_searchProviderName;
|
|
||||||
bool m_includeDisabledProviders;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ALBUMINFOREMOTESEARCHQUERY_H
|
|
|
@ -1,75 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ALLTHEMEMEDIARESULT_H
|
|
||||||
#define JELLYFIN_DTO_ALLTHEMEMEDIARESULT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/thememediaresult.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AllThemeMediaResult {
|
|
||||||
public:AllThemeMediaResult();AllThemeMediaResult(const AllThemeMediaResult &other);
|
|
||||||
|
|
||||||
static AllThemeMediaResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<ThemeMediaResult> themeVideosResult() const;
|
|
||||||
|
|
||||||
void setThemeVideosResult(QSharedPointer<ThemeMediaResult> newThemeVideosResult);
|
|
||||||
|
|
||||||
QSharedPointer<ThemeMediaResult> themeSongsResult() const;
|
|
||||||
|
|
||||||
void setThemeSongsResult(QSharedPointer<ThemeMediaResult> newThemeSongsResult);
|
|
||||||
|
|
||||||
QSharedPointer<ThemeMediaResult> soundtrackSongsResult() const;
|
|
||||||
|
|
||||||
void setSoundtrackSongsResult(QSharedPointer<ThemeMediaResult> newSoundtrackSongsResult);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<ThemeMediaResult> m_themeVideosResult = nullptr;
|
|
||||||
QSharedPointer<ThemeMediaResult> m_themeSongsResult = nullptr;
|
|
||||||
QSharedPointer<ThemeMediaResult> m_soundtrackSongsResult = nullptr;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ALLTHEMEMEDIARESULT_H
|
|
|
@ -1,143 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ARTISTINFO_H
|
|
||||||
#define JELLYFIN_DTO_ARTISTINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/songinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ArtistInfo {
|
|
||||||
public:ArtistInfo();ArtistInfo(const ArtistInfo &other);
|
|
||||||
|
|
||||||
static ArtistInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
QString metadataLanguage() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
void setMetadataLanguage(QString newMetadataLanguage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
QString metadataCountryCode() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
void setMetadataCountryCode(QString newMetadataCountryCode);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
QJsonObject providerIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
void setProviderIds(QJsonObject newProviderIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
qint32 year() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
void setYear(qint32 newYear);
|
|
||||||
|
|
||||||
qint32 indexNumber() const;
|
|
||||||
|
|
||||||
void setIndexNumber(qint32 newIndexNumber);
|
|
||||||
|
|
||||||
qint32 parentIndexNumber() const;
|
|
||||||
|
|
||||||
void setParentIndexNumber(qint32 newParentIndexNumber);
|
|
||||||
|
|
||||||
QDateTime premiereDate() const;
|
|
||||||
|
|
||||||
void setPremiereDate(QDateTime newPremiereDate);
|
|
||||||
|
|
||||||
bool isAutomated() const;
|
|
||||||
|
|
||||||
void setIsAutomated(bool newIsAutomated);
|
|
||||||
|
|
||||||
QList<QSharedPointer<SongInfo>> songInfos() const;
|
|
||||||
|
|
||||||
void setSongInfos(QList<QSharedPointer<SongInfo>> newSongInfos);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_path;
|
|
||||||
QString m_metadataLanguage;
|
|
||||||
QString m_metadataCountryCode;
|
|
||||||
QJsonObject m_providerIds;
|
|
||||||
qint32 m_year;
|
|
||||||
qint32 m_indexNumber;
|
|
||||||
qint32 m_parentIndexNumber;
|
|
||||||
QDateTime m_premiereDate;
|
|
||||||
bool m_isAutomated;
|
|
||||||
QList<QSharedPointer<SongInfo>> m_songInfos;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ARTISTINFO_H
|
|
|
@ -1,90 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ARTISTINFOREMOTESEARCHQUERY_H
|
|
||||||
#define JELLYFIN_DTO_ARTISTINFOREMOTESEARCHQUERY_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/artistinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ArtistInfoRemoteSearchQuery {
|
|
||||||
public:ArtistInfoRemoteSearchQuery();ArtistInfoRemoteSearchQuery(const ArtistInfoRemoteSearchQuery &other);
|
|
||||||
|
|
||||||
static ArtistInfoRemoteSearchQuery fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<ArtistInfo> searchInfo() const;
|
|
||||||
|
|
||||||
void setSearchInfo(QSharedPointer<ArtistInfo> newSearchInfo);
|
|
||||||
|
|
||||||
QUuid itemId() const;
|
|
||||||
|
|
||||||
void setItemId(QUuid newItemId);
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
QString searchProviderName() const;
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
void setSearchProviderName(QString newSearchProviderName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
bool includeDisabledProviders() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
void setIncludeDisabledProviders(bool newIncludeDisabledProviders);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<ArtistInfo> m_searchInfo = nullptr;
|
|
||||||
QUuid m_itemId;
|
|
||||||
QString m_searchProviderName;
|
|
||||||
bool m_includeDisabledProviders;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ARTISTINFOREMOTESEARCHQUERY_H
|
|
|
@ -1,86 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_AUTHENTICATEUSERBYNAME_H
|
|
||||||
#define JELLYFIN_DTO_AUTHENTICATEUSERBYNAME_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AuthenticateUserByName {
|
|
||||||
public:AuthenticateUserByName();AuthenticateUserByName(const AuthenticateUserByName &other);
|
|
||||||
|
|
||||||
static AuthenticateUserByName fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the username.
|
|
||||||
*/
|
|
||||||
QString username() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the username.
|
|
||||||
*/
|
|
||||||
void setUsername(QString newUsername);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the plain text password.
|
|
||||||
*/
|
|
||||||
QString pw() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the plain text password.
|
|
||||||
*/
|
|
||||||
void setPw(QString newPw);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the sha1-hashed password.
|
|
||||||
*/
|
|
||||||
QString password() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the sha1-hashed password.
|
|
||||||
*/
|
|
||||||
void setPassword(QString newPassword);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_username;
|
|
||||||
QString m_pw;
|
|
||||||
QString m_password;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_AUTHENTICATEUSERBYNAME_H
|
|
|
@ -1,161 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_AUTHENTICATIONINFO_H
|
|
||||||
#define JELLYFIN_DTO_AUTHENTICATIONINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AuthenticationInfo {
|
|
||||||
public:AuthenticationInfo();AuthenticationInfo(const AuthenticationInfo &other);
|
|
||||||
|
|
||||||
static AuthenticationInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
qint64 jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(qint64 newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the access token.
|
|
||||||
*/
|
|
||||||
QString accessToken() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the access token.
|
|
||||||
*/
|
|
||||||
void setAccessToken(QString newAccessToken);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the device identifier.
|
|
||||||
*/
|
|
||||||
QString deviceId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the device identifier.
|
|
||||||
*/
|
|
||||||
void setDeviceId(QString newDeviceId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the application.
|
|
||||||
*/
|
|
||||||
QString appName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the application.
|
|
||||||
*/
|
|
||||||
void setAppName(QString newAppName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the application version.
|
|
||||||
*/
|
|
||||||
QString appVersion() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the application version.
|
|
||||||
*/
|
|
||||||
void setAppVersion(QString newAppVersion);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the device.
|
|
||||||
*/
|
|
||||||
QString deviceName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the device.
|
|
||||||
*/
|
|
||||||
void setDeviceName(QString newDeviceName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user identifier.
|
|
||||||
*/
|
|
||||||
QUuid userId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user identifier.
|
|
||||||
*/
|
|
||||||
void setUserId(QUuid newUserId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is active.
|
|
||||||
*/
|
|
||||||
bool isActive() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is active.
|
|
||||||
*/
|
|
||||||
void setIsActive(bool newIsActive);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date created.
|
|
||||||
*/
|
|
||||||
QDateTime dateCreated() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date created.
|
|
||||||
*/
|
|
||||||
void setDateCreated(QDateTime newDateCreated);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date revoked.
|
|
||||||
*/
|
|
||||||
QDateTime dateRevoked() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date revoked.
|
|
||||||
*/
|
|
||||||
void setDateRevoked(QDateTime newDateRevoked);
|
|
||||||
|
|
||||||
QDateTime dateLastActivity() const;
|
|
||||||
|
|
||||||
void setDateLastActivity(QDateTime newDateLastActivity);
|
|
||||||
|
|
||||||
QString userName() const;
|
|
||||||
|
|
||||||
void setUserName(QString newUserName);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
qint64 m_jellyfinId;
|
|
||||||
QString m_accessToken;
|
|
||||||
QString m_deviceId;
|
|
||||||
QString m_appName;
|
|
||||||
QString m_appVersion;
|
|
||||||
QString m_deviceName;
|
|
||||||
QUuid m_userId;
|
|
||||||
bool m_isActive;
|
|
||||||
QDateTime m_dateCreated;
|
|
||||||
QDateTime m_dateRevoked;
|
|
||||||
QDateTime m_dateLastActivity;
|
|
||||||
QString m_userName;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_AUTHENTICATIONINFO_H
|
|
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_AUTHENTICATIONINFOQUERYRESULT_H
|
|
||||||
#define JELLYFIN_DTO_AUTHENTICATIONINFOQUERYRESULT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/authenticationinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class AuthenticationInfoQueryResult {
|
|
||||||
public:AuthenticationInfoQueryResult();AuthenticationInfoQueryResult(const AuthenticationInfoQueryResult &other);
|
|
||||||
|
|
||||||
static AuthenticationInfoQueryResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<AuthenticationInfo>> items() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
void setItems(QList<QSharedPointer<AuthenticationInfo>> newItems);
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
qint32 totalRecordCount() const;
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
void setTotalRecordCount(qint32 newTotalRecordCount);
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
qint32 startIndex() const;
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
void setStartIndex(qint32 newStartIndex);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<AuthenticationInfo>> m_items;
|
|
||||||
qint32 m_totalRecordCount;
|
|
||||||
qint32 m_startIndex;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_AUTHENTICATIONINFOQUERYRESULT_H
|
|
|
@ -1,124 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BASEITEM_H
|
|
||||||
#define JELLYFIN_DTO_BASEITEM_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/mediaurl.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BaseItem {
|
|
||||||
public:BaseItem();BaseItem(const BaseItem &other);
|
|
||||||
|
|
||||||
static BaseItem fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
qint64 size() const;
|
|
||||||
|
|
||||||
void setSize(qint64 newSize);
|
|
||||||
|
|
||||||
QString container() const;
|
|
||||||
|
|
||||||
void setContainer(QString newContainer);
|
|
||||||
|
|
||||||
QDateTime dateLastSaved() const;
|
|
||||||
|
|
||||||
void setDateLastSaved(QDateTime newDateLastSaved);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the remote trailers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<MediaUrl>> remoteTrailers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the remote trailers.
|
|
||||||
*/
|
|
||||||
void setRemoteTrailers(QList<QSharedPointer<MediaUrl>> newRemoteTrailers);
|
|
||||||
|
|
||||||
bool isHD() const;
|
|
||||||
|
|
||||||
void setIsHD(bool newIsHD);
|
|
||||||
|
|
||||||
bool isShortcut() const;
|
|
||||||
|
|
||||||
void setIsShortcut(bool newIsShortcut);
|
|
||||||
|
|
||||||
QString shortcutPath() const;
|
|
||||||
|
|
||||||
void setShortcutPath(QString newShortcutPath);
|
|
||||||
|
|
||||||
qint32 width() const;
|
|
||||||
|
|
||||||
void setWidth(qint32 newWidth);
|
|
||||||
|
|
||||||
qint32 height() const;
|
|
||||||
|
|
||||||
void setHeight(qint32 newHeight);
|
|
||||||
|
|
||||||
QList<QUuid> extraIds() const;
|
|
||||||
|
|
||||||
void setExtraIds(QList<QUuid> newExtraIds);
|
|
||||||
|
|
||||||
bool supportsExternalTransfer() const;
|
|
||||||
|
|
||||||
void setSupportsExternalTransfer(bool newSupportsExternalTransfer);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
qint64 m_size;
|
|
||||||
QString m_container;
|
|
||||||
QDateTime m_dateLastSaved;
|
|
||||||
QList<QSharedPointer<MediaUrl>> m_remoteTrailers;
|
|
||||||
bool m_isHD;
|
|
||||||
bool m_isShortcut;
|
|
||||||
QString m_shortcutPath;
|
|
||||||
qint32 m_width;
|
|
||||||
qint32 m_height;
|
|
||||||
QList<QUuid> m_extraIds;
|
|
||||||
bool m_supportsExternalTransfer;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BASEITEM_H
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BASEITEMDTOQUERYRESULT_H
|
|
||||||
#define JELLYFIN_DTO_BASEITEMDTOQUERYRESULT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/baseitemdto.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BaseItemDtoQueryResult {
|
|
||||||
public:BaseItemDtoQueryResult();BaseItemDtoQueryResult(const BaseItemDtoQueryResult &other);
|
|
||||||
|
|
||||||
static BaseItemDtoQueryResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<BaseItemDto>> items() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
void setItems(QList<QSharedPointer<BaseItemDto>> newItems);
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
qint32 totalRecordCount() const;
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
void setTotalRecordCount(qint32 newTotalRecordCount);
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
qint32 startIndex() const;
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
void setStartIndex(qint32 newStartIndex);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<BaseItemDto>> m_items;
|
|
||||||
qint32 m_totalRecordCount;
|
|
||||||
qint32 m_startIndex;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BASEITEMDTOQUERYRESULT_H
|
|
|
@ -1,113 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BASEITEMPERSON_H
|
|
||||||
#define JELLYFIN_DTO_BASEITEMPERSON_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BaseItemPerson {
|
|
||||||
public:BaseItemPerson();BaseItemPerson(const BaseItemPerson &other);
|
|
||||||
|
|
||||||
static BaseItemPerson fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
QString jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the role.
|
|
||||||
*/
|
|
||||||
QString role() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the role.
|
|
||||||
*/
|
|
||||||
void setRole(QString newRole);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type.
|
|
||||||
*/
|
|
||||||
QString type() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type.
|
|
||||||
*/
|
|
||||||
void setType(QString newType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the primary image tag.
|
|
||||||
*/
|
|
||||||
QString primaryImageTag() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the primary image tag.
|
|
||||||
*/
|
|
||||||
void setPrimaryImageTag(QString newPrimaryImageTag);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the primary image blurhash.
|
|
||||||
*/
|
|
||||||
QJsonObject imageBlurHashes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the primary image blurhash.
|
|
||||||
*/
|
|
||||||
void setImageBlurHashes(QJsonObject newImageBlurHashes);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QString m_role;
|
|
||||||
QString m_type;
|
|
||||||
QString m_primaryImageTag;
|
|
||||||
QJsonObject m_imageBlurHashes;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BASEITEMPERSON_H
|
|
|
@ -1,139 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BOOKINFO_H
|
|
||||||
#define JELLYFIN_DTO_BOOKINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BookInfo {
|
|
||||||
public:BookInfo();BookInfo(const BookInfo &other);
|
|
||||||
|
|
||||||
static BookInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
QString metadataLanguage() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
void setMetadataLanguage(QString newMetadataLanguage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
QString metadataCountryCode() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
void setMetadataCountryCode(QString newMetadataCountryCode);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
QJsonObject providerIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
void setProviderIds(QJsonObject newProviderIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
qint32 year() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
void setYear(qint32 newYear);
|
|
||||||
|
|
||||||
qint32 indexNumber() const;
|
|
||||||
|
|
||||||
void setIndexNumber(qint32 newIndexNumber);
|
|
||||||
|
|
||||||
qint32 parentIndexNumber() const;
|
|
||||||
|
|
||||||
void setParentIndexNumber(qint32 newParentIndexNumber);
|
|
||||||
|
|
||||||
QDateTime premiereDate() const;
|
|
||||||
|
|
||||||
void setPremiereDate(QDateTime newPremiereDate);
|
|
||||||
|
|
||||||
bool isAutomated() const;
|
|
||||||
|
|
||||||
void setIsAutomated(bool newIsAutomated);
|
|
||||||
|
|
||||||
QString seriesName() const;
|
|
||||||
|
|
||||||
void setSeriesName(QString newSeriesName);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_path;
|
|
||||||
QString m_metadataLanguage;
|
|
||||||
QString m_metadataCountryCode;
|
|
||||||
QJsonObject m_providerIds;
|
|
||||||
qint32 m_year;
|
|
||||||
qint32 m_indexNumber;
|
|
||||||
qint32 m_parentIndexNumber;
|
|
||||||
QDateTime m_premiereDate;
|
|
||||||
bool m_isAutomated;
|
|
||||||
QString m_seriesName;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BOOKINFO_H
|
|
|
@ -1,90 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BOOKINFOREMOTESEARCHQUERY_H
|
|
||||||
#define JELLYFIN_DTO_BOOKINFOREMOTESEARCHQUERY_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/bookinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BookInfoRemoteSearchQuery {
|
|
||||||
public:BookInfoRemoteSearchQuery();BookInfoRemoteSearchQuery(const BookInfoRemoteSearchQuery &other);
|
|
||||||
|
|
||||||
static BookInfoRemoteSearchQuery fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<BookInfo> searchInfo() const;
|
|
||||||
|
|
||||||
void setSearchInfo(QSharedPointer<BookInfo> newSearchInfo);
|
|
||||||
|
|
||||||
QUuid itemId() const;
|
|
||||||
|
|
||||||
void setItemId(QUuid newItemId);
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
QString searchProviderName() const;
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
void setSearchProviderName(QString newSearchProviderName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
bool includeDisabledProviders() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
void setIncludeDisabledProviders(bool newIncludeDisabledProviders);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<BookInfo> m_searchInfo = nullptr;
|
|
||||||
QUuid m_itemId;
|
|
||||||
QString m_searchProviderName;
|
|
||||||
bool m_includeDisabledProviders;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BOOKINFOREMOTESEARCHQUERY_H
|
|
|
@ -1,134 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BOXSETINFO_H
|
|
||||||
#define JELLYFIN_DTO_BOXSETINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BoxSetInfo {
|
|
||||||
public:BoxSetInfo();BoxSetInfo(const BoxSetInfo &other);
|
|
||||||
|
|
||||||
static BoxSetInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
QString metadataLanguage() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata language.
|
|
||||||
*/
|
|
||||||
void setMetadataLanguage(QString newMetadataLanguage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
QString metadataCountryCode() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
void setMetadataCountryCode(QString newMetadataCountryCode);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
QJsonObject providerIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the provider ids.
|
|
||||||
*/
|
|
||||||
void setProviderIds(QJsonObject newProviderIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
qint32 year() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the year.
|
|
||||||
*/
|
|
||||||
void setYear(qint32 newYear);
|
|
||||||
|
|
||||||
qint32 indexNumber() const;
|
|
||||||
|
|
||||||
void setIndexNumber(qint32 newIndexNumber);
|
|
||||||
|
|
||||||
qint32 parentIndexNumber() const;
|
|
||||||
|
|
||||||
void setParentIndexNumber(qint32 newParentIndexNumber);
|
|
||||||
|
|
||||||
QDateTime premiereDate() const;
|
|
||||||
|
|
||||||
void setPremiereDate(QDateTime newPremiereDate);
|
|
||||||
|
|
||||||
bool isAutomated() const;
|
|
||||||
|
|
||||||
void setIsAutomated(bool newIsAutomated);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_path;
|
|
||||||
QString m_metadataLanguage;
|
|
||||||
QString m_metadataCountryCode;
|
|
||||||
QJsonObject m_providerIds;
|
|
||||||
qint32 m_year;
|
|
||||||
qint32 m_indexNumber;
|
|
||||||
qint32 m_parentIndexNumber;
|
|
||||||
QDateTime m_premiereDate;
|
|
||||||
bool m_isAutomated;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BOXSETINFO_H
|
|
|
@ -1,90 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BOXSETINFOREMOTESEARCHQUERY_H
|
|
||||||
#define JELLYFIN_DTO_BOXSETINFOREMOTESEARCHQUERY_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/boxsetinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BoxSetInfoRemoteSearchQuery {
|
|
||||||
public:BoxSetInfoRemoteSearchQuery();BoxSetInfoRemoteSearchQuery(const BoxSetInfoRemoteSearchQuery &other);
|
|
||||||
|
|
||||||
static BoxSetInfoRemoteSearchQuery fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<BoxSetInfo> searchInfo() const;
|
|
||||||
|
|
||||||
void setSearchInfo(QSharedPointer<BoxSetInfo> newSearchInfo);
|
|
||||||
|
|
||||||
QUuid itemId() const;
|
|
||||||
|
|
||||||
void setItemId(QUuid newItemId);
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
QString searchProviderName() const;
|
|
||||||
/**
|
|
||||||
* @brief Will only search within the given provider when set.
|
|
||||||
*/
|
|
||||||
void setSearchProviderName(QString newSearchProviderName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
bool includeDisabledProviders() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether disabled providers should be included.
|
|
||||||
*/
|
|
||||||
void setIncludeDisabledProviders(bool newIncludeDisabledProviders);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<BoxSetInfo> m_searchInfo = nullptr;
|
|
||||||
QUuid m_itemId;
|
|
||||||
QString m_searchProviderName;
|
|
||||||
bool m_includeDisabledProviders;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BOXSETINFOREMOTESEARCHQUERY_H
|
|
|
@ -1,77 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BRANDINGOPTIONS_H
|
|
||||||
#define JELLYFIN_DTO_BRANDINGOPTIONS_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BrandingOptions {
|
|
||||||
public:BrandingOptions();BrandingOptions(const BrandingOptions &other);
|
|
||||||
|
|
||||||
static BrandingOptions fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the login disclaimer.
|
|
||||||
*/
|
|
||||||
QString loginDisclaimer() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the login disclaimer.
|
|
||||||
*/
|
|
||||||
void setLoginDisclaimer(QString newLoginDisclaimer);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the custom CSS.
|
|
||||||
*/
|
|
||||||
QString customCss() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the custom CSS.
|
|
||||||
*/
|
|
||||||
void setCustomCss(QString newCustomCss);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_loginDisclaimer;
|
|
||||||
QString m_customCss;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BRANDINGOPTIONS_H
|
|
|
@ -1,96 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_BUFFERREQUESTDTO_H
|
|
||||||
#define JELLYFIN_DTO_BUFFERREQUESTDTO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class BufferRequestDto {
|
|
||||||
public:BufferRequestDto();BufferRequestDto(const BufferRequestDto &other);
|
|
||||||
|
|
||||||
static BufferRequestDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets when the request has been made by the client.
|
|
||||||
*/
|
|
||||||
QDateTime when() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets when the request has been made by the client.
|
|
||||||
*/
|
|
||||||
void setWhen(QDateTime newWhen);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the position ticks.
|
|
||||||
*/
|
|
||||||
qint64 positionTicks() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the position ticks.
|
|
||||||
*/
|
|
||||||
void setPositionTicks(qint64 newPositionTicks);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether the client playback is unpaused.
|
|
||||||
*/
|
|
||||||
bool isPlaying() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether the client playback is unpaused.
|
|
||||||
*/
|
|
||||||
void setIsPlaying(bool newIsPlaying);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the playlist item identifier of the playing item.
|
|
||||||
*/
|
|
||||||
QUuid playlistItemId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the playlist item identifier of the playing item.
|
|
||||||
*/
|
|
||||||
void setPlaylistItemId(QUuid newPlaylistItemId);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QDateTime m_when;
|
|
||||||
qint64 m_positionTicks;
|
|
||||||
bool m_isPlaying;
|
|
||||||
QUuid m_playlistItemId;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_BUFFERREQUESTDTO_H
|
|
|
@ -1,172 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CHANNELFEATURES_H
|
|
||||||
#define JELLYFIN_DTO_CHANNELFEATURES_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/channelitemsortfield.h"
|
|
||||||
#include "JellyfinQt/DTO/channelmediacontenttype.h"
|
|
||||||
#include "JellyfinQt/DTO/channelmediatype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ChannelFeatures {
|
|
||||||
public:ChannelFeatures();ChannelFeatures(const ChannelFeatures &other);
|
|
||||||
|
|
||||||
static ChannelFeatures fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
QString jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance can search.
|
|
||||||
*/
|
|
||||||
bool canSearch() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance can search.
|
|
||||||
*/
|
|
||||||
void setCanSearch(bool newCanSearch);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the media types.
|
|
||||||
*/
|
|
||||||
QList<ChannelMediaType> mediaTypes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the media types.
|
|
||||||
*/
|
|
||||||
void setMediaTypes(QList<ChannelMediaType> newMediaTypes);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the content types.
|
|
||||||
*/
|
|
||||||
QList<ChannelMediaContentType> contentTypes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the content types.
|
|
||||||
*/
|
|
||||||
void setContentTypes(QList<ChannelMediaContentType> newContentTypes);
|
|
||||||
/**
|
|
||||||
* @brief Represents the maximum number of records the channel allows retrieving at a time.
|
|
||||||
*/
|
|
||||||
qint32 maxPageSize() const;
|
|
||||||
/**
|
|
||||||
* @brief Represents the maximum number of records the channel allows retrieving at a time.
|
|
||||||
*/
|
|
||||||
void setMaxPageSize(qint32 newMaxPageSize);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the automatic refresh levels.
|
|
||||||
*/
|
|
||||||
qint32 autoRefreshLevels() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the automatic refresh levels.
|
|
||||||
*/
|
|
||||||
void setAutoRefreshLevels(qint32 newAutoRefreshLevels);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the default sort orders.
|
|
||||||
*/
|
|
||||||
QList<ChannelItemSortField> defaultSortFields() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the default sort orders.
|
|
||||||
*/
|
|
||||||
void setDefaultSortFields(QList<ChannelItemSortField> newDefaultSortFields);
|
|
||||||
/**
|
|
||||||
* @brief Indicates if a sort ascending/descending toggle is supported or not.
|
|
||||||
*/
|
|
||||||
bool supportsSortOrderToggle() const;
|
|
||||||
/**
|
|
||||||
* @brief Indicates if a sort ascending/descending toggle is supported or not.
|
|
||||||
*/
|
|
||||||
void setSupportsSortOrderToggle(bool newSupportsSortOrderToggle);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [supports latest media].
|
|
||||||
*/
|
|
||||||
bool supportsLatestMedia() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [supports latest media].
|
|
||||||
*/
|
|
||||||
void setSupportsLatestMedia(bool newSupportsLatestMedia);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance can filter.
|
|
||||||
*/
|
|
||||||
bool canFilter() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance can filter.
|
|
||||||
*/
|
|
||||||
void setCanFilter(bool newCanFilter);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [supports content downloading].
|
|
||||||
*/
|
|
||||||
bool supportsContentDownloading() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [supports content downloading].
|
|
||||||
*/
|
|
||||||
void setSupportsContentDownloading(bool newSupportsContentDownloading);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_jellyfinId;
|
|
||||||
bool m_canSearch;
|
|
||||||
QList<ChannelMediaType> m_mediaTypes;
|
|
||||||
QList<ChannelMediaContentType> m_contentTypes;
|
|
||||||
qint32 m_maxPageSize;
|
|
||||||
qint32 m_autoRefreshLevels;
|
|
||||||
QList<ChannelItemSortField> m_defaultSortFields;
|
|
||||||
bool m_supportsSortOrderToggle;
|
|
||||||
bool m_supportsLatestMedia;
|
|
||||||
bool m_canFilter;
|
|
||||||
bool m_supportsContentDownloading;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CHANNELFEATURES_H
|
|
|
@ -1,101 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CHANNELMAPPINGOPTIONSDTO_H
|
|
||||||
#define JELLYFIN_DTO_CHANNELMAPPINGOPTIONSDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/nameidpair.h"
|
|
||||||
#include "JellyfinQt/DTO/namevaluepair.h"
|
|
||||||
#include "JellyfinQt/DTO/tunerchannelmapping.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ChannelMappingOptionsDto {
|
|
||||||
public:ChannelMappingOptionsDto();ChannelMappingOptionsDto(const ChannelMappingOptionsDto &other);
|
|
||||||
|
|
||||||
static ChannelMappingOptionsDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets list of tuner channels.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<TunerChannelMapping>> tunerChannels() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets list of tuner channels.
|
|
||||||
*/
|
|
||||||
void setTunerChannels(QList<QSharedPointer<TunerChannelMapping>> newTunerChannels);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets list of provider channels.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<NameIdPair>> providerChannels() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets list of provider channels.
|
|
||||||
*/
|
|
||||||
void setProviderChannels(QList<QSharedPointer<NameIdPair>> newProviderChannels);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets list of mappings.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<NameValuePair>> mappings() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets list of mappings.
|
|
||||||
*/
|
|
||||||
void setMappings(QList<QSharedPointer<NameValuePair>> newMappings);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets provider name.
|
|
||||||
*/
|
|
||||||
QString providerName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets provider name.
|
|
||||||
*/
|
|
||||||
void setProviderName(QString newProviderName);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<TunerChannelMapping>> m_tunerChannels;
|
|
||||||
QList<QSharedPointer<NameIdPair>> m_providerChannels;
|
|
||||||
QList<QSharedPointer<NameValuePair>> m_mappings;
|
|
||||||
QString m_providerName;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CHANNELMAPPINGOPTIONSDTO_H
|
|
|
@ -1,66 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CHANNELMEDIACONTENTTYPE_H
|
|
||||||
#define JELLYFIN_DTO_CHANNELMEDIACONTENTTYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class ChannelMediaContentTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Clip,
|
|
||||||
Podcast,
|
|
||||||
Trailer,
|
|
||||||
Movie,
|
|
||||||
Episode,
|
|
||||||
Song,
|
|
||||||
MovieExtra,
|
|
||||||
TvExtra,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit ChannelMediaContentTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef ChannelMediaContentTypeClass::Value ChannelMediaContentType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CHANNELMEDIACONTENTTYPE_H
|
|
|
@ -1,97 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CHAPTERINFO_H
|
|
||||||
#define JELLYFIN_DTO_CHAPTERINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ChapterInfo {
|
|
||||||
public:ChapterInfo();ChapterInfo(const ChapterInfo &other);
|
|
||||||
|
|
||||||
static ChapterInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the start position ticks.
|
|
||||||
*/
|
|
||||||
qint64 startPositionTicks() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the start position ticks.
|
|
||||||
*/
|
|
||||||
void setStartPositionTicks(qint64 newStartPositionTicks);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image path.
|
|
||||||
*/
|
|
||||||
QString imagePath() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image path.
|
|
||||||
*/
|
|
||||||
void setImagePath(QString newImagePath);
|
|
||||||
|
|
||||||
QDateTime imageDateModified() const;
|
|
||||||
|
|
||||||
void setImageDateModified(QDateTime newImageDateModified);
|
|
||||||
|
|
||||||
QString imageTag() const;
|
|
||||||
|
|
||||||
void setImageTag(QString newImageTag);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
qint64 m_startPositionTicks;
|
|
||||||
QString m_name;
|
|
||||||
QString m_imagePath;
|
|
||||||
QDateTime m_imageDateModified;
|
|
||||||
QString m_imageTag;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CHAPTERINFO_H
|
|
|
@ -1,114 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CLIENTCAPABILITIES_H
|
|
||||||
#define JELLYFIN_DTO_CLIENTCAPABILITIES_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/deviceprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/generalcommandtype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ClientCapabilities {
|
|
||||||
public:ClientCapabilities();ClientCapabilities(const ClientCapabilities &other);
|
|
||||||
|
|
||||||
static ClientCapabilities fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QStringList playableMediaTypes() const;
|
|
||||||
|
|
||||||
void setPlayableMediaTypes(QStringList newPlayableMediaTypes);
|
|
||||||
|
|
||||||
QList<GeneralCommandType> supportedCommands() const;
|
|
||||||
|
|
||||||
void setSupportedCommands(QList<GeneralCommandType> newSupportedCommands);
|
|
||||||
|
|
||||||
bool supportsMediaControl() const;
|
|
||||||
|
|
||||||
void setSupportsMediaControl(bool newSupportsMediaControl);
|
|
||||||
|
|
||||||
bool supportsContentUploading() const;
|
|
||||||
|
|
||||||
void setSupportsContentUploading(bool newSupportsContentUploading);
|
|
||||||
|
|
||||||
QString messageCallbackUrl() const;
|
|
||||||
|
|
||||||
void setMessageCallbackUrl(QString newMessageCallbackUrl);
|
|
||||||
|
|
||||||
bool supportsPersistentIdentifier() const;
|
|
||||||
|
|
||||||
void setSupportsPersistentIdentifier(bool newSupportsPersistentIdentifier);
|
|
||||||
|
|
||||||
bool supportsSync() const;
|
|
||||||
|
|
||||||
void setSupportsSync(bool newSupportsSync);
|
|
||||||
|
|
||||||
QSharedPointer<DeviceProfile> deviceProfile() const;
|
|
||||||
|
|
||||||
void setDeviceProfile(QSharedPointer<DeviceProfile> newDeviceProfile);
|
|
||||||
|
|
||||||
QString appStoreUrl() const;
|
|
||||||
|
|
||||||
void setAppStoreUrl(QString newAppStoreUrl);
|
|
||||||
|
|
||||||
QString iconUrl() const;
|
|
||||||
|
|
||||||
void setIconUrl(QString newIconUrl);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QStringList m_playableMediaTypes;
|
|
||||||
QList<GeneralCommandType> m_supportedCommands;
|
|
||||||
bool m_supportsMediaControl;
|
|
||||||
bool m_supportsContentUploading;
|
|
||||||
QString m_messageCallbackUrl;
|
|
||||||
bool m_supportsPersistentIdentifier;
|
|
||||||
bool m_supportsSync;
|
|
||||||
QSharedPointer<DeviceProfile> m_deviceProfile = nullptr;
|
|
||||||
QString m_appStoreUrl;
|
|
||||||
QString m_iconUrl;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CLIENTCAPABILITIES_H
|
|
|
@ -1,150 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CLIENTCAPABILITIESDTO_H
|
|
||||||
#define JELLYFIN_DTO_CLIENTCAPABILITIESDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/deviceprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/generalcommandtype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ClientCapabilitiesDto {
|
|
||||||
public:ClientCapabilitiesDto();ClientCapabilitiesDto(const ClientCapabilitiesDto &other);
|
|
||||||
|
|
||||||
static ClientCapabilitiesDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the list of playable media types.
|
|
||||||
*/
|
|
||||||
QStringList playableMediaTypes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the list of playable media types.
|
|
||||||
*/
|
|
||||||
void setPlayableMediaTypes(QStringList newPlayableMediaTypes);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the list of supported commands.
|
|
||||||
*/
|
|
||||||
QList<GeneralCommandType> supportedCommands() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the list of supported commands.
|
|
||||||
*/
|
|
||||||
void setSupportedCommands(QList<GeneralCommandType> newSupportedCommands);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports media control.
|
|
||||||
*/
|
|
||||||
bool supportsMediaControl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports media control.
|
|
||||||
*/
|
|
||||||
void setSupportsMediaControl(bool newSupportsMediaControl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports content uploading.
|
|
||||||
*/
|
|
||||||
bool supportsContentUploading() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports content uploading.
|
|
||||||
*/
|
|
||||||
void setSupportsContentUploading(bool newSupportsContentUploading);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the message callback url.
|
|
||||||
*/
|
|
||||||
QString messageCallbackUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the message callback url.
|
|
||||||
*/
|
|
||||||
void setMessageCallbackUrl(QString newMessageCallbackUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports a persistent identifier.
|
|
||||||
*/
|
|
||||||
bool supportsPersistentIdentifier() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports a persistent identifier.
|
|
||||||
*/
|
|
||||||
void setSupportsPersistentIdentifier(bool newSupportsPersistentIdentifier);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports sync.
|
|
||||||
*/
|
|
||||||
bool supportsSync() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether session supports sync.
|
|
||||||
*/
|
|
||||||
void setSupportsSync(bool newSupportsSync);
|
|
||||||
|
|
||||||
QSharedPointer<DeviceProfile> deviceProfile() const;
|
|
||||||
|
|
||||||
void setDeviceProfile(QSharedPointer<DeviceProfile> newDeviceProfile);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the app store url.
|
|
||||||
*/
|
|
||||||
QString appStoreUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the app store url.
|
|
||||||
*/
|
|
||||||
void setAppStoreUrl(QString newAppStoreUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the icon url.
|
|
||||||
*/
|
|
||||||
QString iconUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the icon url.
|
|
||||||
*/
|
|
||||||
void setIconUrl(QString newIconUrl);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QStringList m_playableMediaTypes;
|
|
||||||
QList<GeneralCommandType> m_supportedCommands;
|
|
||||||
bool m_supportsMediaControl;
|
|
||||||
bool m_supportsContentUploading;
|
|
||||||
QString m_messageCallbackUrl;
|
|
||||||
bool m_supportsPersistentIdentifier;
|
|
||||||
bool m_supportsSync;
|
|
||||||
QSharedPointer<DeviceProfile> m_deviceProfile = nullptr;
|
|
||||||
QString m_appStoreUrl;
|
|
||||||
QString m_iconUrl;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CLIENTCAPABILITIESDTO_H
|
|
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CODECPROFILE_H
|
|
||||||
#define JELLYFIN_DTO_CODECPROFILE_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/codectype.h"
|
|
||||||
#include "JellyfinQt/DTO/profilecondition.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class CodecProfile {
|
|
||||||
public:CodecProfile();CodecProfile(const CodecProfile &other);
|
|
||||||
|
|
||||||
static CodecProfile fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
CodecType type() const;
|
|
||||||
|
|
||||||
void setType(CodecType newType);
|
|
||||||
|
|
||||||
QList<QSharedPointer<ProfileCondition>> conditions() const;
|
|
||||||
|
|
||||||
void setConditions(QList<QSharedPointer<ProfileCondition>> newConditions);
|
|
||||||
|
|
||||||
QList<QSharedPointer<ProfileCondition>> applyConditions() const;
|
|
||||||
|
|
||||||
void setApplyConditions(QList<QSharedPointer<ProfileCondition>> newApplyConditions);
|
|
||||||
|
|
||||||
QString codec() const;
|
|
||||||
|
|
||||||
void setCodec(QString newCodec);
|
|
||||||
|
|
||||||
QString container() const;
|
|
||||||
|
|
||||||
void setContainer(QString newContainer);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
CodecType m_type;
|
|
||||||
QList<QSharedPointer<ProfileCondition>> m_conditions;
|
|
||||||
QList<QSharedPointer<ProfileCondition>> m_applyConditions;
|
|
||||||
QString m_codec;
|
|
||||||
QString m_container;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CODECPROFILE_H
|
|
|
@ -1,64 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_COLLECTIONCREATIONRESULT_H
|
|
||||||
#define JELLYFIN_DTO_COLLECTIONCREATIONRESULT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class CollectionCreationResult {
|
|
||||||
public:CollectionCreationResult();CollectionCreationResult(const CollectionCreationResult &other);
|
|
||||||
|
|
||||||
static CollectionCreationResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QUuid jellyfinId() const;
|
|
||||||
|
|
||||||
void setJellyfinId(QUuid newJellyfinId);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QUuid m_jellyfinId;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_COLLECTIONCREATIONRESULT_H
|
|
|
@ -1,120 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CONFIGURATIONPAGEINFO_H
|
|
||||||
#define JELLYFIN_DTO_CONFIGURATIONPAGEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/configurationpagetype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ConfigurationPageInfo {
|
|
||||||
public:ConfigurationPageInfo();ConfigurationPageInfo(const ConfigurationPageInfo &other);
|
|
||||||
|
|
||||||
static ConfigurationPageInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether the configurations page is enabled in the main menu.
|
|
||||||
*/
|
|
||||||
bool enableInMainMenu() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether the configurations page is enabled in the main menu.
|
|
||||||
*/
|
|
||||||
void setEnableInMainMenu(bool newEnableInMainMenu);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the menu section.
|
|
||||||
*/
|
|
||||||
QString menuSection() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the menu section.
|
|
||||||
*/
|
|
||||||
void setMenuSection(QString newMenuSection);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the menu icon.
|
|
||||||
*/
|
|
||||||
QString menuIcon() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the menu icon.
|
|
||||||
*/
|
|
||||||
void setMenuIcon(QString newMenuIcon);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name.
|
|
||||||
*/
|
|
||||||
QString displayName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name.
|
|
||||||
*/
|
|
||||||
void setDisplayName(QString newDisplayName);
|
|
||||||
|
|
||||||
ConfigurationPageType configurationPageType() const;
|
|
||||||
|
|
||||||
void setConfigurationPageType(ConfigurationPageType newConfigurationPageType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the plugin id.
|
|
||||||
*/
|
|
||||||
QUuid pluginId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the plugin id.
|
|
||||||
*/
|
|
||||||
void setPluginId(QUuid newPluginId);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
bool m_enableInMainMenu;
|
|
||||||
QString m_menuSection;
|
|
||||||
QString m_menuIcon;
|
|
||||||
QString m_displayName;
|
|
||||||
ConfigurationPageType m_configurationPageType;
|
|
||||||
QUuid m_pluginId;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CONFIGURATIONPAGEINFO_H
|
|
|
@ -1,79 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CONTAINERPROFILE_H
|
|
||||||
#define JELLYFIN_DTO_CONTAINERPROFILE_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/dlnaprofiletype.h"
|
|
||||||
#include "JellyfinQt/DTO/profilecondition.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ContainerProfile {
|
|
||||||
public:ContainerProfile();ContainerProfile(const ContainerProfile &other);
|
|
||||||
|
|
||||||
static ContainerProfile fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
DlnaProfileType type() const;
|
|
||||||
|
|
||||||
void setType(DlnaProfileType newType);
|
|
||||||
|
|
||||||
QList<QSharedPointer<ProfileCondition>> conditions() const;
|
|
||||||
|
|
||||||
void setConditions(QList<QSharedPointer<ProfileCondition>> newConditions);
|
|
||||||
|
|
||||||
QString container() const;
|
|
||||||
|
|
||||||
void setContainer(QString newContainer);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
DlnaProfileType m_type;
|
|
||||||
QList<QSharedPointer<ProfileCondition>> m_conditions;
|
|
||||||
QString m_container;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CONTAINERPROFILE_H
|
|
|
@ -1,95 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_COUNTRYINFO_H
|
|
||||||
#define JELLYFIN_DTO_COUNTRYINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class CountryInfo {
|
|
||||||
public:CountryInfo();CountryInfo(const CountryInfo &other);
|
|
||||||
|
|
||||||
static CountryInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name.
|
|
||||||
*/
|
|
||||||
QString displayName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name.
|
|
||||||
*/
|
|
||||||
void setDisplayName(QString newDisplayName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the two letter ISO region.
|
|
||||||
*/
|
|
||||||
QString twoLetterISORegionName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the two letter ISO region.
|
|
||||||
*/
|
|
||||||
void setTwoLetterISORegionName(QString newTwoLetterISORegionName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the three letter ISO region.
|
|
||||||
*/
|
|
||||||
QString threeLetterISORegionName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the three letter ISO region.
|
|
||||||
*/
|
|
||||||
void setThreeLetterISORegionName(QString newThreeLetterISORegionName);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_displayName;
|
|
||||||
QString m_twoLetterISORegionName;
|
|
||||||
QString m_threeLetterISORegionName;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_COUNTRYINFO_H
|
|
|
@ -1,98 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CREATEPLAYLISTDTO_H
|
|
||||||
#define JELLYFIN_DTO_CREATEPLAYLISTDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class CreatePlaylistDto {
|
|
||||||
public:CreatePlaylistDto();CreatePlaylistDto(const CreatePlaylistDto &other);
|
|
||||||
|
|
||||||
static CreatePlaylistDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the new playlist.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the new playlist.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets item ids to add to the playlist.
|
|
||||||
*/
|
|
||||||
QList<QUuid> ids() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets item ids to add to the playlist.
|
|
||||||
*/
|
|
||||||
void setIds(QList<QUuid> newIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user id.
|
|
||||||
*/
|
|
||||||
QUuid userId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user id.
|
|
||||||
*/
|
|
||||||
void setUserId(QUuid newUserId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the media type.
|
|
||||||
*/
|
|
||||||
QString mediaType() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the media type.
|
|
||||||
*/
|
|
||||||
void setMediaType(QString newMediaType);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QList<QUuid> m_ids;
|
|
||||||
QUuid m_userId;
|
|
||||||
QString m_mediaType;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CREATEPLAYLISTDTO_H
|
|
|
@ -1,77 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CREATEUSERBYNAME_H
|
|
||||||
#define JELLYFIN_DTO_CREATEUSERBYNAME_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class CreateUserByName {
|
|
||||||
public:CreateUserByName();CreateUserByName(const CreateUserByName &other);
|
|
||||||
|
|
||||||
static CreateUserByName fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the username.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the username.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the password.
|
|
||||||
*/
|
|
||||||
QString password() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the password.
|
|
||||||
*/
|
|
||||||
void setPassword(QString newPassword);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_password;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CREATEUSERBYNAME_H
|
|
|
@ -1,102 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_CULTUREDTO_H
|
|
||||||
#define JELLYFIN_DTO_CULTUREDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class CultureDto {
|
|
||||||
public:CultureDto();CultureDto(const CultureDto &other);
|
|
||||||
|
|
||||||
static CultureDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name.
|
|
||||||
*/
|
|
||||||
QString displayName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name.
|
|
||||||
*/
|
|
||||||
void setDisplayName(QString newDisplayName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the two letter ISO language.
|
|
||||||
*/
|
|
||||||
QString twoLetterISOLanguageName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the two letter ISO language.
|
|
||||||
*/
|
|
||||||
void setTwoLetterISOLanguageName(QString newTwoLetterISOLanguageName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the three letter ISO language.
|
|
||||||
*/
|
|
||||||
QString threeLetterISOLanguageName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the three letter ISO language.
|
|
||||||
*/
|
|
||||||
void setThreeLetterISOLanguageName(QString newThreeLetterISOLanguageName);
|
|
||||||
|
|
||||||
QStringList threeLetterISOLanguageNames() const;
|
|
||||||
|
|
||||||
void setThreeLetterISOLanguageNames(QStringList newThreeLetterISOLanguageNames);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_displayName;
|
|
||||||
QString m_twoLetterISOLanguageName;
|
|
||||||
QString m_threeLetterISOLanguageName;
|
|
||||||
QStringList m_threeLetterISOLanguageNames;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_CULTUREDTO_H
|
|
|
@ -1,65 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DAYOFWEEK_H
|
|
||||||
#define JELLYFIN_DTO_DAYOFWEEK_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class DayOfWeekClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Sunday,
|
|
||||||
Monday,
|
|
||||||
Tuesday,
|
|
||||||
Wednesday,
|
|
||||||
Thursday,
|
|
||||||
Friday,
|
|
||||||
Saturday,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit DayOfWeekClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef DayOfWeekClass::Value DayOfWeek;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DAYOFWEEK_H
|
|
|
@ -1,68 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEFAULTDIRECTORYBROWSERINFODTO_H
|
|
||||||
#define JELLYFIN_DTO_DEFAULTDIRECTORYBROWSERINFODTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DefaultDirectoryBrowserInfoDto {
|
|
||||||
public:DefaultDirectoryBrowserInfoDto();DefaultDirectoryBrowserInfoDto(const DefaultDirectoryBrowserInfoDto &other);
|
|
||||||
|
|
||||||
static DefaultDirectoryBrowserInfoDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_path;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEFAULTDIRECTORYBROWSERINFODTO_H
|
|
|
@ -1,144 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEVICEIDENTIFICATION_H
|
|
||||||
#define JELLYFIN_DTO_DEVICEIDENTIFICATION_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/httpheaderinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DeviceIdentification {
|
|
||||||
public:DeviceIdentification();DeviceIdentification(const DeviceIdentification &other);
|
|
||||||
|
|
||||||
static DeviceIdentification fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the friendly.
|
|
||||||
*/
|
|
||||||
QString friendlyName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the friendly.
|
|
||||||
*/
|
|
||||||
void setFriendlyName(QString newFriendlyName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the model number.
|
|
||||||
*/
|
|
||||||
QString modelNumber() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the model number.
|
|
||||||
*/
|
|
||||||
void setModelNumber(QString newModelNumber);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the serial number.
|
|
||||||
*/
|
|
||||||
QString serialNumber() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the serial number.
|
|
||||||
*/
|
|
||||||
void setSerialNumber(QString newSerialNumber);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the model.
|
|
||||||
*/
|
|
||||||
QString modelName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the model.
|
|
||||||
*/
|
|
||||||
void setModelName(QString newModelName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the model description.
|
|
||||||
*/
|
|
||||||
QString modelDescription() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the model description.
|
|
||||||
*/
|
|
||||||
void setModelDescription(QString newModelDescription);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the model URL.
|
|
||||||
*/
|
|
||||||
QString modelUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the model URL.
|
|
||||||
*/
|
|
||||||
void setModelUrl(QString newModelUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the manufacturer.
|
|
||||||
*/
|
|
||||||
QString manufacturer() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the manufacturer.
|
|
||||||
*/
|
|
||||||
void setManufacturer(QString newManufacturer);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the manufacturer URL.
|
|
||||||
*/
|
|
||||||
QString manufacturerUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the manufacturer URL.
|
|
||||||
*/
|
|
||||||
void setManufacturerUrl(QString newManufacturerUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the headers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<HttpHeaderInfo>> headers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the headers.
|
|
||||||
*/
|
|
||||||
void setHeaders(QList<QSharedPointer<HttpHeaderInfo>> newHeaders);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_friendlyName;
|
|
||||||
QString m_modelNumber;
|
|
||||||
QString m_serialNumber;
|
|
||||||
QString m_modelName;
|
|
||||||
QString m_modelDescription;
|
|
||||||
QString m_modelUrl;
|
|
||||||
QString m_manufacturer;
|
|
||||||
QString m_manufacturerUrl;
|
|
||||||
QList<QSharedPointer<HttpHeaderInfo>> m_headers;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEVICEIDENTIFICATION_H
|
|
|
@ -1,132 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEVICEINFO_H
|
|
||||||
#define JELLYFIN_DTO_DEVICEINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/clientcapabilities.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DeviceInfo {
|
|
||||||
public:DeviceInfo();DeviceInfo(const DeviceInfo &other);
|
|
||||||
|
|
||||||
static DeviceInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QString name() const;
|
|
||||||
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
QString jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the last name of the user.
|
|
||||||
*/
|
|
||||||
QString lastUserName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the last name of the user.
|
|
||||||
*/
|
|
||||||
void setLastUserName(QString newLastUserName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the application.
|
|
||||||
*/
|
|
||||||
QString appName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the application.
|
|
||||||
*/
|
|
||||||
void setAppName(QString newAppName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the application version.
|
|
||||||
*/
|
|
||||||
QString appVersion() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the application version.
|
|
||||||
*/
|
|
||||||
void setAppVersion(QString newAppVersion);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the last user identifier.
|
|
||||||
*/
|
|
||||||
QUuid lastUserId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the last user identifier.
|
|
||||||
*/
|
|
||||||
void setLastUserId(QUuid newLastUserId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date last modified.
|
|
||||||
*/
|
|
||||||
QDateTime dateLastActivity() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date last modified.
|
|
||||||
*/
|
|
||||||
void setDateLastActivity(QDateTime newDateLastActivity);
|
|
||||||
|
|
||||||
QSharedPointer<ClientCapabilities> capabilities() const;
|
|
||||||
|
|
||||||
void setCapabilities(QSharedPointer<ClientCapabilities> newCapabilities);
|
|
||||||
|
|
||||||
QString iconUrl() const;
|
|
||||||
|
|
||||||
void setIconUrl(QString newIconUrl);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QString m_lastUserName;
|
|
||||||
QString m_appName;
|
|
||||||
QString m_appVersion;
|
|
||||||
QUuid m_lastUserId;
|
|
||||||
QDateTime m_dateLastActivity;
|
|
||||||
QSharedPointer<ClientCapabilities> m_capabilities = nullptr;
|
|
||||||
QString m_iconUrl;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEVICEINFO_H
|
|
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEVICEINFOQUERYRESULT_H
|
|
||||||
#define JELLYFIN_DTO_DEVICEINFOQUERYRESULT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/deviceinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DeviceInfoQueryResult {
|
|
||||||
public:DeviceInfoQueryResult();DeviceInfoQueryResult(const DeviceInfoQueryResult &other);
|
|
||||||
|
|
||||||
static DeviceInfoQueryResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<DeviceInfo>> items() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items.
|
|
||||||
*/
|
|
||||||
void setItems(QList<QSharedPointer<DeviceInfo>> newItems);
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
qint32 totalRecordCount() const;
|
|
||||||
/**
|
|
||||||
* @brief The total number of records available.
|
|
||||||
*/
|
|
||||||
void setTotalRecordCount(qint32 newTotalRecordCount);
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
qint32 startIndex() const;
|
|
||||||
/**
|
|
||||||
* @brief The index of the first record in Items.
|
|
||||||
*/
|
|
||||||
void setStartIndex(qint32 newStartIndex);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<DeviceInfo>> m_items;
|
|
||||||
qint32 m_totalRecordCount;
|
|
||||||
qint32 m_startIndex;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEVICEINFOQUERYRESULT_H
|
|
|
@ -1,417 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEVICEPROFILE_H
|
|
||||||
#define JELLYFIN_DTO_DEVICEPROFILE_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/codecprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/containerprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/deviceidentification.h"
|
|
||||||
#include "JellyfinQt/DTO/directplayprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/responseprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/subtitleprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/transcodingprofile.h"
|
|
||||||
#include "JellyfinQt/DTO/xmlattribute.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DeviceProfile {
|
|
||||||
public:DeviceProfile();DeviceProfile(const DeviceProfile &other);
|
|
||||||
|
|
||||||
static DeviceProfile fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Id.
|
|
||||||
*/
|
|
||||||
QString jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Id.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
|
|
||||||
QSharedPointer<DeviceIdentification> identification() const;
|
|
||||||
|
|
||||||
void setIdentification(QSharedPointer<DeviceIdentification> newIdentification);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the FriendlyName.
|
|
||||||
*/
|
|
||||||
QString friendlyName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the FriendlyName.
|
|
||||||
*/
|
|
||||||
void setFriendlyName(QString newFriendlyName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Manufacturer.
|
|
||||||
*/
|
|
||||||
QString manufacturer() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Manufacturer.
|
|
||||||
*/
|
|
||||||
void setManufacturer(QString newManufacturer);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ManufacturerUrl.
|
|
||||||
*/
|
|
||||||
QString manufacturerUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ManufacturerUrl.
|
|
||||||
*/
|
|
||||||
void setManufacturerUrl(QString newManufacturerUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelName.
|
|
||||||
*/
|
|
||||||
QString modelName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelName.
|
|
||||||
*/
|
|
||||||
void setModelName(QString newModelName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelDescription.
|
|
||||||
*/
|
|
||||||
QString modelDescription() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelDescription.
|
|
||||||
*/
|
|
||||||
void setModelDescription(QString newModelDescription);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelNumber.
|
|
||||||
*/
|
|
||||||
QString modelNumber() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelNumber.
|
|
||||||
*/
|
|
||||||
void setModelNumber(QString newModelNumber);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelUrl.
|
|
||||||
*/
|
|
||||||
QString modelUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ModelUrl.
|
|
||||||
*/
|
|
||||||
void setModelUrl(QString newModelUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the SerialNumber.
|
|
||||||
*/
|
|
||||||
QString serialNumber() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the SerialNumber.
|
|
||||||
*/
|
|
||||||
void setSerialNumber(QString newSerialNumber);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableAlbumArtInDidl.
|
|
||||||
*/
|
|
||||||
bool enableAlbumArtInDidl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableAlbumArtInDidl.
|
|
||||||
*/
|
|
||||||
void setEnableAlbumArtInDidl(bool newEnableAlbumArtInDidl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableSingleAlbumArtLimit.
|
|
||||||
*/
|
|
||||||
bool enableSingleAlbumArtLimit() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableSingleAlbumArtLimit.
|
|
||||||
*/
|
|
||||||
void setEnableSingleAlbumArtLimit(bool newEnableSingleAlbumArtLimit);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableSingleSubtitleLimit.
|
|
||||||
*/
|
|
||||||
bool enableSingleSubtitleLimit() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableSingleSubtitleLimit.
|
|
||||||
*/
|
|
||||||
void setEnableSingleSubtitleLimit(bool newEnableSingleSubtitleLimit);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the SupportedMediaTypes.
|
|
||||||
*/
|
|
||||||
QString supportedMediaTypes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the SupportedMediaTypes.
|
|
||||||
*/
|
|
||||||
void setSupportedMediaTypes(QString newSupportedMediaTypes);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the UserId.
|
|
||||||
*/
|
|
||||||
QString userId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the UserId.
|
|
||||||
*/
|
|
||||||
void setUserId(QString newUserId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the AlbumArtPn.
|
|
||||||
*/
|
|
||||||
QString albumArtPn() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the AlbumArtPn.
|
|
||||||
*/
|
|
||||||
void setAlbumArtPn(QString newAlbumArtPn);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxAlbumArtWidth.
|
|
||||||
*/
|
|
||||||
qint32 maxAlbumArtWidth() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxAlbumArtWidth.
|
|
||||||
*/
|
|
||||||
void setMaxAlbumArtWidth(qint32 newMaxAlbumArtWidth);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxAlbumArtHeight.
|
|
||||||
*/
|
|
||||||
qint32 maxAlbumArtHeight() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxAlbumArtHeight.
|
|
||||||
*/
|
|
||||||
void setMaxAlbumArtHeight(qint32 newMaxAlbumArtHeight);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxIconWidth.
|
|
||||||
*/
|
|
||||||
qint32 maxIconWidth() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxIconWidth.
|
|
||||||
*/
|
|
||||||
void setMaxIconWidth(qint32 newMaxIconWidth);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxIconHeight.
|
|
||||||
*/
|
|
||||||
qint32 maxIconHeight() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxIconHeight.
|
|
||||||
*/
|
|
||||||
void setMaxIconHeight(qint32 newMaxIconHeight);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxStreamingBitrate.
|
|
||||||
*/
|
|
||||||
qint32 maxStreamingBitrate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxStreamingBitrate.
|
|
||||||
*/
|
|
||||||
void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxStaticBitrate.
|
|
||||||
*/
|
|
||||||
qint32 maxStaticBitrate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxStaticBitrate.
|
|
||||||
*/
|
|
||||||
void setMaxStaticBitrate(qint32 newMaxStaticBitrate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MusicStreamingTranscodingBitrate.
|
|
||||||
*/
|
|
||||||
qint32 musicStreamingTranscodingBitrate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MusicStreamingTranscodingBitrate.
|
|
||||||
*/
|
|
||||||
void setMusicStreamingTranscodingBitrate(qint32 newMusicStreamingTranscodingBitrate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxStaticMusicBitrate.
|
|
||||||
*/
|
|
||||||
qint32 maxStaticMusicBitrate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MaxStaticMusicBitrate.
|
|
||||||
*/
|
|
||||||
void setMaxStaticMusicBitrate(qint32 newMaxStaticMusicBitrate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace.
|
|
||||||
*/
|
|
||||||
QString sonyAggregationFlags() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace.
|
|
||||||
*/
|
|
||||||
void setSonyAggregationFlags(QString newSonyAggregationFlags);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ProtocolInfo.
|
|
||||||
*/
|
|
||||||
QString protocolInfo() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ProtocolInfo.
|
|
||||||
*/
|
|
||||||
void setProtocolInfo(QString newProtocolInfo);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the TimelineOffsetSeconds.
|
|
||||||
*/
|
|
||||||
qint32 timelineOffsetSeconds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the TimelineOffsetSeconds.
|
|
||||||
*/
|
|
||||||
void setTimelineOffsetSeconds(qint32 newTimelineOffsetSeconds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether RequiresPlainVideoItems.
|
|
||||||
*/
|
|
||||||
bool requiresPlainVideoItems() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether RequiresPlainVideoItems.
|
|
||||||
*/
|
|
||||||
void setRequiresPlainVideoItems(bool newRequiresPlainVideoItems);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether RequiresPlainFolders.
|
|
||||||
*/
|
|
||||||
bool requiresPlainFolders() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether RequiresPlainFolders.
|
|
||||||
*/
|
|
||||||
void setRequiresPlainFolders(bool newRequiresPlainFolders);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar.
|
|
||||||
*/
|
|
||||||
bool enableMSMediaReceiverRegistrar() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar.
|
|
||||||
*/
|
|
||||||
void setEnableMSMediaReceiverRegistrar(bool newEnableMSMediaReceiverRegistrar);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests.
|
|
||||||
*/
|
|
||||||
bool ignoreTranscodeByteRangeRequests() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests.
|
|
||||||
*/
|
|
||||||
void setIgnoreTranscodeByteRangeRequests(bool newIgnoreTranscodeByteRangeRequests);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the XmlRootAttributes.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<XmlAttribute>> xmlRootAttributes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the XmlRootAttributes.
|
|
||||||
*/
|
|
||||||
void setXmlRootAttributes(QList<QSharedPointer<XmlAttribute>> newXmlRootAttributes);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the direct play profiles.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<DirectPlayProfile>> directPlayProfiles() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the direct play profiles.
|
|
||||||
*/
|
|
||||||
void setDirectPlayProfiles(QList<QSharedPointer<DirectPlayProfile>> newDirectPlayProfiles);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the transcoding profiles.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<TranscodingProfile>> transcodingProfiles() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the transcoding profiles.
|
|
||||||
*/
|
|
||||||
void setTranscodingProfiles(QList<QSharedPointer<TranscodingProfile>> newTranscodingProfiles);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ContainerProfiles.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<ContainerProfile>> containerProfiles() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ContainerProfiles.
|
|
||||||
*/
|
|
||||||
void setContainerProfiles(QList<QSharedPointer<ContainerProfile>> newContainerProfiles);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the CodecProfiles.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<CodecProfile>> codecProfiles() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the CodecProfiles.
|
|
||||||
*/
|
|
||||||
void setCodecProfiles(QList<QSharedPointer<CodecProfile>> newCodecProfiles);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ResponseProfiles.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<ResponseProfile>> responseProfiles() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the ResponseProfiles.
|
|
||||||
*/
|
|
||||||
void setResponseProfiles(QList<QSharedPointer<ResponseProfile>> newResponseProfiles);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the SubtitleProfiles.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<SubtitleProfile>> subtitleProfiles() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the SubtitleProfiles.
|
|
||||||
*/
|
|
||||||
void setSubtitleProfiles(QList<QSharedPointer<SubtitleProfile>> newSubtitleProfiles);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QSharedPointer<DeviceIdentification> m_identification = nullptr;
|
|
||||||
QString m_friendlyName;
|
|
||||||
QString m_manufacturer;
|
|
||||||
QString m_manufacturerUrl;
|
|
||||||
QString m_modelName;
|
|
||||||
QString m_modelDescription;
|
|
||||||
QString m_modelNumber;
|
|
||||||
QString m_modelUrl;
|
|
||||||
QString m_serialNumber;
|
|
||||||
bool m_enableAlbumArtInDidl;
|
|
||||||
bool m_enableSingleAlbumArtLimit;
|
|
||||||
bool m_enableSingleSubtitleLimit;
|
|
||||||
QString m_supportedMediaTypes;
|
|
||||||
QString m_userId;
|
|
||||||
QString m_albumArtPn;
|
|
||||||
qint32 m_maxAlbumArtWidth;
|
|
||||||
qint32 m_maxAlbumArtHeight;
|
|
||||||
qint32 m_maxIconWidth;
|
|
||||||
qint32 m_maxIconHeight;
|
|
||||||
qint32 m_maxStreamingBitrate;
|
|
||||||
qint32 m_maxStaticBitrate;
|
|
||||||
qint32 m_musicStreamingTranscodingBitrate;
|
|
||||||
qint32 m_maxStaticMusicBitrate;
|
|
||||||
QString m_sonyAggregationFlags;
|
|
||||||
QString m_protocolInfo;
|
|
||||||
qint32 m_timelineOffsetSeconds;
|
|
||||||
bool m_requiresPlainVideoItems;
|
|
||||||
bool m_requiresPlainFolders;
|
|
||||||
bool m_enableMSMediaReceiverRegistrar;
|
|
||||||
bool m_ignoreTranscodeByteRangeRequests;
|
|
||||||
QList<QSharedPointer<XmlAttribute>> m_xmlRootAttributes;
|
|
||||||
QList<QSharedPointer<DirectPlayProfile>> m_directPlayProfiles;
|
|
||||||
QList<QSharedPointer<TranscodingProfile>> m_transcodingProfiles;
|
|
||||||
QList<QSharedPointer<ContainerProfile>> m_containerProfiles;
|
|
||||||
QList<QSharedPointer<CodecProfile>> m_codecProfiles;
|
|
||||||
QList<QSharedPointer<ResponseProfile>> m_responseProfiles;
|
|
||||||
QList<QSharedPointer<SubtitleProfile>> m_subtitleProfiles;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEVICEPROFILE_H
|
|
|
@ -1,83 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEVICEPROFILEINFO_H
|
|
||||||
#define JELLYFIN_DTO_DEVICEPROFILEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/deviceprofiletype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DeviceProfileInfo {
|
|
||||||
public:DeviceProfileInfo();DeviceProfileInfo(const DeviceProfileInfo &other);
|
|
||||||
|
|
||||||
static DeviceProfileInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
QString jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the identifier.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
|
|
||||||
DeviceProfileType type() const;
|
|
||||||
|
|
||||||
void setType(DeviceProfileType newType);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QString m_name;
|
|
||||||
DeviceProfileType m_type;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEVICEPROFILEINFO_H
|
|
|
@ -1,60 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DEVICEPROFILETYPE_H
|
|
||||||
#define JELLYFIN_DTO_DEVICEPROFILETYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class DeviceProfileTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
System,
|
|
||||||
User,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit DeviceProfileTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef DeviceProfileTypeClass::Value DeviceProfileType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DEVICEPROFILETYPE_H
|
|
|
@ -1,179 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DISPLAYPREFERENCESDTO_H
|
|
||||||
#define JELLYFIN_DTO_DISPLAYPREFERENCESDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/scrolldirection.h"
|
|
||||||
#include "JellyfinQt/DTO/sortorder.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class DisplayPreferencesDto {
|
|
||||||
public:DisplayPreferencesDto();DisplayPreferencesDto(const DisplayPreferencesDto &other);
|
|
||||||
|
|
||||||
static DisplayPreferencesDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user id.
|
|
||||||
*/
|
|
||||||
QString jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the user id.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type of the view.
|
|
||||||
*/
|
|
||||||
QString viewType() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type of the view.
|
|
||||||
*/
|
|
||||||
void setViewType(QString newViewType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the sort by.
|
|
||||||
*/
|
|
||||||
QString sortBy() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the sort by.
|
|
||||||
*/
|
|
||||||
void setSortBy(QString newSortBy);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index by.
|
|
||||||
*/
|
|
||||||
QString indexBy() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index by.
|
|
||||||
*/
|
|
||||||
void setIndexBy(QString newIndexBy);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [remember indexing].
|
|
||||||
*/
|
|
||||||
bool rememberIndexing() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [remember indexing].
|
|
||||||
*/
|
|
||||||
void setRememberIndexing(bool newRememberIndexing);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the height of the primary image.
|
|
||||||
*/
|
|
||||||
qint32 primaryImageHeight() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the height of the primary image.
|
|
||||||
*/
|
|
||||||
void setPrimaryImageHeight(qint32 newPrimaryImageHeight);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the width of the primary image.
|
|
||||||
*/
|
|
||||||
qint32 primaryImageWidth() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the width of the primary image.
|
|
||||||
*/
|
|
||||||
void setPrimaryImageWidth(qint32 newPrimaryImageWidth);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the custom prefs.
|
|
||||||
*/
|
|
||||||
QJsonObject customPrefs() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the custom prefs.
|
|
||||||
*/
|
|
||||||
void setCustomPrefs(QJsonObject newCustomPrefs);
|
|
||||||
|
|
||||||
ScrollDirection scrollDirection() const;
|
|
||||||
|
|
||||||
void setScrollDirection(ScrollDirection newScrollDirection);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether to show backdrops on this item.
|
|
||||||
*/
|
|
||||||
bool showBackdrop() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether to show backdrops on this item.
|
|
||||||
*/
|
|
||||||
void setShowBackdrop(bool newShowBackdrop);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [remember sorting].
|
|
||||||
*/
|
|
||||||
bool rememberSorting() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [remember sorting].
|
|
||||||
*/
|
|
||||||
void setRememberSorting(bool newRememberSorting);
|
|
||||||
|
|
||||||
SortOrder sortOrder() const;
|
|
||||||
|
|
||||||
void setSortOrder(SortOrder newSortOrder);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [show sidebar].
|
|
||||||
*/
|
|
||||||
bool showSidebar() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [show sidebar].
|
|
||||||
*/
|
|
||||||
void setShowSidebar(bool newShowSidebar);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the client.
|
|
||||||
*/
|
|
||||||
QString client() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the client.
|
|
||||||
*/
|
|
||||||
void setClient(QString newClient);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QString m_viewType;
|
|
||||||
QString m_sortBy;
|
|
||||||
QString m_indexBy;
|
|
||||||
bool m_rememberIndexing;
|
|
||||||
qint32 m_primaryImageHeight;
|
|
||||||
qint32 m_primaryImageWidth;
|
|
||||||
QJsonObject m_customPrefs;
|
|
||||||
ScrollDirection m_scrollDirection;
|
|
||||||
bool m_showBackdrop;
|
|
||||||
bool m_rememberSorting;
|
|
||||||
SortOrder m_sortOrder;
|
|
||||||
bool m_showSidebar;
|
|
||||||
QString m_client;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DISPLAYPREFERENCESDTO_H
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_DLNAPROFILETYPE_H
|
|
||||||
#define JELLYFIN_DTO_DLNAPROFILETYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class DlnaProfileTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Audio,
|
|
||||||
Video,
|
|
||||||
Photo,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit DlnaProfileTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef DlnaProfileTypeClass::Value DlnaProfileType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_DLNAPROFILETYPE_H
|
|
|
@ -1,60 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ENCODINGCONTEXT_H
|
|
||||||
#define JELLYFIN_DTO_ENCODINGCONTEXT_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class EncodingContextClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Streaming,
|
|
||||||
Static,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit EncodingContextClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef EncodingContextClass::Value EncodingContext;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ENCODINGCONTEXT_H
|
|
|
@ -1,92 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_EXTERNALIDINFO_H
|
|
||||||
#define JELLYFIN_DTO_EXTERNALIDINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/externalidmediatype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ExternalIdInfo {
|
|
||||||
public:ExternalIdInfo();ExternalIdInfo(const ExternalIdInfo &other);
|
|
||||||
|
|
||||||
static ExternalIdInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the unique key for this id. This key should be unique across all providers.
|
|
||||||
*/
|
|
||||||
QString key() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the unique key for this id. This key should be unique across all providers.
|
|
||||||
*/
|
|
||||||
void setKey(QString newKey);
|
|
||||||
|
|
||||||
ExternalIdMediaType type() const;
|
|
||||||
|
|
||||||
void setType(ExternalIdMediaType newType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the URL format string.
|
|
||||||
*/
|
|
||||||
QString urlFormatString() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the URL format string.
|
|
||||||
*/
|
|
||||||
void setUrlFormatString(QString newUrlFormatString);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_key;
|
|
||||||
ExternalIdMediaType m_type;
|
|
||||||
QString m_urlFormatString;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_EXTERNALIDINFO_H
|
|
|
@ -1,70 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_EXTERNALIDMEDIATYPE_H
|
|
||||||
#define JELLYFIN_DTO_EXTERNALIDMEDIATYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class ExternalIdMediaTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Album,
|
|
||||||
AlbumArtist,
|
|
||||||
Artist,
|
|
||||||
BoxSet,
|
|
||||||
Episode,
|
|
||||||
Movie,
|
|
||||||
OtherArtist,
|
|
||||||
Person,
|
|
||||||
ReleaseGroup,
|
|
||||||
Season,
|
|
||||||
Series,
|
|
||||||
Track,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit ExternalIdMediaTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef ExternalIdMediaTypeClass::Value ExternalIdMediaType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_EXTERNALIDMEDIATYPE_H
|
|
|
@ -1,77 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_EXTERNALURL_H
|
|
||||||
#define JELLYFIN_DTO_EXTERNALURL_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ExternalUrl {
|
|
||||||
public:ExternalUrl();ExternalUrl(const ExternalUrl &other);
|
|
||||||
|
|
||||||
static ExternalUrl fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type of the item.
|
|
||||||
*/
|
|
||||||
QString url() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type of the item.
|
|
||||||
*/
|
|
||||||
void setUrl(QString newUrl);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_url;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_EXTERNALURL_H
|
|
|
@ -1,83 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_FILESYSTEMENTRYINFO_H
|
|
||||||
#define JELLYFIN_DTO_FILESYSTEMENTRYINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/filesystementrytype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class FileSystemEntryInfo {
|
|
||||||
public:FileSystemEntryInfo();FileSystemEntryInfo(const FileSystemEntryInfo &other);
|
|
||||||
|
|
||||||
static FileSystemEntryInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
|
|
||||||
FileSystemEntryType type() const;
|
|
||||||
|
|
||||||
void setType(FileSystemEntryType newType);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_path;
|
|
||||||
FileSystemEntryType m_type;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_FILESYSTEMENTRYINFO_H
|
|
|
@ -1,62 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_FILESYSTEMENTRYTYPE_H
|
|
||||||
#define JELLYFIN_DTO_FILESYSTEMENTRYTYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class FileSystemEntryTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
File,
|
|
||||||
Directory,
|
|
||||||
NetworkComputer,
|
|
||||||
NetworkShare,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit FileSystemEntryTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef FileSystemEntryTypeClass::Value FileSystemEntryType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_FILESYSTEMENTRYTYPE_H
|
|
|
@ -1,96 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_FONTFILE_H
|
|
||||||
#define JELLYFIN_DTO_FONTFILE_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class FontFile {
|
|
||||||
public:FontFile();FontFile(const FontFile &other);
|
|
||||||
|
|
||||||
static FontFile fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the size.
|
|
||||||
*/
|
|
||||||
qint64 size() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the size.
|
|
||||||
*/
|
|
||||||
void setSize(qint64 newSize);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date created.
|
|
||||||
*/
|
|
||||||
QDateTime dateCreated() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date created.
|
|
||||||
*/
|
|
||||||
void setDateCreated(QDateTime newDateCreated);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date modified.
|
|
||||||
*/
|
|
||||||
QDateTime dateModified() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date modified.
|
|
||||||
*/
|
|
||||||
void setDateModified(QDateTime newDateModified);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
qint64 m_size;
|
|
||||||
QDateTime m_dateCreated;
|
|
||||||
QDateTime m_dateModified;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_FONTFILE_H
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_FORGOTPASSWORDACTION_H
|
|
||||||
#define JELLYFIN_DTO_FORGOTPASSWORDACTION_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class ForgotPasswordActionClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
ContactAdmin,
|
|
||||||
PinCode,
|
|
||||||
InNetworkRequired,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit ForgotPasswordActionClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef ForgotPasswordActionClass::Value ForgotPasswordAction;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_FORGOTPASSWORDACTION_H
|
|
|
@ -1,68 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_FORGOTPASSWORDDTO_H
|
|
||||||
#define JELLYFIN_DTO_FORGOTPASSWORDDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ForgotPasswordDto {
|
|
||||||
public:ForgotPasswordDto();ForgotPasswordDto(const ForgotPasswordDto &other);
|
|
||||||
|
|
||||||
static ForgotPasswordDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the entered username to have its password reset.
|
|
||||||
*/
|
|
||||||
QString enteredUsername() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the entered username to have its password reset.
|
|
||||||
*/
|
|
||||||
void setEnteredUsername(QString newEnteredUsername);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_enteredUsername;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_FORGOTPASSWORDDTO_H
|
|
|
@ -1,84 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_FORGOTPASSWORDRESULT_H
|
|
||||||
#define JELLYFIN_DTO_FORGOTPASSWORDRESULT_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/forgotpasswordaction.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ForgotPasswordResult {
|
|
||||||
public:ForgotPasswordResult();ForgotPasswordResult(const ForgotPasswordResult &other);
|
|
||||||
|
|
||||||
static ForgotPasswordResult fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
ForgotPasswordAction action() const;
|
|
||||||
|
|
||||||
void setAction(ForgotPasswordAction newAction);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the pin file.
|
|
||||||
*/
|
|
||||||
QString pinFile() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the pin file.
|
|
||||||
*/
|
|
||||||
void setPinFile(QString newPinFile);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the pin expiration date.
|
|
||||||
*/
|
|
||||||
QDateTime pinExpirationDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the pin expiration date.
|
|
||||||
*/
|
|
||||||
void setPinExpirationDate(QDateTime newPinExpirationDate);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
ForgotPasswordAction m_action;
|
|
||||||
QString m_pinFile;
|
|
||||||
QDateTime m_pinExpirationDate;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_FORGOTPASSWORDRESULT_H
|
|
|
@ -1,99 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GENERALCOMMANDTYPE_H
|
|
||||||
#define JELLYFIN_DTO_GENERALCOMMANDTYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class GeneralCommandTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
MoveUp,
|
|
||||||
MoveDown,
|
|
||||||
MoveLeft,
|
|
||||||
MoveRight,
|
|
||||||
PageUp,
|
|
||||||
PageDown,
|
|
||||||
PreviousLetter,
|
|
||||||
NextLetter,
|
|
||||||
ToggleOsd,
|
|
||||||
ToggleContextMenu,
|
|
||||||
Select,
|
|
||||||
Back,
|
|
||||||
TakeScreenshot,
|
|
||||||
SendKey,
|
|
||||||
SendString,
|
|
||||||
GoHome,
|
|
||||||
GoToSettings,
|
|
||||||
VolumeUp,
|
|
||||||
VolumeDown,
|
|
||||||
Mute,
|
|
||||||
Unmute,
|
|
||||||
ToggleMute,
|
|
||||||
SetVolume,
|
|
||||||
SetAudioStreamIndex,
|
|
||||||
SetSubtitleStreamIndex,
|
|
||||||
ToggleFullscreen,
|
|
||||||
DisplayContent,
|
|
||||||
GoToSearch,
|
|
||||||
DisplayMessage,
|
|
||||||
SetRepeatMode,
|
|
||||||
ChannelUp,
|
|
||||||
ChannelDown,
|
|
||||||
Guide,
|
|
||||||
ToggleStats,
|
|
||||||
PlayMediaSource,
|
|
||||||
PlayTrailers,
|
|
||||||
SetShuffleQueue,
|
|
||||||
PlayState,
|
|
||||||
PlayNext,
|
|
||||||
ToggleOsdMenu,
|
|
||||||
Play,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit GeneralCommandTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef GeneralCommandTypeClass::Value GeneralCommandType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GENERALCOMMANDTYPE_H
|
|
|
@ -1,350 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GETPROGRAMSDTO_H
|
|
||||||
#define JELLYFIN_DTO_GETPROGRAMSDTO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/imagetype.h"
|
|
||||||
#include "JellyfinQt/DTO/itemfields.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class GetProgramsDto {
|
|
||||||
public:GetProgramsDto();GetProgramsDto(const GetProgramsDto &other);
|
|
||||||
|
|
||||||
static GetProgramsDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the channels to return guide information for.
|
|
||||||
*/
|
|
||||||
QList<QUuid> channelIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the channels to return guide information for.
|
|
||||||
*/
|
|
||||||
void setChannelIds(QList<QUuid> newChannelIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets optional. Filter by user id.
|
|
||||||
*/
|
|
||||||
QUuid userId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets optional. Filter by user id.
|
|
||||||
*/
|
|
||||||
void setUserId(QUuid newUserId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the minimum premiere start date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QDateTime minStartDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the minimum premiere start date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setMinStartDate(QDateTime newMinStartDate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by programs that have completed airing, or not.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool hasAired() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by programs that have completed airing, or not.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setHasAired(bool newHasAired);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by programs that are currently airing, or not.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool isAiring() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by programs that are currently airing, or not.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setIsAiring(bool newIsAiring);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the maximum premiere start date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QDateTime maxStartDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the maximum premiere start date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setMaxStartDate(QDateTime newMaxStartDate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the minimum premiere end date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QDateTime minEndDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the minimum premiere end date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setMinEndDate(QDateTime newMinEndDate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the maximum premiere end date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QDateTime maxEndDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the maximum premiere end date.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setMaxEndDate(QDateTime newMaxEndDate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for movies.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool isMovie() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for movies.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setIsMovie(bool newIsMovie);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for series.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool isSeries() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for series.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setIsSeries(bool newIsSeries);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for news.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool isNews() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for news.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setIsNews(bool newIsNews);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for kids.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool isKids() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for kids.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setIsKids(bool newIsKids);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for sports.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool isSports() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter for sports.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setIsSports(bool newIsSports);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the record index to start at. All items with a lower index will be dropped from the results.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
qint32 startIndex() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the record index to start at. All items with a lower index will be dropped from the results.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setStartIndex(qint32 newStartIndex);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the maximum number of records to return.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
qint32 limit() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the maximum number of records to return.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setLimit(qint32 newLimit);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QString sortBy() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setSortBy(QString newSortBy);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets sort Order - Ascending,Descending.
|
|
||||||
*/
|
|
||||||
QString sortOrder() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets sort Order - Ascending,Descending.
|
|
||||||
*/
|
|
||||||
void setSortOrder(QString newSortOrder);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the genres to return guide information for.
|
|
||||||
*/
|
|
||||||
QStringList genres() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the genres to return guide information for.
|
|
||||||
*/
|
|
||||||
void setGenres(QStringList newGenres);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the genre ids to return guide information for.
|
|
||||||
*/
|
|
||||||
QList<QUuid> genreIds() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the genre ids to return guide information for.
|
|
||||||
*/
|
|
||||||
void setGenreIds(QList<QUuid> newGenreIds);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets include image information in output.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool enableImages() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets include image information in output.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setEnableImages(bool newEnableImages);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether retrieve total record count.
|
|
||||||
*/
|
|
||||||
bool enableTotalRecordCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether retrieve total record count.
|
|
||||||
*/
|
|
||||||
void setEnableTotalRecordCount(bool newEnableTotalRecordCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the max number of images to return, per image type.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
qint32 imageTypeLimit() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the max number of images to return, per image type.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setImageTypeLimit(qint32 newImageTypeLimit);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image types to include in the output.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QList<ImageType> enableImageTypes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image types to include in the output.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setEnableImageTypes(QList<ImageType> newEnableImageTypes);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets include user data.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
bool enableUserData() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets include user data.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setEnableUserData(bool newEnableUserData);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by series timer id.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QString seriesTimerId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by series timer id.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setSeriesTimerId(QString newSeriesTimerId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by library series id.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QUuid librarySeriesId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets filter by library series id.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setLibrarySeriesId(QUuid newLibrarySeriesId);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
QList<ItemFields> fields() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
|
|
||||||
Optional.
|
|
||||||
*/
|
|
||||||
void setFields(QList<ItemFields> newFields);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QUuid> m_channelIds;
|
|
||||||
QUuid m_userId;
|
|
||||||
QDateTime m_minStartDate;
|
|
||||||
bool m_hasAired;
|
|
||||||
bool m_isAiring;
|
|
||||||
QDateTime m_maxStartDate;
|
|
||||||
QDateTime m_minEndDate;
|
|
||||||
QDateTime m_maxEndDate;
|
|
||||||
bool m_isMovie;
|
|
||||||
bool m_isSeries;
|
|
||||||
bool m_isNews;
|
|
||||||
bool m_isKids;
|
|
||||||
bool m_isSports;
|
|
||||||
qint32 m_startIndex;
|
|
||||||
qint32 m_limit;
|
|
||||||
QString m_sortBy;
|
|
||||||
QString m_sortOrder;
|
|
||||||
QStringList m_genres;
|
|
||||||
QList<QUuid> m_genreIds;
|
|
||||||
bool m_enableImages;
|
|
||||||
bool m_enableTotalRecordCount;
|
|
||||||
qint32 m_imageTypeLimit;
|
|
||||||
QList<ImageType> m_enableImageTypes;
|
|
||||||
bool m_enableUserData;
|
|
||||||
QString m_seriesTimerId;
|
|
||||||
QUuid m_librarySeriesId;
|
|
||||||
QList<ItemFields> m_fields;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GETPROGRAMSDTO_H
|
|
|
@ -1,105 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GROUPINFODTO_H
|
|
||||||
#define JELLYFIN_DTO_GROUPINFODTO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/groupstatetype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class GroupInfoDto {
|
|
||||||
public:GroupInfoDto();GroupInfoDto(const GroupInfoDto &other);
|
|
||||||
|
|
||||||
static GroupInfoDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets the group identifier.
|
|
||||||
*/
|
|
||||||
QUuid groupId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the group identifier.
|
|
||||||
*/
|
|
||||||
void setGroupId(QUuid newGroupId);
|
|
||||||
/**
|
|
||||||
* @brief Gets the group name.
|
|
||||||
*/
|
|
||||||
QString groupName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the group name.
|
|
||||||
*/
|
|
||||||
void setGroupName(QString newGroupName);
|
|
||||||
|
|
||||||
GroupStateType state() const;
|
|
||||||
|
|
||||||
void setState(GroupStateType newState);
|
|
||||||
/**
|
|
||||||
* @brief Gets the participants.
|
|
||||||
*/
|
|
||||||
QStringList participants() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the participants.
|
|
||||||
*/
|
|
||||||
void setParticipants(QStringList newParticipants);
|
|
||||||
/**
|
|
||||||
* @brief Gets the date when this DTO has been created.
|
|
||||||
*/
|
|
||||||
QDateTime lastUpdatedAt() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the date when this DTO has been created.
|
|
||||||
*/
|
|
||||||
void setLastUpdatedAt(QDateTime newLastUpdatedAt);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QUuid m_groupId;
|
|
||||||
QString m_groupName;
|
|
||||||
GroupStateType m_state;
|
|
||||||
QStringList m_participants;
|
|
||||||
QDateTime m_lastUpdatedAt;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GROUPINFODTO_H
|
|
|
@ -1,60 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GROUPQUEUEMODE_H
|
|
||||||
#define JELLYFIN_DTO_GROUPQUEUEMODE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class GroupQueueModeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Queue,
|
|
||||||
QueueNext,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit GroupQueueModeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef GroupQueueModeClass::Value GroupQueueMode;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GROUPQUEUEMODE_H
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GROUPREPEATMODE_H
|
|
||||||
#define JELLYFIN_DTO_GROUPREPEATMODE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class GroupRepeatModeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
RepeatOne,
|
|
||||||
RepeatAll,
|
|
||||||
RepeatNone,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit GroupRepeatModeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef GroupRepeatModeClass::Value GroupRepeatMode;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GROUPREPEATMODE_H
|
|
|
@ -1,60 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GROUPSHUFFLEMODE_H
|
|
||||||
#define JELLYFIN_DTO_GROUPSHUFFLEMODE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class GroupShuffleModeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Sorted,
|
|
||||||
Shuffle,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit GroupShuffleModeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef GroupShuffleModeClass::Value GroupShuffleMode;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GROUPSHUFFLEMODE_H
|
|
|
@ -1,62 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GROUPSTATETYPE_H
|
|
||||||
#define JELLYFIN_DTO_GROUPSTATETYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class GroupStateTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Idle,
|
|
||||||
Waiting,
|
|
||||||
Paused,
|
|
||||||
Playing,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit GroupStateTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef GroupStateTypeClass::Value GroupStateType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GROUPSTATETYPE_H
|
|
|
@ -1,69 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GROUPUPDATETYPE_H
|
|
||||||
#define JELLYFIN_DTO_GROUPUPDATETYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class GroupUpdateTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
UserJoined,
|
|
||||||
UserLeft,
|
|
||||||
GroupJoined,
|
|
||||||
GroupLeft,
|
|
||||||
StateUpdate,
|
|
||||||
PlayQueue,
|
|
||||||
NotInGroup,
|
|
||||||
GroupDoesNotExist,
|
|
||||||
CreateGroupDenied,
|
|
||||||
JoinGroupDenied,
|
|
||||||
LibraryAccessDenied,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit GroupUpdateTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef GroupUpdateTypeClass::Value GroupUpdateType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GROUPUPDATETYPE_H
|
|
|
@ -1,77 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_GUIDEINFO_H
|
|
||||||
#define JELLYFIN_DTO_GUIDEINFO_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class GuideInfo {
|
|
||||||
public:GuideInfo();GuideInfo(const GuideInfo &other);
|
|
||||||
|
|
||||||
static GuideInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the start date.
|
|
||||||
*/
|
|
||||||
QDateTime startDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the start date.
|
|
||||||
*/
|
|
||||||
void setStartDate(QDateTime newStartDate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the end date.
|
|
||||||
*/
|
|
||||||
QDateTime endDate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the end date.
|
|
||||||
*/
|
|
||||||
void setEndDate(QDateTime newEndDate);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QDateTime m_startDate;
|
|
||||||
QDateTime m_endDate;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_GUIDEINFO_H
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_HEADERMATCHTYPE_H
|
|
||||||
#define JELLYFIN_DTO_HEADERMATCHTYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class HeaderMatchTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Equals,
|
|
||||||
Regex,
|
|
||||||
Substring,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit HeaderMatchTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef HeaderMatchTypeClass::Value HeaderMatchType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_HEADERMATCHTYPE_H
|
|
|
@ -1,67 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IGNOREWAITREQUESTDTO_H
|
|
||||||
#define JELLYFIN_DTO_IGNOREWAITREQUESTDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class IgnoreWaitRequestDto {
|
|
||||||
public:IgnoreWaitRequestDto();IgnoreWaitRequestDto(const IgnoreWaitRequestDto &other);
|
|
||||||
|
|
||||||
static IgnoreWaitRequestDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether the client should be ignored.
|
|
||||||
*/
|
|
||||||
bool ignoreWait() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether the client should be ignored.
|
|
||||||
*/
|
|
||||||
void setIgnoreWait(bool newIgnoreWait);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
bool m_ignoreWait;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IGNOREWAITREQUESTDTO_H
|
|
|
@ -1,104 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IMAGEBYNAMEINFO_H
|
|
||||||
#define JELLYFIN_DTO_IMAGEBYNAMEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ImageByNameInfo {
|
|
||||||
public:ImageByNameInfo();ImageByNameInfo(const ImageByNameInfo &other);
|
|
||||||
|
|
||||||
static ImageByNameInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the theme.
|
|
||||||
*/
|
|
||||||
QString theme() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the theme.
|
|
||||||
*/
|
|
||||||
void setTheme(QString newTheme);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the context.
|
|
||||||
*/
|
|
||||||
QString context() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the context.
|
|
||||||
*/
|
|
||||||
void setContext(QString newContext);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the length of the file.
|
|
||||||
*/
|
|
||||||
qint64 fileLength() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the length of the file.
|
|
||||||
*/
|
|
||||||
void setFileLength(qint64 newFileLength);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the format.
|
|
||||||
*/
|
|
||||||
QString format() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the format.
|
|
||||||
*/
|
|
||||||
void setFormat(QString newFormat);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_theme;
|
|
||||||
QString m_context;
|
|
||||||
qint64 m_fileLength;
|
|
||||||
QString m_format;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IMAGEBYNAMEINFO_H
|
|
|
@ -1,128 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IMAGEINFO_H
|
|
||||||
#define JELLYFIN_DTO_IMAGEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/imagetype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ImageInfo {
|
|
||||||
public:ImageInfo();ImageInfo(const ImageInfo &other);
|
|
||||||
|
|
||||||
static ImageInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
ImageType imageType() const;
|
|
||||||
|
|
||||||
void setImageType(ImageType newImageType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index of the image.
|
|
||||||
*/
|
|
||||||
qint32 imageIndex() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index of the image.
|
|
||||||
*/
|
|
||||||
void setImageIndex(qint32 newImageIndex);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image tag.
|
|
||||||
*/
|
|
||||||
QString imageTag() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image tag.
|
|
||||||
*/
|
|
||||||
void setImageTag(QString newImageTag);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the blurhash.
|
|
||||||
*/
|
|
||||||
QString blurHash() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the blurhash.
|
|
||||||
*/
|
|
||||||
void setBlurHash(QString newBlurHash);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the height.
|
|
||||||
*/
|
|
||||||
qint32 height() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the height.
|
|
||||||
*/
|
|
||||||
void setHeight(qint32 newHeight);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the width.
|
|
||||||
*/
|
|
||||||
qint32 width() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the width.
|
|
||||||
*/
|
|
||||||
void setWidth(qint32 newWidth);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the size.
|
|
||||||
*/
|
|
||||||
qint64 size() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the size.
|
|
||||||
*/
|
|
||||||
void setSize(qint64 newSize);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
ImageType m_imageType;
|
|
||||||
qint32 m_imageIndex;
|
|
||||||
QString m_imageTag;
|
|
||||||
QString m_path;
|
|
||||||
QString m_blurHash;
|
|
||||||
qint32 m_height;
|
|
||||||
qint32 m_width;
|
|
||||||
qint64 m_size;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IMAGEINFO_H
|
|
|
@ -1,82 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IMAGEOPTION_H
|
|
||||||
#define JELLYFIN_DTO_IMAGEOPTION_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/imagetype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ImageOption {
|
|
||||||
public:ImageOption();ImageOption(const ImageOption &other);
|
|
||||||
|
|
||||||
static ImageOption fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
ImageType type() const;
|
|
||||||
|
|
||||||
void setType(ImageType newType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the limit.
|
|
||||||
*/
|
|
||||||
qint32 limit() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the limit.
|
|
||||||
*/
|
|
||||||
void setLimit(qint32 newLimit);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the minimum width.
|
|
||||||
*/
|
|
||||||
qint32 minWidth() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the minimum width.
|
|
||||||
*/
|
|
||||||
void setMinWidth(qint32 newMinWidth);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
ImageType m_type;
|
|
||||||
qint32 m_limit;
|
|
||||||
qint32 m_minWidth;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IMAGEOPTION_H
|
|
|
@ -1,66 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IMAGEORIENTATION_H
|
|
||||||
#define JELLYFIN_DTO_IMAGEORIENTATION_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class ImageOrientationClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
TopLeft,
|
|
||||||
TopRight,
|
|
||||||
BottomRight,
|
|
||||||
BottomLeft,
|
|
||||||
LeftTop,
|
|
||||||
RightTop,
|
|
||||||
RightBottom,
|
|
||||||
LeftBottom,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit ImageOrientationClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef ImageOrientationClass::Value ImageOrientation;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IMAGEORIENTATION_H
|
|
|
@ -1,80 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IMAGEPROVIDERINFO_H
|
|
||||||
#define JELLYFIN_DTO_IMAGEPROVIDERINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/imagetype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ImageProviderInfo {
|
|
||||||
public:ImageProviderInfo();ImageProviderInfo(const ImageProviderInfo &other);
|
|
||||||
|
|
||||||
static ImageProviderInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets the supported image types.
|
|
||||||
*/
|
|
||||||
QList<ImageType> supportedImages() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the supported image types.
|
|
||||||
*/
|
|
||||||
void setSupportedImages(QList<ImageType> newSupportedImages);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QList<ImageType> m_supportedImages;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IMAGEPROVIDERINFO_H
|
|
|
@ -1,71 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IMAGETYPE_H
|
|
||||||
#define JELLYFIN_DTO_IMAGETYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class ImageTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Primary,
|
|
||||||
Art,
|
|
||||||
Backdrop,
|
|
||||||
Banner,
|
|
||||||
Logo,
|
|
||||||
Thumb,
|
|
||||||
Disc,
|
|
||||||
Box,
|
|
||||||
Screenshot,
|
|
||||||
Menu,
|
|
||||||
Chapter,
|
|
||||||
BoxRear,
|
|
||||||
Profile,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit ImageTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef ImageTypeClass::Value ImageType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IMAGETYPE_H
|
|
|
@ -1,112 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_INSTALLATIONINFO_H
|
|
||||||
#define JELLYFIN_DTO_INSTALLATIONINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/version.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class InstallationInfo {
|
|
||||||
public:InstallationInfo();InstallationInfo(const InstallationInfo &other);
|
|
||||||
|
|
||||||
static InstallationInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Id.
|
|
||||||
*/
|
|
||||||
QUuid guid() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the Id.
|
|
||||||
*/
|
|
||||||
void setGuid(QUuid newGuid);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
|
|
||||||
QSharedPointer<Version> version() const;
|
|
||||||
|
|
||||||
void setVersion(QSharedPointer<Version> newVersion);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the changelog for this version.
|
|
||||||
*/
|
|
||||||
QString changelog() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the changelog for this version.
|
|
||||||
*/
|
|
||||||
void setChangelog(QString newChangelog);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the source URL.
|
|
||||||
*/
|
|
||||||
QString sourceUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the source URL.
|
|
||||||
*/
|
|
||||||
void setSourceUrl(QString newSourceUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a checksum for the binary.
|
|
||||||
*/
|
|
||||||
QString checksum() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a checksum for the binary.
|
|
||||||
*/
|
|
||||||
void setChecksum(QString newChecksum);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QUuid m_guid;
|
|
||||||
QString m_name;
|
|
||||||
QSharedPointer<Version> m_version = nullptr;
|
|
||||||
QString m_changelog;
|
|
||||||
QString m_sourceUrl;
|
|
||||||
QString m_checksum;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_INSTALLATIONINFO_H
|
|
|
@ -1,121 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_IPLUGIN_H
|
|
||||||
#define JELLYFIN_DTO_IPLUGIN_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/version.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class IPlugin {
|
|
||||||
public:IPlugin();IPlugin(const IPlugin &other);
|
|
||||||
|
|
||||||
static IPlugin fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets the name of the plugin.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the name of the plugin.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets the Description.
|
|
||||||
*/
|
|
||||||
QString description() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the Description.
|
|
||||||
*/
|
|
||||||
void setDescription(QString newDescription);
|
|
||||||
/**
|
|
||||||
* @brief Gets the unique id.
|
|
||||||
*/
|
|
||||||
QUuid jellyfinId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the unique id.
|
|
||||||
*/
|
|
||||||
void setJellyfinId(QUuid newJellyfinId);
|
|
||||||
|
|
||||||
QSharedPointer<Version> version() const;
|
|
||||||
|
|
||||||
void setVersion(QSharedPointer<Version> newVersion);
|
|
||||||
/**
|
|
||||||
* @brief Gets the path to the assembly file.
|
|
||||||
*/
|
|
||||||
QString assemblyFilePath() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the path to the assembly file.
|
|
||||||
*/
|
|
||||||
void setAssemblyFilePath(QString newAssemblyFilePath);
|
|
||||||
/**
|
|
||||||
* @brief Gets a value indicating whether the plugin can be uninstalled.
|
|
||||||
*/
|
|
||||||
bool canUninstall() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets a value indicating whether the plugin can be uninstalled.
|
|
||||||
*/
|
|
||||||
void setCanUninstall(bool newCanUninstall);
|
|
||||||
/**
|
|
||||||
* @brief Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
|
|
||||||
*/
|
|
||||||
QString dataFolderPath() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
|
|
||||||
*/
|
|
||||||
void setDataFolderPath(QString newDataFolderPath);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_description;
|
|
||||||
QUuid m_jellyfinId;
|
|
||||||
QSharedPointer<Version> m_version = nullptr;
|
|
||||||
QString m_assemblyFilePath;
|
|
||||||
bool m_canUninstall;
|
|
||||||
QString m_dataFolderPath;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_IPLUGIN_H
|
|
|
@ -1,166 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ITEMCOUNTS_H
|
|
||||||
#define JELLYFIN_DTO_ITEMCOUNTS_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ItemCounts {
|
|
||||||
public:ItemCounts();ItemCounts(const ItemCounts &other);
|
|
||||||
|
|
||||||
static ItemCounts fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the movie count.
|
|
||||||
*/
|
|
||||||
qint32 movieCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the movie count.
|
|
||||||
*/
|
|
||||||
void setMovieCount(qint32 newMovieCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the series count.
|
|
||||||
*/
|
|
||||||
qint32 seriesCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the series count.
|
|
||||||
*/
|
|
||||||
void setSeriesCount(qint32 newSeriesCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the episode count.
|
|
||||||
*/
|
|
||||||
qint32 episodeCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the episode count.
|
|
||||||
*/
|
|
||||||
void setEpisodeCount(qint32 newEpisodeCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the artist count.
|
|
||||||
*/
|
|
||||||
qint32 artistCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the artist count.
|
|
||||||
*/
|
|
||||||
void setArtistCount(qint32 newArtistCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the program count.
|
|
||||||
*/
|
|
||||||
qint32 programCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the program count.
|
|
||||||
*/
|
|
||||||
void setProgramCount(qint32 newProgramCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the trailer count.
|
|
||||||
*/
|
|
||||||
qint32 trailerCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the trailer count.
|
|
||||||
*/
|
|
||||||
void setTrailerCount(qint32 newTrailerCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the song count.
|
|
||||||
*/
|
|
||||||
qint32 songCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the song count.
|
|
||||||
*/
|
|
||||||
void setSongCount(qint32 newSongCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the album count.
|
|
||||||
*/
|
|
||||||
qint32 albumCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the album count.
|
|
||||||
*/
|
|
||||||
void setAlbumCount(qint32 newAlbumCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the music video count.
|
|
||||||
*/
|
|
||||||
qint32 musicVideoCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the music video count.
|
|
||||||
*/
|
|
||||||
void setMusicVideoCount(qint32 newMusicVideoCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the box set count.
|
|
||||||
*/
|
|
||||||
qint32 boxSetCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the box set count.
|
|
||||||
*/
|
|
||||||
void setBoxSetCount(qint32 newBoxSetCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the book count.
|
|
||||||
*/
|
|
||||||
qint32 bookCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the book count.
|
|
||||||
*/
|
|
||||||
void setBookCount(qint32 newBookCount);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the item count.
|
|
||||||
*/
|
|
||||||
qint32 itemCount() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the item count.
|
|
||||||
*/
|
|
||||||
void setItemCount(qint32 newItemCount);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
qint32 m_movieCount;
|
|
||||||
qint32 m_seriesCount;
|
|
||||||
qint32 m_episodeCount;
|
|
||||||
qint32 m_artistCount;
|
|
||||||
qint32 m_programCount;
|
|
||||||
qint32 m_trailerCount;
|
|
||||||
qint32 m_songCount;
|
|
||||||
qint32 m_albumCount;
|
|
||||||
qint32 m_musicVideoCount;
|
|
||||||
qint32 m_boxSetCount;
|
|
||||||
qint32 m_bookCount;
|
|
||||||
qint32 m_itemCount;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ITEMCOUNTS_H
|
|
|
@ -1,119 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_ITEMFIELDS_H
|
|
||||||
#define JELLYFIN_DTO_ITEMFIELDS_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class ItemFieldsClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
AirTime,
|
|
||||||
CanDelete,
|
|
||||||
CanDownload,
|
|
||||||
ChannelInfo,
|
|
||||||
Chapters,
|
|
||||||
ChildCount,
|
|
||||||
CumulativeRunTimeTicks,
|
|
||||||
CustomRating,
|
|
||||||
DateCreated,
|
|
||||||
DateLastMediaAdded,
|
|
||||||
DisplayPreferencesId,
|
|
||||||
Etag,
|
|
||||||
ExternalUrls,
|
|
||||||
Genres,
|
|
||||||
HomePageUrl,
|
|
||||||
ItemCounts,
|
|
||||||
MediaSourceCount,
|
|
||||||
MediaSources,
|
|
||||||
OriginalTitle,
|
|
||||||
Overview,
|
|
||||||
ParentId,
|
|
||||||
Path,
|
|
||||||
People,
|
|
||||||
PlayAccess,
|
|
||||||
ProductionLocations,
|
|
||||||
ProviderIds,
|
|
||||||
PrimaryImageAspectRatio,
|
|
||||||
RecursiveItemCount,
|
|
||||||
Settings,
|
|
||||||
ScreenshotImageTags,
|
|
||||||
SeriesPrimaryImage,
|
|
||||||
SeriesStudio,
|
|
||||||
SortName,
|
|
||||||
SpecialEpisodeNumbers,
|
|
||||||
Studios,
|
|
||||||
BasicSyncInfo,
|
|
||||||
SyncInfo,
|
|
||||||
Taglines,
|
|
||||||
Tags,
|
|
||||||
RemoteTrailers,
|
|
||||||
MediaStreams,
|
|
||||||
SeasonUserData,
|
|
||||||
ServiceName,
|
|
||||||
ThemeSongIds,
|
|
||||||
ThemeVideoIds,
|
|
||||||
ExternalEtag,
|
|
||||||
PresentationUniqueKey,
|
|
||||||
InheritedParentalRatingValue,
|
|
||||||
ExternalSeriesId,
|
|
||||||
SeriesPresentationUniqueKey,
|
|
||||||
DateLastRefreshed,
|
|
||||||
DateLastSaved,
|
|
||||||
RefreshState,
|
|
||||||
ChannelImage,
|
|
||||||
EnableMediaSourceDisplay,
|
|
||||||
Width,
|
|
||||||
Height,
|
|
||||||
ExtraIds,
|
|
||||||
LocalTrailerCount,
|
|
||||||
IsHD,
|
|
||||||
SpecialFeatureCount,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit ItemFieldsClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef ItemFieldsClass::Value ItemFields;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_ITEMFIELDS_H
|
|
|
@ -1,68 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_JOINGROUPREQUESTDTO_H
|
|
||||||
#define JELLYFIN_DTO_JOINGROUPREQUESTDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QUuid>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class JoinGroupRequestDto {
|
|
||||||
public:JoinGroupRequestDto();JoinGroupRequestDto(const JoinGroupRequestDto &other);
|
|
||||||
|
|
||||||
static JoinGroupRequestDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the group identifier.
|
|
||||||
*/
|
|
||||||
QUuid groupId() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the group identifier.
|
|
||||||
*/
|
|
||||||
void setGroupId(QUuid newGroupId);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QUuid m_groupId;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_JOINGROUPREQUESTDTO_H
|
|
|
@ -1,77 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIBRARYOPTIONINFODTO_H
|
|
||||||
#define JELLYFIN_DTO_LIBRARYOPTIONINFODTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LibraryOptionInfoDto {
|
|
||||||
public:LibraryOptionInfoDto();LibraryOptionInfoDto(const LibraryOptionInfoDto &other);
|
|
||||||
|
|
||||||
static LibraryOptionInfoDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether default enabled.
|
|
||||||
*/
|
|
||||||
bool defaultEnabled() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether default enabled.
|
|
||||||
*/
|
|
||||||
void setDefaultEnabled(bool newDefaultEnabled);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
bool m_defaultEnabled;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIBRARYOPTIONINFODTO_H
|
|
|
@ -1,197 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIBRARYOPTIONS_H
|
|
||||||
#define JELLYFIN_DTO_LIBRARYOPTIONS_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/mediapathinfo.h"
|
|
||||||
#include "JellyfinQt/DTO/typeoptions.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LibraryOptions {
|
|
||||||
public:LibraryOptions();LibraryOptions(const LibraryOptions &other);
|
|
||||||
|
|
||||||
static LibraryOptions fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
bool enablePhotos() const;
|
|
||||||
|
|
||||||
void setEnablePhotos(bool newEnablePhotos);
|
|
||||||
|
|
||||||
bool enableRealtimeMonitor() const;
|
|
||||||
|
|
||||||
void setEnableRealtimeMonitor(bool newEnableRealtimeMonitor);
|
|
||||||
|
|
||||||
bool enableChapterImageExtraction() const;
|
|
||||||
|
|
||||||
void setEnableChapterImageExtraction(bool newEnableChapterImageExtraction);
|
|
||||||
|
|
||||||
bool extractChapterImagesDuringLibraryScan() const;
|
|
||||||
|
|
||||||
void setExtractChapterImagesDuringLibraryScan(bool newExtractChapterImagesDuringLibraryScan);
|
|
||||||
|
|
||||||
QList<QSharedPointer<MediaPathInfo>> pathInfos() const;
|
|
||||||
|
|
||||||
void setPathInfos(QList<QSharedPointer<MediaPathInfo>> newPathInfos);
|
|
||||||
|
|
||||||
bool saveLocalMetadata() const;
|
|
||||||
|
|
||||||
void setSaveLocalMetadata(bool newSaveLocalMetadata);
|
|
||||||
|
|
||||||
bool enableInternetProviders() const;
|
|
||||||
|
|
||||||
void setEnableInternetProviders(bool newEnableInternetProviders);
|
|
||||||
|
|
||||||
bool enableAutomaticSeriesGrouping() const;
|
|
||||||
|
|
||||||
void setEnableAutomaticSeriesGrouping(bool newEnableAutomaticSeriesGrouping);
|
|
||||||
|
|
||||||
bool enableEmbeddedTitles() const;
|
|
||||||
|
|
||||||
void setEnableEmbeddedTitles(bool newEnableEmbeddedTitles);
|
|
||||||
|
|
||||||
bool enableEmbeddedEpisodeInfos() const;
|
|
||||||
|
|
||||||
void setEnableEmbeddedEpisodeInfos(bool newEnableEmbeddedEpisodeInfos);
|
|
||||||
|
|
||||||
qint32 automaticRefreshIntervalDays() const;
|
|
||||||
|
|
||||||
void setAutomaticRefreshIntervalDays(qint32 newAutomaticRefreshIntervalDays);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the preferred metadata language.
|
|
||||||
*/
|
|
||||||
QString preferredMetadataLanguage() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the preferred metadata language.
|
|
||||||
*/
|
|
||||||
void setPreferredMetadataLanguage(QString newPreferredMetadataLanguage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
QString metadataCountryCode() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata country code.
|
|
||||||
*/
|
|
||||||
void setMetadataCountryCode(QString newMetadataCountryCode);
|
|
||||||
|
|
||||||
QString seasonZeroDisplayName() const;
|
|
||||||
|
|
||||||
void setSeasonZeroDisplayName(QString newSeasonZeroDisplayName);
|
|
||||||
|
|
||||||
QStringList metadataSavers() const;
|
|
||||||
|
|
||||||
void setMetadataSavers(QStringList newMetadataSavers);
|
|
||||||
|
|
||||||
QStringList disabledLocalMetadataReaders() const;
|
|
||||||
|
|
||||||
void setDisabledLocalMetadataReaders(QStringList newDisabledLocalMetadataReaders);
|
|
||||||
|
|
||||||
QStringList localMetadataReaderOrder() const;
|
|
||||||
|
|
||||||
void setLocalMetadataReaderOrder(QStringList newLocalMetadataReaderOrder);
|
|
||||||
|
|
||||||
QStringList disabledSubtitleFetchers() const;
|
|
||||||
|
|
||||||
void setDisabledSubtitleFetchers(QStringList newDisabledSubtitleFetchers);
|
|
||||||
|
|
||||||
QStringList subtitleFetcherOrder() const;
|
|
||||||
|
|
||||||
void setSubtitleFetcherOrder(QStringList newSubtitleFetcherOrder);
|
|
||||||
|
|
||||||
bool skipSubtitlesIfEmbeddedSubtitlesPresent() const;
|
|
||||||
|
|
||||||
void setSkipSubtitlesIfEmbeddedSubtitlesPresent(bool newSkipSubtitlesIfEmbeddedSubtitlesPresent);
|
|
||||||
|
|
||||||
bool skipSubtitlesIfAudioTrackMatches() const;
|
|
||||||
|
|
||||||
void setSkipSubtitlesIfAudioTrackMatches(bool newSkipSubtitlesIfAudioTrackMatches);
|
|
||||||
|
|
||||||
QStringList subtitleDownloadLanguages() const;
|
|
||||||
|
|
||||||
void setSubtitleDownloadLanguages(QStringList newSubtitleDownloadLanguages);
|
|
||||||
|
|
||||||
bool requirePerfectSubtitleMatch() const;
|
|
||||||
|
|
||||||
void setRequirePerfectSubtitleMatch(bool newRequirePerfectSubtitleMatch);
|
|
||||||
|
|
||||||
bool saveSubtitlesWithMedia() const;
|
|
||||||
|
|
||||||
void setSaveSubtitlesWithMedia(bool newSaveSubtitlesWithMedia);
|
|
||||||
|
|
||||||
QList<QSharedPointer<TypeOptions>> typeOptions() const;
|
|
||||||
|
|
||||||
void setTypeOptions(QList<QSharedPointer<TypeOptions>> newTypeOptions);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
bool m_enablePhotos;
|
|
||||||
bool m_enableRealtimeMonitor;
|
|
||||||
bool m_enableChapterImageExtraction;
|
|
||||||
bool m_extractChapterImagesDuringLibraryScan;
|
|
||||||
QList<QSharedPointer<MediaPathInfo>> m_pathInfos;
|
|
||||||
bool m_saveLocalMetadata;
|
|
||||||
bool m_enableInternetProviders;
|
|
||||||
bool m_enableAutomaticSeriesGrouping;
|
|
||||||
bool m_enableEmbeddedTitles;
|
|
||||||
bool m_enableEmbeddedEpisodeInfos;
|
|
||||||
qint32 m_automaticRefreshIntervalDays;
|
|
||||||
QString m_preferredMetadataLanguage;
|
|
||||||
QString m_metadataCountryCode;
|
|
||||||
QString m_seasonZeroDisplayName;
|
|
||||||
QStringList m_metadataSavers;
|
|
||||||
QStringList m_disabledLocalMetadataReaders;
|
|
||||||
QStringList m_localMetadataReaderOrder;
|
|
||||||
QStringList m_disabledSubtitleFetchers;
|
|
||||||
QStringList m_subtitleFetcherOrder;
|
|
||||||
bool m_skipSubtitlesIfEmbeddedSubtitlesPresent;
|
|
||||||
bool m_skipSubtitlesIfAudioTrackMatches;
|
|
||||||
QStringList m_subtitleDownloadLanguages;
|
|
||||||
bool m_requirePerfectSubtitleMatch;
|
|
||||||
bool m_saveSubtitlesWithMedia;
|
|
||||||
QList<QSharedPointer<TypeOptions>> m_typeOptions;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIBRARYOPTIONS_H
|
|
|
@ -1,99 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIBRARYOPTIONSRESULTDTO_H
|
|
||||||
#define JELLYFIN_DTO_LIBRARYOPTIONSRESULTDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/libraryoptioninfodto.h"
|
|
||||||
#include "JellyfinQt/DTO/librarytypeoptionsdto.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LibraryOptionsResultDto {
|
|
||||||
public:LibraryOptionsResultDto();LibraryOptionsResultDto(const LibraryOptionsResultDto &other);
|
|
||||||
|
|
||||||
static LibraryOptionsResultDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata savers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> metadataSavers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata savers.
|
|
||||||
*/
|
|
||||||
void setMetadataSavers(QList<QSharedPointer<LibraryOptionInfoDto>> newMetadataSavers);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata readers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> metadataReaders() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata readers.
|
|
||||||
*/
|
|
||||||
void setMetadataReaders(QList<QSharedPointer<LibraryOptionInfoDto>> newMetadataReaders);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the subtitle fetchers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> subtitleFetchers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the subtitle fetchers.
|
|
||||||
*/
|
|
||||||
void setSubtitleFetchers(QList<QSharedPointer<LibraryOptionInfoDto>> newSubtitleFetchers);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type options.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LibraryTypeOptionsDto>> typeOptions() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type options.
|
|
||||||
*/
|
|
||||||
void setTypeOptions(QList<QSharedPointer<LibraryTypeOptionsDto>> newTypeOptions);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> m_metadataSavers;
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> m_metadataReaders;
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> m_subtitleFetchers;
|
|
||||||
QList<QSharedPointer<LibraryTypeOptionsDto>> m_typeOptions;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIBRARYOPTIONSRESULTDTO_H
|
|
|
@ -1,110 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIBRARYTYPEOPTIONSDTO_H
|
|
||||||
#define JELLYFIN_DTO_LIBRARYTYPEOPTIONSDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/imageoption.h"
|
|
||||||
#include "JellyfinQt/DTO/imagetype.h"
|
|
||||||
#include "JellyfinQt/DTO/libraryoptioninfodto.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LibraryTypeOptionsDto {
|
|
||||||
public:LibraryTypeOptionsDto();LibraryTypeOptionsDto(const LibraryTypeOptionsDto &other);
|
|
||||||
|
|
||||||
static LibraryTypeOptionsDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type.
|
|
||||||
*/
|
|
||||||
QString type() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the type.
|
|
||||||
*/
|
|
||||||
void setType(QString newType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata fetchers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> metadataFetchers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the metadata fetchers.
|
|
||||||
*/
|
|
||||||
void setMetadataFetchers(QList<QSharedPointer<LibraryOptionInfoDto>> newMetadataFetchers);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image fetchers.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> imageFetchers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the image fetchers.
|
|
||||||
*/
|
|
||||||
void setImageFetchers(QList<QSharedPointer<LibraryOptionInfoDto>> newImageFetchers);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the supported image types.
|
|
||||||
*/
|
|
||||||
QList<ImageType> supportedImageTypes() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the supported image types.
|
|
||||||
*/
|
|
||||||
void setSupportedImageTypes(QList<ImageType> newSupportedImageTypes);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the default image options.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<ImageOption>> defaultImageOptions() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the default image options.
|
|
||||||
*/
|
|
||||||
void setDefaultImageOptions(QList<QSharedPointer<ImageOption>> newDefaultImageOptions);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_type;
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> m_metadataFetchers;
|
|
||||||
QList<QSharedPointer<LibraryOptionInfoDto>> m_imageFetchers;
|
|
||||||
QList<ImageType> m_supportedImageTypes;
|
|
||||||
QList<QSharedPointer<ImageOption>> m_defaultImageOptions;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIBRARYTYPEOPTIONSDTO_H
|
|
|
@ -1,116 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIBRARYUPDATEINFO_H
|
|
||||||
#define JELLYFIN_DTO_LIBRARYUPDATEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LibraryUpdateInfo {
|
|
||||||
public:LibraryUpdateInfo();LibraryUpdateInfo(const LibraryUpdateInfo &other);
|
|
||||||
|
|
||||||
static LibraryUpdateInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the folders added to.
|
|
||||||
*/
|
|
||||||
QStringList foldersAddedTo() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the folders added to.
|
|
||||||
*/
|
|
||||||
void setFoldersAddedTo(QStringList newFoldersAddedTo);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the folders removed from.
|
|
||||||
*/
|
|
||||||
QStringList foldersRemovedFrom() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the folders removed from.
|
|
||||||
*/
|
|
||||||
void setFoldersRemovedFrom(QStringList newFoldersRemovedFrom);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items added.
|
|
||||||
*/
|
|
||||||
QStringList itemsAdded() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items added.
|
|
||||||
*/
|
|
||||||
void setItemsAdded(QStringList newItemsAdded);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items removed.
|
|
||||||
*/
|
|
||||||
QStringList itemsRemoved() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items removed.
|
|
||||||
*/
|
|
||||||
void setItemsRemoved(QStringList newItemsRemoved);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items updated.
|
|
||||||
*/
|
|
||||||
QStringList itemsUpdated() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the items updated.
|
|
||||||
*/
|
|
||||||
void setItemsUpdated(QStringList newItemsUpdated);
|
|
||||||
|
|
||||||
QStringList collectionFolders() const;
|
|
||||||
|
|
||||||
void setCollectionFolders(QStringList newCollectionFolders);
|
|
||||||
|
|
||||||
bool isEmpty() const;
|
|
||||||
|
|
||||||
void setIsEmpty(bool newIsEmpty);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QStringList m_foldersAddedTo;
|
|
||||||
QStringList m_foldersRemovedFrom;
|
|
||||||
QStringList m_itemsAdded;
|
|
||||||
QStringList m_itemsRemoved;
|
|
||||||
QStringList m_itemsUpdated;
|
|
||||||
QStringList m_collectionFolders;
|
|
||||||
bool m_isEmpty;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIBRARYUPDATEINFO_H
|
|
|
@ -1,153 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LISTINGSPROVIDERINFO_H
|
|
||||||
#define JELLYFIN_DTO_LISTINGSPROVIDERINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/namevaluepair.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class ListingsProviderInfo {
|
|
||||||
public:ListingsProviderInfo();ListingsProviderInfo(const ListingsProviderInfo &other);
|
|
||||||
|
|
||||||
static ListingsProviderInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QString jellyfinId() const;
|
|
||||||
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
|
|
||||||
QString type() const;
|
|
||||||
|
|
||||||
void setType(QString newType);
|
|
||||||
|
|
||||||
QString username() const;
|
|
||||||
|
|
||||||
void setUsername(QString newUsername);
|
|
||||||
|
|
||||||
QString password() const;
|
|
||||||
|
|
||||||
void setPassword(QString newPassword);
|
|
||||||
|
|
||||||
QString listingsId() const;
|
|
||||||
|
|
||||||
void setListingsId(QString newListingsId);
|
|
||||||
|
|
||||||
QString zipCode() const;
|
|
||||||
|
|
||||||
void setZipCode(QString newZipCode);
|
|
||||||
|
|
||||||
QString country() const;
|
|
||||||
|
|
||||||
void setCountry(QString newCountry);
|
|
||||||
|
|
||||||
QString path() const;
|
|
||||||
|
|
||||||
void setPath(QString newPath);
|
|
||||||
|
|
||||||
QStringList enabledTuners() const;
|
|
||||||
|
|
||||||
void setEnabledTuners(QStringList newEnabledTuners);
|
|
||||||
|
|
||||||
bool enableAllTuners() const;
|
|
||||||
|
|
||||||
void setEnableAllTuners(bool newEnableAllTuners);
|
|
||||||
|
|
||||||
QStringList newsCategories() const;
|
|
||||||
|
|
||||||
void setNewsCategories(QStringList newNewsCategories);
|
|
||||||
|
|
||||||
QStringList sportsCategories() const;
|
|
||||||
|
|
||||||
void setSportsCategories(QStringList newSportsCategories);
|
|
||||||
|
|
||||||
QStringList kidsCategories() const;
|
|
||||||
|
|
||||||
void setKidsCategories(QStringList newKidsCategories);
|
|
||||||
|
|
||||||
QStringList movieCategories() const;
|
|
||||||
|
|
||||||
void setMovieCategories(QStringList newMovieCategories);
|
|
||||||
|
|
||||||
QList<QSharedPointer<NameValuePair>> channelMappings() const;
|
|
||||||
|
|
||||||
void setChannelMappings(QList<QSharedPointer<NameValuePair>> newChannelMappings);
|
|
||||||
|
|
||||||
QString moviePrefix() const;
|
|
||||||
|
|
||||||
void setMoviePrefix(QString newMoviePrefix);
|
|
||||||
|
|
||||||
QString preferredLanguage() const;
|
|
||||||
|
|
||||||
void setPreferredLanguage(QString newPreferredLanguage);
|
|
||||||
|
|
||||||
QString userAgent() const;
|
|
||||||
|
|
||||||
void setUserAgent(QString newUserAgent);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QString m_type;
|
|
||||||
QString m_username;
|
|
||||||
QString m_password;
|
|
||||||
QString m_listingsId;
|
|
||||||
QString m_zipCode;
|
|
||||||
QString m_country;
|
|
||||||
QString m_path;
|
|
||||||
QStringList m_enabledTuners;
|
|
||||||
bool m_enableAllTuners;
|
|
||||||
QStringList m_newsCategories;
|
|
||||||
QStringList m_sportsCategories;
|
|
||||||
QStringList m_kidsCategories;
|
|
||||||
QStringList m_movieCategories;
|
|
||||||
QList<QSharedPointer<NameValuePair>> m_channelMappings;
|
|
||||||
QString m_moviePrefix;
|
|
||||||
QString m_preferredLanguage;
|
|
||||||
QString m_userAgent;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LISTINGSPROVIDERINFO_H
|
|
|
@ -1,65 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIVESTREAMRESPONSE_H
|
|
||||||
#define JELLYFIN_DTO_LIVESTREAMRESPONSE_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/mediasourceinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LiveStreamResponse {
|
|
||||||
public:LiveStreamResponse();LiveStreamResponse(const LiveStreamResponse &other);
|
|
||||||
|
|
||||||
static LiveStreamResponse fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
QSharedPointer<MediaSourceInfo> mediaSource() const;
|
|
||||||
|
|
||||||
void setMediaSource(QSharedPointer<MediaSourceInfo> newMediaSource);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSharedPointer<MediaSourceInfo> m_mediaSource = nullptr;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIVESTREAMRESPONSE_H
|
|
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIVETVINFO_H
|
|
||||||
#define JELLYFIN_DTO_LIVETVINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/livetvserviceinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LiveTvInfo {
|
|
||||||
public:LiveTvInfo();LiveTvInfo(const LiveTvInfo &other);
|
|
||||||
|
|
||||||
static LiveTvInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the services.
|
|
||||||
*/
|
|
||||||
QList<QSharedPointer<LiveTvServiceInfo>> services() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the services.
|
|
||||||
*/
|
|
||||||
void setServices(QList<QSharedPointer<LiveTvServiceInfo>> newServices);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is enabled.
|
|
||||||
*/
|
|
||||||
bool isEnabled() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is enabled.
|
|
||||||
*/
|
|
||||||
void setIsEnabled(bool newIsEnabled);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the enabled users.
|
|
||||||
*/
|
|
||||||
QStringList enabledUsers() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the enabled users.
|
|
||||||
*/
|
|
||||||
void setEnabledUsers(QStringList newEnabledUsers);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QList<QSharedPointer<LiveTvServiceInfo>> m_services;
|
|
||||||
bool m_isEnabled;
|
|
||||||
QStringList m_enabledUsers;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIVETVINFO_H
|
|
|
@ -1,126 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIVETVSERVICEINFO_H
|
|
||||||
#define JELLYFIN_DTO_LIVETVSERVICEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/livetvservicestatus.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LiveTvServiceInfo {
|
|
||||||
public:LiveTvServiceInfo();LiveTvServiceInfo(const LiveTvServiceInfo &other);
|
|
||||||
|
|
||||||
static LiveTvServiceInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the home page URL.
|
|
||||||
*/
|
|
||||||
QString homePageUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the home page URL.
|
|
||||||
*/
|
|
||||||
void setHomePageUrl(QString newHomePageUrl);
|
|
||||||
|
|
||||||
LiveTvServiceStatus status() const;
|
|
||||||
|
|
||||||
void setStatus(LiveTvServiceStatus newStatus);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the status message.
|
|
||||||
*/
|
|
||||||
QString statusMessage() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the status message.
|
|
||||||
*/
|
|
||||||
void setStatusMessage(QString newStatusMessage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the version.
|
|
||||||
*/
|
|
||||||
QString version() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the version.
|
|
||||||
*/
|
|
||||||
void setVersion(QString newVersion);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance has update available.
|
|
||||||
*/
|
|
||||||
bool hasUpdateAvailable() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance has update available.
|
|
||||||
*/
|
|
||||||
void setHasUpdateAvailable(bool newHasUpdateAvailable);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is visible.
|
|
||||||
*/
|
|
||||||
bool isVisible() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is visible.
|
|
||||||
*/
|
|
||||||
void setIsVisible(bool newIsVisible);
|
|
||||||
|
|
||||||
QStringList tuners() const;
|
|
||||||
|
|
||||||
void setTuners(QStringList newTuners);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_homePageUrl;
|
|
||||||
LiveTvServiceStatus m_status;
|
|
||||||
QString m_statusMessage;
|
|
||||||
QString m_version;
|
|
||||||
bool m_hasUpdateAvailable;
|
|
||||||
bool m_isVisible;
|
|
||||||
QStringList m_tuners;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIVETVSERVICEINFO_H
|
|
|
@ -1,60 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LIVETVSERVICESTATUS_H
|
|
||||||
#define JELLYFIN_DTO_LIVETVSERVICESTATUS_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class LiveTvServiceStatusClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Ok,
|
|
||||||
Unavailable,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit LiveTvServiceStatusClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef LiveTvServiceStatusClass::Value LiveTvServiceStatus;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LIVETVSERVICESTATUS_H
|
|
|
@ -1,62 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LOCATIONTYPE_H
|
|
||||||
#define JELLYFIN_DTO_LOCATIONTYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class LocationTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
FileSystem,
|
|
||||||
Remote,
|
|
||||||
Virtual,
|
|
||||||
Offline,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit LocationTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef LocationTypeClass::Value LocationType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LOCATIONTYPE_H
|
|
|
@ -1,96 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LOGFILE_H
|
|
||||||
#define JELLYFIN_DTO_LOGFILE_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class LogFile {
|
|
||||||
public:LogFile();LogFile(const LogFile &other);
|
|
||||||
|
|
||||||
static LogFile fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date created.
|
|
||||||
*/
|
|
||||||
QDateTime dateCreated() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date created.
|
|
||||||
*/
|
|
||||||
void setDateCreated(QDateTime newDateCreated);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date modified.
|
|
||||||
*/
|
|
||||||
QDateTime dateModified() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the date modified.
|
|
||||||
*/
|
|
||||||
void setDateModified(QDateTime newDateModified);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the size.
|
|
||||||
*/
|
|
||||||
qint64 size() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the size.
|
|
||||||
*/
|
|
||||||
void setSize(qint64 newSize);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QDateTime m_dateCreated;
|
|
||||||
QDateTime m_dateModified;
|
|
||||||
qint64 m_size;
|
|
||||||
QString m_name;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LOGFILE_H
|
|
|
@ -1,65 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_LOGLEVEL_H
|
|
||||||
#define JELLYFIN_DTO_LOGLEVEL_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class LogLevelClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Trace,
|
|
||||||
Debug,
|
|
||||||
Information,
|
|
||||||
Warning,
|
|
||||||
Error,
|
|
||||||
Critical,
|
|
||||||
None,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit LogLevelClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef LogLevelClass::Value LogLevel;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_LOGLEVEL_H
|
|
|
@ -1,122 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIAATTACHMENT_H
|
|
||||||
#define JELLYFIN_DTO_MEDIAATTACHMENT_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class MediaAttachment {
|
|
||||||
public:MediaAttachment();MediaAttachment(const MediaAttachment &other);
|
|
||||||
|
|
||||||
static MediaAttachment fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec.
|
|
||||||
*/
|
|
||||||
QString codec() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec.
|
|
||||||
*/
|
|
||||||
void setCodec(QString newCodec);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec tag.
|
|
||||||
*/
|
|
||||||
QString codecTag() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec tag.
|
|
||||||
*/
|
|
||||||
void setCodecTag(QString newCodecTag);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the comment.
|
|
||||||
*/
|
|
||||||
QString comment() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the comment.
|
|
||||||
*/
|
|
||||||
void setComment(QString newComment);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index.
|
|
||||||
*/
|
|
||||||
qint32 index() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index.
|
|
||||||
*/
|
|
||||||
void setIndex(qint32 newIndex);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the filename.
|
|
||||||
*/
|
|
||||||
QString fileName() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the filename.
|
|
||||||
*/
|
|
||||||
void setFileName(QString newFileName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MIME type.
|
|
||||||
*/
|
|
||||||
QString mimeType() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the MIME type.
|
|
||||||
*/
|
|
||||||
void setMimeType(QString newMimeType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the delivery URL.
|
|
||||||
*/
|
|
||||||
QString deliveryUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the delivery URL.
|
|
||||||
*/
|
|
||||||
void setDeliveryUrl(QString newDeliveryUrl);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_codec;
|
|
||||||
QString m_codecTag;
|
|
||||||
QString m_comment;
|
|
||||||
qint32 m_index;
|
|
||||||
QString m_fileName;
|
|
||||||
QString m_mimeType;
|
|
||||||
QString m_deliveryUrl;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIAATTACHMENT_H
|
|
|
@ -1,77 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIAENCODERPATHDTO_H
|
|
||||||
#define JELLYFIN_DTO_MEDIAENCODERPATHDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class MediaEncoderPathDto {
|
|
||||||
public:MediaEncoderPathDto();MediaEncoderPathDto(const MediaEncoderPathDto &other);
|
|
||||||
|
|
||||||
static MediaEncoderPathDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets media encoder path.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets media encoder path.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets media encoder path type.
|
|
||||||
*/
|
|
||||||
QString pathType() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets media encoder path type.
|
|
||||||
*/
|
|
||||||
void setPathType(QString newPathType);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_path;
|
|
||||||
QString m_pathType;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIAENCODERPATHDTO_H
|
|
|
@ -1,84 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIAPATHDTO_H
|
|
||||||
#define JELLYFIN_DTO_MEDIAPATHDTO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/mediapathinfo.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class MediaPathDto {
|
|
||||||
public:MediaPathDto();MediaPathDto(const MediaPathDto &other);
|
|
||||||
|
|
||||||
static MediaPathDto fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the library.
|
|
||||||
*/
|
|
||||||
QString name() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the name of the library.
|
|
||||||
*/
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path to add.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the path to add.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
|
|
||||||
QSharedPointer<MediaPathInfo> pathInfo() const;
|
|
||||||
|
|
||||||
void setPathInfo(QSharedPointer<MediaPathInfo> newPathInfo);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_name;
|
|
||||||
QString m_path;
|
|
||||||
QSharedPointer<MediaPathInfo> m_pathInfo = nullptr;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIAPATHDTO_H
|
|
|
@ -1,65 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIAPROTOCOL_H
|
|
||||||
#define JELLYFIN_DTO_MEDIAPROTOCOL_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class MediaProtocolClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
File,
|
|
||||||
Http,
|
|
||||||
Rtmp,
|
|
||||||
Rtsp,
|
|
||||||
Udp,
|
|
||||||
Rtp,
|
|
||||||
Ftp,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit MediaProtocolClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef MediaProtocolClass::Value MediaProtocol;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIAPROTOCOL_H
|
|
|
@ -1,284 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIASOURCEINFO_H
|
|
||||||
#define JELLYFIN_DTO_MEDIASOURCEINFO_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QString>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/isotype.h"
|
|
||||||
#include "JellyfinQt/DTO/mediaattachment.h"
|
|
||||||
#include "JellyfinQt/DTO/mediaprotocol.h"
|
|
||||||
#include "JellyfinQt/DTO/mediasourcetype.h"
|
|
||||||
#include "JellyfinQt/DTO/mediastream.h"
|
|
||||||
#include "JellyfinQt/DTO/transportstreamtimestamp.h"
|
|
||||||
#include "JellyfinQt/DTO/video3dformat.h"
|
|
||||||
#include "JellyfinQt/DTO/videotype.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class MediaSourceInfo {
|
|
||||||
public:MediaSourceInfo();MediaSourceInfo(const MediaSourceInfo &other);
|
|
||||||
|
|
||||||
static MediaSourceInfo fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
|
||||||
MediaProtocol protocol() const;
|
|
||||||
|
|
||||||
void setProtocol(MediaProtocol newProtocol);
|
|
||||||
|
|
||||||
QString jellyfinId() const;
|
|
||||||
|
|
||||||
void setJellyfinId(QString newJellyfinId);
|
|
||||||
|
|
||||||
QString path() const;
|
|
||||||
|
|
||||||
void setPath(QString newPath);
|
|
||||||
|
|
||||||
QString encoderPath() const;
|
|
||||||
|
|
||||||
void setEncoderPath(QString newEncoderPath);
|
|
||||||
|
|
||||||
MediaProtocol encoderProtocol() const;
|
|
||||||
|
|
||||||
void setEncoderProtocol(MediaProtocol newEncoderProtocol);
|
|
||||||
|
|
||||||
MediaSourceType type() const;
|
|
||||||
|
|
||||||
void setType(MediaSourceType newType);
|
|
||||||
|
|
||||||
QString container() const;
|
|
||||||
|
|
||||||
void setContainer(QString newContainer);
|
|
||||||
|
|
||||||
qint64 size() const;
|
|
||||||
|
|
||||||
void setSize(qint64 newSize);
|
|
||||||
|
|
||||||
QString name() const;
|
|
||||||
|
|
||||||
void setName(QString newName);
|
|
||||||
/**
|
|
||||||
* @brief Differentiate internet url vs local network.
|
|
||||||
*/
|
|
||||||
bool isRemote() const;
|
|
||||||
/**
|
|
||||||
* @brief Differentiate internet url vs local network.
|
|
||||||
*/
|
|
||||||
void setIsRemote(bool newIsRemote);
|
|
||||||
|
|
||||||
QString eTag() const;
|
|
||||||
|
|
||||||
void setETag(QString newETag);
|
|
||||||
|
|
||||||
qint64 runTimeTicks() const;
|
|
||||||
|
|
||||||
void setRunTimeTicks(qint64 newRunTimeTicks);
|
|
||||||
|
|
||||||
bool readAtNativeFramerate() const;
|
|
||||||
|
|
||||||
void setReadAtNativeFramerate(bool newReadAtNativeFramerate);
|
|
||||||
|
|
||||||
bool ignoreDts() const;
|
|
||||||
|
|
||||||
void setIgnoreDts(bool newIgnoreDts);
|
|
||||||
|
|
||||||
bool ignoreIndex() const;
|
|
||||||
|
|
||||||
void setIgnoreIndex(bool newIgnoreIndex);
|
|
||||||
|
|
||||||
bool genPtsInput() const;
|
|
||||||
|
|
||||||
void setGenPtsInput(bool newGenPtsInput);
|
|
||||||
|
|
||||||
bool supportsTranscoding() const;
|
|
||||||
|
|
||||||
void setSupportsTranscoding(bool newSupportsTranscoding);
|
|
||||||
|
|
||||||
bool supportsDirectStream() const;
|
|
||||||
|
|
||||||
void setSupportsDirectStream(bool newSupportsDirectStream);
|
|
||||||
|
|
||||||
bool supportsDirectPlay() const;
|
|
||||||
|
|
||||||
void setSupportsDirectPlay(bool newSupportsDirectPlay);
|
|
||||||
|
|
||||||
bool isInfiniteStream() const;
|
|
||||||
|
|
||||||
void setIsInfiniteStream(bool newIsInfiniteStream);
|
|
||||||
|
|
||||||
bool requiresOpening() const;
|
|
||||||
|
|
||||||
void setRequiresOpening(bool newRequiresOpening);
|
|
||||||
|
|
||||||
QString openToken() const;
|
|
||||||
|
|
||||||
void setOpenToken(QString newOpenToken);
|
|
||||||
|
|
||||||
bool requiresClosing() const;
|
|
||||||
|
|
||||||
void setRequiresClosing(bool newRequiresClosing);
|
|
||||||
|
|
||||||
QString liveStreamId() const;
|
|
||||||
|
|
||||||
void setLiveStreamId(QString newLiveStreamId);
|
|
||||||
|
|
||||||
qint32 bufferMs() const;
|
|
||||||
|
|
||||||
void setBufferMs(qint32 newBufferMs);
|
|
||||||
|
|
||||||
bool requiresLooping() const;
|
|
||||||
|
|
||||||
void setRequiresLooping(bool newRequiresLooping);
|
|
||||||
|
|
||||||
bool supportsProbing() const;
|
|
||||||
|
|
||||||
void setSupportsProbing(bool newSupportsProbing);
|
|
||||||
|
|
||||||
VideoType videoType() const;
|
|
||||||
|
|
||||||
void setVideoType(VideoType newVideoType);
|
|
||||||
|
|
||||||
IsoType isoType() const;
|
|
||||||
|
|
||||||
void setIsoType(IsoType newIsoType);
|
|
||||||
|
|
||||||
Video3DFormat video3DFormat() const;
|
|
||||||
|
|
||||||
void setVideo3DFormat(Video3DFormat newVideo3DFormat);
|
|
||||||
|
|
||||||
QList<QSharedPointer<MediaStream>> mediaStreams() const;
|
|
||||||
|
|
||||||
void setMediaStreams(QList<QSharedPointer<MediaStream>> newMediaStreams);
|
|
||||||
|
|
||||||
QList<QSharedPointer<MediaAttachment>> mediaAttachments() const;
|
|
||||||
|
|
||||||
void setMediaAttachments(QList<QSharedPointer<MediaAttachment>> newMediaAttachments);
|
|
||||||
|
|
||||||
QStringList formats() const;
|
|
||||||
|
|
||||||
void setFormats(QStringList newFormats);
|
|
||||||
|
|
||||||
qint32 bitrate() const;
|
|
||||||
|
|
||||||
void setBitrate(qint32 newBitrate);
|
|
||||||
|
|
||||||
TransportStreamTimestamp timestamp() const;
|
|
||||||
|
|
||||||
void setTimestamp(TransportStreamTimestamp newTimestamp);
|
|
||||||
|
|
||||||
QJsonObject requiredHttpHeaders() const;
|
|
||||||
|
|
||||||
void setRequiredHttpHeaders(QJsonObject newRequiredHttpHeaders);
|
|
||||||
|
|
||||||
QString transcodingUrl() const;
|
|
||||||
|
|
||||||
void setTranscodingUrl(QString newTranscodingUrl);
|
|
||||||
|
|
||||||
QString transcodingSubProtocol() const;
|
|
||||||
|
|
||||||
void setTranscodingSubProtocol(QString newTranscodingSubProtocol);
|
|
||||||
|
|
||||||
QString transcodingContainer() const;
|
|
||||||
|
|
||||||
void setTranscodingContainer(QString newTranscodingContainer);
|
|
||||||
|
|
||||||
qint32 analyzeDurationMs() const;
|
|
||||||
|
|
||||||
void setAnalyzeDurationMs(qint32 newAnalyzeDurationMs);
|
|
||||||
|
|
||||||
qint32 defaultAudioStreamIndex() const;
|
|
||||||
|
|
||||||
void setDefaultAudioStreamIndex(qint32 newDefaultAudioStreamIndex);
|
|
||||||
|
|
||||||
qint32 defaultSubtitleStreamIndex() const;
|
|
||||||
|
|
||||||
void setDefaultSubtitleStreamIndex(qint32 newDefaultSubtitleStreamIndex);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
MediaProtocol m_protocol;
|
|
||||||
QString m_jellyfinId;
|
|
||||||
QString m_path;
|
|
||||||
QString m_encoderPath;
|
|
||||||
MediaProtocol m_encoderProtocol;
|
|
||||||
MediaSourceType m_type;
|
|
||||||
QString m_container;
|
|
||||||
qint64 m_size;
|
|
||||||
QString m_name;
|
|
||||||
bool m_isRemote;
|
|
||||||
QString m_eTag;
|
|
||||||
qint64 m_runTimeTicks;
|
|
||||||
bool m_readAtNativeFramerate;
|
|
||||||
bool m_ignoreDts;
|
|
||||||
bool m_ignoreIndex;
|
|
||||||
bool m_genPtsInput;
|
|
||||||
bool m_supportsTranscoding;
|
|
||||||
bool m_supportsDirectStream;
|
|
||||||
bool m_supportsDirectPlay;
|
|
||||||
bool m_isInfiniteStream;
|
|
||||||
bool m_requiresOpening;
|
|
||||||
QString m_openToken;
|
|
||||||
bool m_requiresClosing;
|
|
||||||
QString m_liveStreamId;
|
|
||||||
qint32 m_bufferMs;
|
|
||||||
bool m_requiresLooping;
|
|
||||||
bool m_supportsProbing;
|
|
||||||
VideoType m_videoType;
|
|
||||||
IsoType m_isoType;
|
|
||||||
Video3DFormat m_video3DFormat;
|
|
||||||
QList<QSharedPointer<MediaStream>> m_mediaStreams;
|
|
||||||
QList<QSharedPointer<MediaAttachment>> m_mediaAttachments;
|
|
||||||
QStringList m_formats;
|
|
||||||
qint32 m_bitrate;
|
|
||||||
TransportStreamTimestamp m_timestamp;
|
|
||||||
QJsonObject m_requiredHttpHeaders;
|
|
||||||
QString m_transcodingUrl;
|
|
||||||
QString m_transcodingSubProtocol;
|
|
||||||
QString m_transcodingContainer;
|
|
||||||
qint32 m_analyzeDurationMs;
|
|
||||||
qint32 m_defaultAudioStreamIndex;
|
|
||||||
qint32 m_defaultSubtitleStreamIndex;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIASOURCEINFO_H
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIASOURCETYPE_H
|
|
||||||
#define JELLYFIN_DTO_MEDIASOURCETYPE_H
|
|
||||||
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
class MediaSourceTypeClass {
|
|
||||||
Q_GADGET
|
|
||||||
public:
|
|
||||||
enum Value {
|
|
||||||
EnumNotSet,
|
|
||||||
Default,
|
|
||||||
Grouping,
|
|
||||||
Placeholder,
|
|
||||||
};
|
|
||||||
Q_ENUM(Value)
|
|
||||||
private:
|
|
||||||
explicit MediaSourceTypeClass();
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef MediaSourceTypeClass::Value MediaSourceType;
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIASOURCETYPE_H
|
|
|
@ -1,448 +0,0 @@
|
||||||
/*
|
|
||||||
* Sailfin: a Jellyfin client written using Qt
|
|
||||||
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
|
|
||||||
* OVERWRITTEN AT SOME POINT!
|
|
||||||
*
|
|
||||||
* If there is a bug in this file, please fix the code generator used to generate this file found in
|
|
||||||
* core/openapigenerator.d.
|
|
||||||
*
|
|
||||||
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
|
|
||||||
* file with a newer file if needed instead of manually updating the files.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef JELLYFIN_DTO_MEDIASTREAM_H
|
|
||||||
#define JELLYFIN_DTO_MEDIASTREAM_H
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QString>
|
|
||||||
#include <optional>
|
|
||||||
|
|
||||||
#include "JellyfinQt/DTO/mediastreamtype.h"
|
|
||||||
#include "JellyfinQt/DTO/subtitledeliverymethod.h"
|
|
||||||
#include "JellyfinQt/support/jsonconv.h"
|
|
||||||
|
|
||||||
namespace Jellyfin {
|
|
||||||
namespace DTO {
|
|
||||||
|
|
||||||
|
|
||||||
class MediaStream {
|
|
||||||
public:MediaStream();MediaStream(const MediaStream &other);
|
|
||||||
|
|
||||||
static MediaStream fromJson(QJsonObject source);
|
|
||||||
void setFromJson(QJsonObject source);
|
|
||||||
QJsonObject toJson();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec.
|
|
||||||
*/
|
|
||||||
QString codec() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec.
|
|
||||||
*/
|
|
||||||
void setCodec(QString newCodec);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec tag.
|
|
||||||
*/
|
|
||||||
QString codecTag() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec tag.
|
|
||||||
*/
|
|
||||||
void setCodecTag(QString newCodecTag);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the language.
|
|
||||||
*/
|
|
||||||
QString language() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the language.
|
|
||||||
*/
|
|
||||||
void setLanguage(QString newLanguage);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color range.
|
|
||||||
*/
|
|
||||||
QString colorRange() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color range.
|
|
||||||
*/
|
|
||||||
void setColorRange(QString newColorRange);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color space.
|
|
||||||
*/
|
|
||||||
QString colorSpace() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color space.
|
|
||||||
*/
|
|
||||||
void setColorSpace(QString newColorSpace);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color transfer.
|
|
||||||
*/
|
|
||||||
QString colorTransfer() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color transfer.
|
|
||||||
*/
|
|
||||||
void setColorTransfer(QString newColorTransfer);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color primaries.
|
|
||||||
*/
|
|
||||||
QString colorPrimaries() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the color primaries.
|
|
||||||
*/
|
|
||||||
void setColorPrimaries(QString newColorPrimaries);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the comment.
|
|
||||||
*/
|
|
||||||
QString comment() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the comment.
|
|
||||||
*/
|
|
||||||
void setComment(QString newComment);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the time base.
|
|
||||||
*/
|
|
||||||
QString timeBase() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the time base.
|
|
||||||
*/
|
|
||||||
void setTimeBase(QString newTimeBase);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec time base.
|
|
||||||
*/
|
|
||||||
QString codecTimeBase() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the codec time base.
|
|
||||||
*/
|
|
||||||
void setCodecTimeBase(QString newCodecTimeBase);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the title.
|
|
||||||
*/
|
|
||||||
QString title() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the title.
|
|
||||||
*/
|
|
||||||
void setTitle(QString newTitle);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the video range.
|
|
||||||
*/
|
|
||||||
QString videoRange() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the video range.
|
|
||||||
*/
|
|
||||||
void setVideoRange(QString newVideoRange);
|
|
||||||
|
|
||||||
QString localizedUndefined() const;
|
|
||||||
|
|
||||||
void setLocalizedUndefined(QString newLocalizedUndefined);
|
|
||||||
|
|
||||||
QString localizedDefault() const;
|
|
||||||
|
|
||||||
void setLocalizedDefault(QString newLocalizedDefault);
|
|
||||||
|
|
||||||
QString localizedForced() const;
|
|
||||||
|
|
||||||
void setLocalizedForced(QString newLocalizedForced);
|
|
||||||
|
|
||||||
QString displayTitle() const;
|
|
||||||
|
|
||||||
void setDisplayTitle(QString newDisplayTitle);
|
|
||||||
|
|
||||||
QString nalLengthSize() const;
|
|
||||||
|
|
||||||
void setNalLengthSize(QString newNalLengthSize);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is interlaced.
|
|
||||||
*/
|
|
||||||
bool isInterlaced() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is interlaced.
|
|
||||||
*/
|
|
||||||
void setIsInterlaced(bool newIsInterlaced);
|
|
||||||
|
|
||||||
bool isAVC() const;
|
|
||||||
|
|
||||||
void setIsAVC(bool newIsAVC);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the channel layout.
|
|
||||||
*/
|
|
||||||
QString channelLayout() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the channel layout.
|
|
||||||
*/
|
|
||||||
void setChannelLayout(QString newChannelLayout);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the bit rate.
|
|
||||||
*/
|
|
||||||
qint32 bitRate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the bit rate.
|
|
||||||
*/
|
|
||||||
void setBitRate(qint32 newBitRate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the bit depth.
|
|
||||||
*/
|
|
||||||
qint32 bitDepth() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the bit depth.
|
|
||||||
*/
|
|
||||||
void setBitDepth(qint32 newBitDepth);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the reference frames.
|
|
||||||
*/
|
|
||||||
qint32 refFrames() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the reference frames.
|
|
||||||
*/
|
|
||||||
void setRefFrames(qint32 newRefFrames);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the length of the packet.
|
|
||||||
*/
|
|
||||||
qint32 packetLength() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the length of the packet.
|
|
||||||
*/
|
|
||||||
void setPacketLength(qint32 newPacketLength);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the channels.
|
|
||||||
*/
|
|
||||||
qint32 channels() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the channels.
|
|
||||||
*/
|
|
||||||
void setChannels(qint32 newChannels);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the sample rate.
|
|
||||||
*/
|
|
||||||
qint32 sampleRate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the sample rate.
|
|
||||||
*/
|
|
||||||
void setSampleRate(qint32 newSampleRate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is default.
|
|
||||||
*/
|
|
||||||
bool isDefault() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is default.
|
|
||||||
*/
|
|
||||||
void setIsDefault(bool newIsDefault);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is forced.
|
|
||||||
*/
|
|
||||||
bool isForced() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is forced.
|
|
||||||
*/
|
|
||||||
void setIsForced(bool newIsForced);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the height.
|
|
||||||
*/
|
|
||||||
qint32 height() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the height.
|
|
||||||
*/
|
|
||||||
void setHeight(qint32 newHeight);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the width.
|
|
||||||
*/
|
|
||||||
qint32 width() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the width.
|
|
||||||
*/
|
|
||||||
void setWidth(qint32 newWidth);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the average frame rate.
|
|
||||||
*/
|
|
||||||
float averageFrameRate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the average frame rate.
|
|
||||||
*/
|
|
||||||
void setAverageFrameRate(float newAverageFrameRate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the real frame rate.
|
|
||||||
*/
|
|
||||||
float realFrameRate() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the real frame rate.
|
|
||||||
*/
|
|
||||||
void setRealFrameRate(float newRealFrameRate);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the profile.
|
|
||||||
*/
|
|
||||||
QString profile() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the profile.
|
|
||||||
*/
|
|
||||||
void setProfile(QString newProfile);
|
|
||||||
|
|
||||||
MediaStreamType type() const;
|
|
||||||
|
|
||||||
void setType(MediaStreamType newType);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the aspect ratio.
|
|
||||||
*/
|
|
||||||
QString aspectRatio() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the aspect ratio.
|
|
||||||
*/
|
|
||||||
void setAspectRatio(QString newAspectRatio);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index.
|
|
||||||
*/
|
|
||||||
qint32 index() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the index.
|
|
||||||
*/
|
|
||||||
void setIndex(qint32 newIndex);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the score.
|
|
||||||
*/
|
|
||||||
qint32 score() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the score.
|
|
||||||
*/
|
|
||||||
void setScore(qint32 newScore);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is external.
|
|
||||||
*/
|
|
||||||
bool isExternal() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is external.
|
|
||||||
*/
|
|
||||||
void setIsExternal(bool newIsExternal);
|
|
||||||
|
|
||||||
SubtitleDeliveryMethod deliveryMethod() const;
|
|
||||||
|
|
||||||
void setDeliveryMethod(SubtitleDeliveryMethod newDeliveryMethod);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the delivery URL.
|
|
||||||
*/
|
|
||||||
QString deliveryUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the delivery URL.
|
|
||||||
*/
|
|
||||||
void setDeliveryUrl(QString newDeliveryUrl);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is external URL.
|
|
||||||
*/
|
|
||||||
bool isExternalUrl() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether this instance is external URL.
|
|
||||||
*/
|
|
||||||
void setIsExternalUrl(bool newIsExternalUrl);
|
|
||||||
|
|
||||||
bool isTextSubtitleStream() const;
|
|
||||||
|
|
||||||
void setIsTextSubtitleStream(bool newIsTextSubtitleStream);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [supports external stream].
|
|
||||||
*/
|
|
||||||
bool supportsExternalStream() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets a value indicating whether [supports external stream].
|
|
||||||
*/
|
|
||||||
void setSupportsExternalStream(bool newSupportsExternalStream);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the filename.
|
|
||||||
*/
|
|
||||||
QString path() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the filename.
|
|
||||||
*/
|
|
||||||
void setPath(QString newPath);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the pixel format.
|
|
||||||
*/
|
|
||||||
QString pixelFormat() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the pixel format.
|
|
||||||
*/
|
|
||||||
void setPixelFormat(QString newPixelFormat);
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the level.
|
|
||||||
*/
|
|
||||||
double level() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets or sets the level.
|
|
||||||
*/
|
|
||||||
void setLevel(double newLevel);
|
|
||||||
/**
|
|
||||||
* @brief Gets a value indicating whether this instance is anamorphic.
|
|
||||||
*/
|
|
||||||
bool isAnamorphic() const;
|
|
||||||
/**
|
|
||||||
* @brief Gets a value indicating whether this instance is anamorphic.
|
|
||||||
*/
|
|
||||||
void setIsAnamorphic(bool newIsAnamorphic);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QString m_codec;
|
|
||||||
QString m_codecTag;
|
|
||||||
QString m_language;
|
|
||||||
QString m_colorRange;
|
|
||||||
QString m_colorSpace;
|
|
||||||
QString m_colorTransfer;
|
|
||||||
QString m_colorPrimaries;
|
|
||||||
QString m_comment;
|
|
||||||
QString m_timeBase;
|
|
||||||
QString m_codecTimeBase;
|
|
||||||
QString m_title;
|
|
||||||
QString m_videoRange;
|
|
||||||
QString m_localizedUndefined;
|
|
||||||
QString m_localizedDefault;
|
|
||||||
QString m_localizedForced;
|
|
||||||
QString m_displayTitle;
|
|
||||||
QString m_nalLengthSize;
|
|
||||||
bool m_isInterlaced;
|
|
||||||
bool m_isAVC;
|
|
||||||
QString m_channelLayout;
|
|
||||||
qint32 m_bitRate;
|
|
||||||
qint32 m_bitDepth;
|
|
||||||
qint32 m_refFrames;
|
|
||||||
qint32 m_packetLength;
|
|
||||||
qint32 m_channels;
|
|
||||||
qint32 m_sampleRate;
|
|
||||||
bool m_isDefault;
|
|
||||||
bool m_isForced;
|
|
||||||
qint32 m_height;
|
|
||||||
qint32 m_width;
|
|
||||||
float m_averageFrameRate;
|
|
||||||
float m_realFrameRate;
|
|
||||||
QString m_profile;
|
|
||||||
MediaStreamType m_type;
|
|
||||||
QString m_aspectRatio;
|
|
||||||
qint32 m_index;
|
|
||||||
qint32 m_score;
|
|
||||||
bool m_isExternal;
|
|
||||||
SubtitleDeliveryMethod m_deliveryMethod;
|
|
||||||
QString m_deliveryUrl;
|
|
||||||
bool m_isExternalUrl;
|
|
||||||
bool m_isTextSubtitleStream;
|
|
||||||
bool m_supportsExternalStream;
|
|
||||||
QString m_path;
|
|
||||||
QString m_pixelFormat;
|
|
||||||
double m_level;
|
|
||||||
bool m_isAnamorphic;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // NS Jellyfin
|
|
||||||
} // NS DTO
|
|
||||||
|
|
||||||
#endif // JELLYFIN_DTO_MEDIASTREAM_H
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue