1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 10:12:46 +00:00

WIP: logic rewrite

WIP: adding loaders
This commit is contained in:
Chris Josten 2021-03-24 20:04:03 +01:00
parent b9b08ab384
commit 2360b261f7
1769 changed files with 124903 additions and 1963 deletions

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
AccessSchedule::AccessSchedule() {}
AccessSchedule::AccessSchedule(const AccessSchedule &other) :
m_jellyfinId(other.m_jellyfinId),
m_userId(other.m_userId),
m_dayOfWeek(other.m_dayOfWeek),
m_startHour(other.m_startHour),
m_endHour(other.m_endHour){}
AccessSchedule AccessSchedule::fromJson(QJsonObject source) {
AccessSchedule instance;

View file

@ -33,6 +33,17 @@ namespace Jellyfin {
namespace DTO {
ActivityLogEntry::ActivityLogEntry() {}
ActivityLogEntry::ActivityLogEntry(const ActivityLogEntry &other) :
m_jellyfinId(other.m_jellyfinId),
m_name(other.m_name),
m_overview(other.m_overview),
m_shortOverview(other.m_shortOverview),
m_type(other.m_type),
m_itemId(other.m_itemId),
m_date(other.m_date),
m_userId(other.m_userId),
m_userPrimaryImageTag(other.m_userPrimaryImageTag),
m_severity(other.m_severity){}
ActivityLogEntry ActivityLogEntry::fromJson(QJsonObject source) {
ActivityLogEntry instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
ActivityLogEntryQueryResult::ActivityLogEntryQueryResult() {}
ActivityLogEntryQueryResult::ActivityLogEntryQueryResult(const ActivityLogEntryQueryResult &other) :
m_items(other.m_items),
m_totalRecordCount(other.m_totalRecordCount),
m_startIndex(other.m_startIndex){}
ActivityLogEntryQueryResult ActivityLogEntryQueryResult::fromJson(QJsonObject source) {
ActivityLogEntryQueryResult instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
AddVirtualFolderDto::AddVirtualFolderDto() {}
AddVirtualFolderDto::AddVirtualFolderDto(const AddVirtualFolderDto &other) :
m_libraryOptions(other.m_libraryOptions){}
AddVirtualFolderDto AddVirtualFolderDto::fromJson(QJsonObject source) {
AddVirtualFolderDto instance;

View file

@ -33,6 +33,20 @@ namespace Jellyfin {
namespace DTO {
AlbumInfo::AlbumInfo() {}
AlbumInfo::AlbumInfo(const AlbumInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_metadataLanguage(other.m_metadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_providerIds(other.m_providerIds),
m_year(other.m_year),
m_indexNumber(other.m_indexNumber),
m_parentIndexNumber(other.m_parentIndexNumber),
m_premiereDate(other.m_premiereDate),
m_isAutomated(other.m_isAutomated),
m_albumArtists(other.m_albumArtists),
m_artistProviderIds(other.m_artistProviderIds),
m_songInfos(other.m_songInfos){}
AlbumInfo AlbumInfo::fromJson(QJsonObject source) {
AlbumInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
AlbumInfoRemoteSearchQuery::AlbumInfoRemoteSearchQuery() {}
AlbumInfoRemoteSearchQuery::AlbumInfoRemoteSearchQuery(const AlbumInfoRemoteSearchQuery &other) :
m_searchInfo(other.m_searchInfo),
m_itemId(other.m_itemId),
m_searchProviderName(other.m_searchProviderName),
m_includeDisabledProviders(other.m_includeDisabledProviders){}
AlbumInfoRemoteSearchQuery AlbumInfoRemoteSearchQuery::fromJson(QJsonObject source) {
AlbumInfoRemoteSearchQuery instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
AllThemeMediaResult::AllThemeMediaResult() {}
AllThemeMediaResult::AllThemeMediaResult(const AllThemeMediaResult &other) :
m_themeVideosResult(other.m_themeVideosResult),
m_themeSongsResult(other.m_themeSongsResult),
m_soundtrackSongsResult(other.m_soundtrackSongsResult){}
AllThemeMediaResult AllThemeMediaResult::fromJson(QJsonObject source) {
AllThemeMediaResult instance;

View file

@ -33,6 +33,18 @@ namespace Jellyfin {
namespace DTO {
ArtistInfo::ArtistInfo() {}
ArtistInfo::ArtistInfo(const ArtistInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_metadataLanguage(other.m_metadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_providerIds(other.m_providerIds),
m_year(other.m_year),
m_indexNumber(other.m_indexNumber),
m_parentIndexNumber(other.m_parentIndexNumber),
m_premiereDate(other.m_premiereDate),
m_isAutomated(other.m_isAutomated),
m_songInfos(other.m_songInfos){}
ArtistInfo ArtistInfo::fromJson(QJsonObject source) {
ArtistInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
ArtistInfoRemoteSearchQuery::ArtistInfoRemoteSearchQuery() {}
ArtistInfoRemoteSearchQuery::ArtistInfoRemoteSearchQuery(const ArtistInfoRemoteSearchQuery &other) :
m_searchInfo(other.m_searchInfo),
m_itemId(other.m_itemId),
m_searchProviderName(other.m_searchProviderName),
m_includeDisabledProviders(other.m_includeDisabledProviders){}
ArtistInfoRemoteSearchQuery ArtistInfoRemoteSearchQuery::fromJson(QJsonObject source) {
ArtistInfoRemoteSearchQuery instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
AuthenticateUserByName::AuthenticateUserByName() {}
AuthenticateUserByName::AuthenticateUserByName(const AuthenticateUserByName &other) :
m_username(other.m_username),
m_pw(other.m_pw),
m_password(other.m_password){}
AuthenticateUserByName AuthenticateUserByName::fromJson(QJsonObject source) {
AuthenticateUserByName instance;

View file

@ -33,6 +33,19 @@ namespace Jellyfin {
namespace DTO {
AuthenticationInfo::AuthenticationInfo() {}
AuthenticationInfo::AuthenticationInfo(const AuthenticationInfo &other) :
m_jellyfinId(other.m_jellyfinId),
m_accessToken(other.m_accessToken),
m_deviceId(other.m_deviceId),
m_appName(other.m_appName),
m_appVersion(other.m_appVersion),
m_deviceName(other.m_deviceName),
m_userId(other.m_userId),
m_isActive(other.m_isActive),
m_dateCreated(other.m_dateCreated),
m_dateRevoked(other.m_dateRevoked),
m_dateLastActivity(other.m_dateLastActivity),
m_userName(other.m_userName){}
AuthenticationInfo AuthenticationInfo::fromJson(QJsonObject source) {
AuthenticationInfo instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
AuthenticationInfoQueryResult::AuthenticationInfoQueryResult() {}
AuthenticationInfoQueryResult::AuthenticationInfoQueryResult(const AuthenticationInfoQueryResult &other) :
m_items(other.m_items),
m_totalRecordCount(other.m_totalRecordCount),
m_startIndex(other.m_startIndex){}
AuthenticationInfoQueryResult AuthenticationInfoQueryResult::fromJson(QJsonObject source) {
AuthenticationInfoQueryResult instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
AuthenticationResult::AuthenticationResult() {}
AuthenticationResult::AuthenticationResult(const AuthenticationResult &other) :
m_user(other.m_user),
m_sessionInfo(other.m_sessionInfo),
m_accessToken(other.m_accessToken),
m_serverId(other.m_serverId){}
AuthenticationResult AuthenticationResult::fromJson(QJsonObject source) {
AuthenticationResult instance;

View file

@ -33,6 +33,18 @@ namespace Jellyfin {
namespace DTO {
BaseItem::BaseItem() {}
BaseItem::BaseItem(const BaseItem &other) :
m_size(other.m_size),
m_container(other.m_container),
m_dateLastSaved(other.m_dateLastSaved),
m_remoteTrailers(other.m_remoteTrailers),
m_isHD(other.m_isHD),
m_isShortcut(other.m_isShortcut),
m_shortcutPath(other.m_shortcutPath),
m_width(other.m_width),
m_height(other.m_height),
m_extraIds(other.m_extraIds),
m_supportsExternalTransfer(other.m_supportsExternalTransfer){}
BaseItem BaseItem::fromJson(QJsonObject source) {
BaseItem instance;

View file

@ -33,6 +33,158 @@ namespace Jellyfin {
namespace DTO {
BaseItemDto::BaseItemDto() {}
BaseItemDto::BaseItemDto(const BaseItemDto &other) :
m_name(other.m_name),
m_originalTitle(other.m_originalTitle),
m_serverId(other.m_serverId),
m_jellyfinId(other.m_jellyfinId),
m_etag(other.m_etag),
m_sourceType(other.m_sourceType),
m_playlistItemId(other.m_playlistItemId),
m_dateCreated(other.m_dateCreated),
m_dateLastMediaAdded(other.m_dateLastMediaAdded),
m_extraType(other.m_extraType),
m_airsBeforeSeasonNumber(other.m_airsBeforeSeasonNumber),
m_airsAfterSeasonNumber(other.m_airsAfterSeasonNumber),
m_airsBeforeEpisodeNumber(other.m_airsBeforeEpisodeNumber),
m_canDelete(other.m_canDelete),
m_canDownload(other.m_canDownload),
m_hasSubtitles(other.m_hasSubtitles),
m_preferredMetadataLanguage(other.m_preferredMetadataLanguage),
m_preferredMetadataCountryCode(other.m_preferredMetadataCountryCode),
m_supportsSync(other.m_supportsSync),
m_container(other.m_container),
m_sortName(other.m_sortName),
m_forcedSortName(other.m_forcedSortName),
m_video3DFormat(other.m_video3DFormat),
m_premiereDate(other.m_premiereDate),
m_externalUrls(other.m_externalUrls),
m_mediaSources(other.m_mediaSources),
m_criticRating(other.m_criticRating),
m_productionLocations(other.m_productionLocations),
m_path(other.m_path),
m_enableMediaSourceDisplay(other.m_enableMediaSourceDisplay),
m_officialRating(other.m_officialRating),
m_customRating(other.m_customRating),
m_channelId(other.m_channelId),
m_channelName(other.m_channelName),
m_overview(other.m_overview),
m_taglines(other.m_taglines),
m_genres(other.m_genres),
m_communityRating(other.m_communityRating),
m_cumulativeRunTimeTicks(other.m_cumulativeRunTimeTicks),
m_runTimeTicks(other.m_runTimeTicks),
m_playAccess(other.m_playAccess),
m_aspectRatio(other.m_aspectRatio),
m_productionYear(other.m_productionYear),
m_isPlaceHolder(other.m_isPlaceHolder),
m_number(other.m_number),
m_channelNumber(other.m_channelNumber),
m_indexNumber(other.m_indexNumber),
m_indexNumberEnd(other.m_indexNumberEnd),
m_parentIndexNumber(other.m_parentIndexNumber),
m_remoteTrailers(other.m_remoteTrailers),
m_providerIds(other.m_providerIds),
m_isHD(other.m_isHD),
m_isFolder(other.m_isFolder),
m_parentId(other.m_parentId),
m_type(other.m_type),
m_people(other.m_people),
m_studios(other.m_studios),
m_genreItems(other.m_genreItems),
m_parentLogoItemId(other.m_parentLogoItemId),
m_parentBackdropItemId(other.m_parentBackdropItemId),
m_parentBackdropImageTags(other.m_parentBackdropImageTags),
m_localTrailerCount(other.m_localTrailerCount),
m_userData(other.m_userData),
m_recursiveItemCount(other.m_recursiveItemCount),
m_childCount(other.m_childCount),
m_seriesName(other.m_seriesName),
m_seriesId(other.m_seriesId),
m_seasonId(other.m_seasonId),
m_specialFeatureCount(other.m_specialFeatureCount),
m_displayPreferencesId(other.m_displayPreferencesId),
m_status(other.m_status),
m_airTime(other.m_airTime),
m_airDays(other.m_airDays),
m_tags(other.m_tags),
m_primaryImageAspectRatio(other.m_primaryImageAspectRatio),
m_artists(other.m_artists),
m_artistItems(other.m_artistItems),
m_album(other.m_album),
m_collectionType(other.m_collectionType),
m_displayOrder(other.m_displayOrder),
m_albumId(other.m_albumId),
m_albumPrimaryImageTag(other.m_albumPrimaryImageTag),
m_seriesPrimaryImageTag(other.m_seriesPrimaryImageTag),
m_albumArtist(other.m_albumArtist),
m_albumArtists(other.m_albumArtists),
m_seasonName(other.m_seasonName),
m_mediaStreams(other.m_mediaStreams),
m_videoType(other.m_videoType),
m_partCount(other.m_partCount),
m_mediaSourceCount(other.m_mediaSourceCount),
m_imageTags(other.m_imageTags),
m_backdropImageTags(other.m_backdropImageTags),
m_screenshotImageTags(other.m_screenshotImageTags),
m_parentLogoImageTag(other.m_parentLogoImageTag),
m_parentArtItemId(other.m_parentArtItemId),
m_parentArtImageTag(other.m_parentArtImageTag),
m_seriesThumbImageTag(other.m_seriesThumbImageTag),
m_imageBlurHashes(other.m_imageBlurHashes),
m_seriesStudio(other.m_seriesStudio),
m_parentThumbItemId(other.m_parentThumbItemId),
m_parentThumbImageTag(other.m_parentThumbImageTag),
m_parentPrimaryImageItemId(other.m_parentPrimaryImageItemId),
m_parentPrimaryImageTag(other.m_parentPrimaryImageTag),
m_chapters(other.m_chapters),
m_locationType(other.m_locationType),
m_isoType(other.m_isoType),
m_mediaType(other.m_mediaType),
m_endDate(other.m_endDate),
m_lockedFields(other.m_lockedFields),
m_trailerCount(other.m_trailerCount),
m_movieCount(other.m_movieCount),
m_seriesCount(other.m_seriesCount),
m_programCount(other.m_programCount),
m_episodeCount(other.m_episodeCount),
m_songCount(other.m_songCount),
m_albumCount(other.m_albumCount),
m_artistCount(other.m_artistCount),
m_musicVideoCount(other.m_musicVideoCount),
m_lockData(other.m_lockData),
m_width(other.m_width),
m_height(other.m_height),
m_cameraMake(other.m_cameraMake),
m_cameraModel(other.m_cameraModel),
m_software(other.m_software),
m_exposureTime(other.m_exposureTime),
m_focalLength(other.m_focalLength),
m_imageOrientation(other.m_imageOrientation),
m_aperture(other.m_aperture),
m_shutterSpeed(other.m_shutterSpeed),
m_latitude(other.m_latitude),
m_longitude(other.m_longitude),
m_altitude(other.m_altitude),
m_isoSpeedRating(other.m_isoSpeedRating),
m_seriesTimerId(other.m_seriesTimerId),
m_programId(other.m_programId),
m_channelPrimaryImageTag(other.m_channelPrimaryImageTag),
m_startDate(other.m_startDate),
m_completionPercentage(other.m_completionPercentage),
m_isRepeat(other.m_isRepeat),
m_episodeTitle(other.m_episodeTitle),
m_channelType(other.m_channelType),
m_audio(other.m_audio),
m_isMovie(other.m_isMovie),
m_isSports(other.m_isSports),
m_isSeries(other.m_isSeries),
m_isLive(other.m_isLive),
m_isNews(other.m_isNews),
m_isKids(other.m_isKids),
m_isPremiere(other.m_isPremiere),
m_timerId(other.m_timerId),
m_currentProgram(other.m_currentProgram){}
BaseItemDto BaseItemDto::fromJson(QJsonObject source) {
BaseItemDto instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
BaseItemDtoQueryResult::BaseItemDtoQueryResult() {}
BaseItemDtoQueryResult::BaseItemDtoQueryResult(const BaseItemDtoQueryResult &other) :
m_items(other.m_items),
m_totalRecordCount(other.m_totalRecordCount),
m_startIndex(other.m_startIndex){}
BaseItemDtoQueryResult BaseItemDtoQueryResult::fromJson(QJsonObject source) {
BaseItemDtoQueryResult instance;

View file

@ -33,6 +33,13 @@ namespace Jellyfin {
namespace DTO {
BaseItemPerson::BaseItemPerson() {}
BaseItemPerson::BaseItemPerson(const BaseItemPerson &other) :
m_name(other.m_name),
m_jellyfinId(other.m_jellyfinId),
m_role(other.m_role),
m_type(other.m_type),
m_primaryImageTag(other.m_primaryImageTag),
m_imageBlurHashes(other.m_imageBlurHashes){}
BaseItemPerson BaseItemPerson::fromJson(QJsonObject source) {
BaseItemPerson instance;

View file

@ -33,6 +33,18 @@ namespace Jellyfin {
namespace DTO {
BookInfo::BookInfo() {}
BookInfo::BookInfo(const BookInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_metadataLanguage(other.m_metadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_providerIds(other.m_providerIds),
m_year(other.m_year),
m_indexNumber(other.m_indexNumber),
m_parentIndexNumber(other.m_parentIndexNumber),
m_premiereDate(other.m_premiereDate),
m_isAutomated(other.m_isAutomated),
m_seriesName(other.m_seriesName){}
BookInfo BookInfo::fromJson(QJsonObject source) {
BookInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
BookInfoRemoteSearchQuery::BookInfoRemoteSearchQuery() {}
BookInfoRemoteSearchQuery::BookInfoRemoteSearchQuery(const BookInfoRemoteSearchQuery &other) :
m_searchInfo(other.m_searchInfo),
m_itemId(other.m_itemId),
m_searchProviderName(other.m_searchProviderName),
m_includeDisabledProviders(other.m_includeDisabledProviders){}
BookInfoRemoteSearchQuery BookInfoRemoteSearchQuery::fromJson(QJsonObject source) {
BookInfoRemoteSearchQuery instance;

View file

@ -33,6 +33,17 @@ namespace Jellyfin {
namespace DTO {
BoxSetInfo::BoxSetInfo() {}
BoxSetInfo::BoxSetInfo(const BoxSetInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_metadataLanguage(other.m_metadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_providerIds(other.m_providerIds),
m_year(other.m_year),
m_indexNumber(other.m_indexNumber),
m_parentIndexNumber(other.m_parentIndexNumber),
m_premiereDate(other.m_premiereDate),
m_isAutomated(other.m_isAutomated){}
BoxSetInfo BoxSetInfo::fromJson(QJsonObject source) {
BoxSetInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
BoxSetInfoRemoteSearchQuery::BoxSetInfoRemoteSearchQuery() {}
BoxSetInfoRemoteSearchQuery::BoxSetInfoRemoteSearchQuery(const BoxSetInfoRemoteSearchQuery &other) :
m_searchInfo(other.m_searchInfo),
m_itemId(other.m_itemId),
m_searchProviderName(other.m_searchProviderName),
m_includeDisabledProviders(other.m_includeDisabledProviders){}
BoxSetInfoRemoteSearchQuery BoxSetInfoRemoteSearchQuery::fromJson(QJsonObject source) {
BoxSetInfoRemoteSearchQuery instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
BrandingOptions::BrandingOptions() {}
BrandingOptions::BrandingOptions(const BrandingOptions &other) :
m_loginDisclaimer(other.m_loginDisclaimer),
m_customCss(other.m_customCss){}
BrandingOptions BrandingOptions::fromJson(QJsonObject source) {
BrandingOptions instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
BufferRequestDto::BufferRequestDto() {}
BufferRequestDto::BufferRequestDto(const BufferRequestDto &other) :
m_when(other.m_when),
m_positionTicks(other.m_positionTicks),
m_isPlaying(other.m_isPlaying),
m_playlistItemId(other.m_playlistItemId){}
BufferRequestDto BufferRequestDto::fromJson(QJsonObject source) {
BufferRequestDto instance;

View file

@ -33,6 +33,19 @@ namespace Jellyfin {
namespace DTO {
ChannelFeatures::ChannelFeatures() {}
ChannelFeatures::ChannelFeatures(const ChannelFeatures &other) :
m_name(other.m_name),
m_jellyfinId(other.m_jellyfinId),
m_canSearch(other.m_canSearch),
m_mediaTypes(other.m_mediaTypes),
m_contentTypes(other.m_contentTypes),
m_maxPageSize(other.m_maxPageSize),
m_autoRefreshLevels(other.m_autoRefreshLevels),
m_defaultSortFields(other.m_defaultSortFields),
m_supportsSortOrderToggle(other.m_supportsSortOrderToggle),
m_supportsLatestMedia(other.m_supportsLatestMedia),
m_canFilter(other.m_canFilter),
m_supportsContentDownloading(other.m_supportsContentDownloading){}
ChannelFeatures ChannelFeatures::fromJson(QJsonObject source) {
ChannelFeatures instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
ChannelMappingOptionsDto::ChannelMappingOptionsDto() {}
ChannelMappingOptionsDto::ChannelMappingOptionsDto(const ChannelMappingOptionsDto &other) :
m_tunerChannels(other.m_tunerChannels),
m_providerChannels(other.m_providerChannels),
m_mappings(other.m_mappings),
m_providerName(other.m_providerName){}
ChannelMappingOptionsDto ChannelMappingOptionsDto::fromJson(QJsonObject source) {
ChannelMappingOptionsDto instance;

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
ChapterInfo::ChapterInfo() {}
ChapterInfo::ChapterInfo(const ChapterInfo &other) :
m_startPositionTicks(other.m_startPositionTicks),
m_name(other.m_name),
m_imagePath(other.m_imagePath),
m_imageDateModified(other.m_imageDateModified),
m_imageTag(other.m_imageTag){}
ChapterInfo ChapterInfo::fromJson(QJsonObject source) {
ChapterInfo instance;

View file

@ -33,6 +33,17 @@ namespace Jellyfin {
namespace DTO {
ClientCapabilities::ClientCapabilities() {}
ClientCapabilities::ClientCapabilities(const ClientCapabilities &other) :
m_playableMediaTypes(other.m_playableMediaTypes),
m_supportedCommands(other.m_supportedCommands),
m_supportsMediaControl(other.m_supportsMediaControl),
m_supportsContentUploading(other.m_supportsContentUploading),
m_messageCallbackUrl(other.m_messageCallbackUrl),
m_supportsPersistentIdentifier(other.m_supportsPersistentIdentifier),
m_supportsSync(other.m_supportsSync),
m_deviceProfile(other.m_deviceProfile),
m_appStoreUrl(other.m_appStoreUrl),
m_iconUrl(other.m_iconUrl){}
ClientCapabilities ClientCapabilities::fromJson(QJsonObject source) {
ClientCapabilities instance;

View file

@ -33,6 +33,17 @@ namespace Jellyfin {
namespace DTO {
ClientCapabilitiesDto::ClientCapabilitiesDto() {}
ClientCapabilitiesDto::ClientCapabilitiesDto(const ClientCapabilitiesDto &other) :
m_playableMediaTypes(other.m_playableMediaTypes),
m_supportedCommands(other.m_supportedCommands),
m_supportsMediaControl(other.m_supportsMediaControl),
m_supportsContentUploading(other.m_supportsContentUploading),
m_messageCallbackUrl(other.m_messageCallbackUrl),
m_supportsPersistentIdentifier(other.m_supportsPersistentIdentifier),
m_supportsSync(other.m_supportsSync),
m_deviceProfile(other.m_deviceProfile),
m_appStoreUrl(other.m_appStoreUrl),
m_iconUrl(other.m_iconUrl){}
ClientCapabilitiesDto ClientCapabilitiesDto::fromJson(QJsonObject source) {
ClientCapabilitiesDto instance;

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
CodecProfile::CodecProfile() {}
CodecProfile::CodecProfile(const CodecProfile &other) :
m_type(other.m_type),
m_conditions(other.m_conditions),
m_applyConditions(other.m_applyConditions),
m_codec(other.m_codec),
m_container(other.m_container){}
CodecProfile CodecProfile::fromJson(QJsonObject source) {
CodecProfile instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
CollectionCreationResult::CollectionCreationResult() {}
CollectionCreationResult::CollectionCreationResult(const CollectionCreationResult &other) :
m_jellyfinId(other.m_jellyfinId){}
CollectionCreationResult CollectionCreationResult::fromJson(QJsonObject source) {
CollectionCreationResult instance;

View file

@ -33,6 +33,14 @@ namespace Jellyfin {
namespace DTO {
ConfigurationPageInfo::ConfigurationPageInfo() {}
ConfigurationPageInfo::ConfigurationPageInfo(const ConfigurationPageInfo &other) :
m_name(other.m_name),
m_enableInMainMenu(other.m_enableInMainMenu),
m_menuSection(other.m_menuSection),
m_menuIcon(other.m_menuIcon),
m_displayName(other.m_displayName),
m_configurationPageType(other.m_configurationPageType),
m_pluginId(other.m_pluginId){}
ConfigurationPageInfo ConfigurationPageInfo::fromJson(QJsonObject source) {
ConfigurationPageInfo instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
ContainerProfile::ContainerProfile() {}
ContainerProfile::ContainerProfile(const ContainerProfile &other) :
m_type(other.m_type),
m_conditions(other.m_conditions),
m_container(other.m_container){}
ContainerProfile ContainerProfile::fromJson(QJsonObject source) {
ContainerProfile instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
ControlResponse::ControlResponse() {}
ControlResponse::ControlResponse(const ControlResponse &other) :
m_headers(other.m_headers),
m_xml(other.m_xml),
m_isSuccessful(other.m_isSuccessful){}
ControlResponse ControlResponse::fromJson(QJsonObject source) {
ControlResponse instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
CountryInfo::CountryInfo() {}
CountryInfo::CountryInfo(const CountryInfo &other) :
m_name(other.m_name),
m_displayName(other.m_displayName),
m_twoLetterISORegionName(other.m_twoLetterISORegionName),
m_threeLetterISORegionName(other.m_threeLetterISORegionName){}
CountryInfo CountryInfo::fromJson(QJsonObject source) {
CountryInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
CreatePlaylistDto::CreatePlaylistDto() {}
CreatePlaylistDto::CreatePlaylistDto(const CreatePlaylistDto &other) :
m_name(other.m_name),
m_ids(other.m_ids),
m_userId(other.m_userId),
m_mediaType(other.m_mediaType){}
CreatePlaylistDto CreatePlaylistDto::fromJson(QJsonObject source) {
CreatePlaylistDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
CreateUserByName::CreateUserByName() {}
CreateUserByName::CreateUserByName(const CreateUserByName &other) :
m_name(other.m_name),
m_password(other.m_password){}
CreateUserByName CreateUserByName::fromJson(QJsonObject source) {
CreateUserByName instance;

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
CultureDto::CultureDto() {}
CultureDto::CultureDto(const CultureDto &other) :
m_name(other.m_name),
m_displayName(other.m_displayName),
m_twoLetterISOLanguageName(other.m_twoLetterISOLanguageName),
m_threeLetterISOLanguageName(other.m_threeLetterISOLanguageName),
m_threeLetterISOLanguageNames(other.m_threeLetterISOLanguageNames){}
CultureDto CultureDto::fromJson(QJsonObject source) {
CultureDto instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
DefaultDirectoryBrowserInfoDto::DefaultDirectoryBrowserInfoDto() {}
DefaultDirectoryBrowserInfoDto::DefaultDirectoryBrowserInfoDto(const DefaultDirectoryBrowserInfoDto &other) :
m_path(other.m_path){}
DefaultDirectoryBrowserInfoDto DefaultDirectoryBrowserInfoDto::fromJson(QJsonObject source) {
DefaultDirectoryBrowserInfoDto instance;

View file

@ -33,6 +33,16 @@ namespace Jellyfin {
namespace DTO {
DeviceIdentification::DeviceIdentification() {}
DeviceIdentification::DeviceIdentification(const DeviceIdentification &other) :
m_friendlyName(other.m_friendlyName),
m_modelNumber(other.m_modelNumber),
m_serialNumber(other.m_serialNumber),
m_modelName(other.m_modelName),
m_modelDescription(other.m_modelDescription),
m_modelUrl(other.m_modelUrl),
m_manufacturer(other.m_manufacturer),
m_manufacturerUrl(other.m_manufacturerUrl),
m_headers(other.m_headers){}
DeviceIdentification DeviceIdentification::fromJson(QJsonObject source) {
DeviceIdentification instance;

View file

@ -33,6 +33,16 @@ namespace Jellyfin {
namespace DTO {
DeviceInfo::DeviceInfo() {}
DeviceInfo::DeviceInfo(const DeviceInfo &other) :
m_name(other.m_name),
m_jellyfinId(other.m_jellyfinId),
m_lastUserName(other.m_lastUserName),
m_appName(other.m_appName),
m_appVersion(other.m_appVersion),
m_lastUserId(other.m_lastUserId),
m_dateLastActivity(other.m_dateLastActivity),
m_capabilities(other.m_capabilities),
m_iconUrl(other.m_iconUrl){}
DeviceInfo DeviceInfo::fromJson(QJsonObject source) {
DeviceInfo instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
DeviceInfoQueryResult::DeviceInfoQueryResult() {}
DeviceInfoQueryResult::DeviceInfoQueryResult(const DeviceInfoQueryResult &other) :
m_items(other.m_items),
m_totalRecordCount(other.m_totalRecordCount),
m_startIndex(other.m_startIndex){}
DeviceInfoQueryResult DeviceInfoQueryResult::fromJson(QJsonObject source) {
DeviceInfoQueryResult instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
DeviceOptions::DeviceOptions() {}
DeviceOptions::DeviceOptions(const DeviceOptions &other) :
m_customName(other.m_customName){}
DeviceOptions DeviceOptions::fromJson(QJsonObject source) {
DeviceOptions instance;

View file

@ -33,6 +33,46 @@ namespace Jellyfin {
namespace DTO {
DeviceProfile::DeviceProfile() {}
DeviceProfile::DeviceProfile(const DeviceProfile &other) :
m_name(other.m_name),
m_jellyfinId(other.m_jellyfinId),
m_identification(other.m_identification),
m_friendlyName(other.m_friendlyName),
m_manufacturer(other.m_manufacturer),
m_manufacturerUrl(other.m_manufacturerUrl),
m_modelName(other.m_modelName),
m_modelDescription(other.m_modelDescription),
m_modelNumber(other.m_modelNumber),
m_modelUrl(other.m_modelUrl),
m_serialNumber(other.m_serialNumber),
m_enableAlbumArtInDidl(other.m_enableAlbumArtInDidl),
m_enableSingleAlbumArtLimit(other.m_enableSingleAlbumArtLimit),
m_enableSingleSubtitleLimit(other.m_enableSingleSubtitleLimit),
m_supportedMediaTypes(other.m_supportedMediaTypes),
m_userId(other.m_userId),
m_albumArtPn(other.m_albumArtPn),
m_maxAlbumArtWidth(other.m_maxAlbumArtWidth),
m_maxAlbumArtHeight(other.m_maxAlbumArtHeight),
m_maxIconWidth(other.m_maxIconWidth),
m_maxIconHeight(other.m_maxIconHeight),
m_maxStreamingBitrate(other.m_maxStreamingBitrate),
m_maxStaticBitrate(other.m_maxStaticBitrate),
m_musicStreamingTranscodingBitrate(other.m_musicStreamingTranscodingBitrate),
m_maxStaticMusicBitrate(other.m_maxStaticMusicBitrate),
m_sonyAggregationFlags(other.m_sonyAggregationFlags),
m_protocolInfo(other.m_protocolInfo),
m_timelineOffsetSeconds(other.m_timelineOffsetSeconds),
m_requiresPlainVideoItems(other.m_requiresPlainVideoItems),
m_requiresPlainFolders(other.m_requiresPlainFolders),
m_enableMSMediaReceiverRegistrar(other.m_enableMSMediaReceiverRegistrar),
m_ignoreTranscodeByteRangeRequests(other.m_ignoreTranscodeByteRangeRequests),
m_xmlRootAttributes(other.m_xmlRootAttributes),
m_directPlayProfiles(other.m_directPlayProfiles),
m_transcodingProfiles(other.m_transcodingProfiles),
m_containerProfiles(other.m_containerProfiles),
m_codecProfiles(other.m_codecProfiles),
m_responseProfiles(other.m_responseProfiles),
m_subtitleProfiles(other.m_subtitleProfiles){}
DeviceProfile DeviceProfile::fromJson(QJsonObject source) {
DeviceProfile instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
DeviceProfileInfo::DeviceProfileInfo() {}
DeviceProfileInfo::DeviceProfileInfo(const DeviceProfileInfo &other) :
m_jellyfinId(other.m_jellyfinId),
m_name(other.m_name),
m_type(other.m_type){}
DeviceProfileInfo DeviceProfileInfo::fromJson(QJsonObject source) {
DeviceProfileInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
DirectPlayProfile::DirectPlayProfile() {}
DirectPlayProfile::DirectPlayProfile(const DirectPlayProfile &other) :
m_container(other.m_container),
m_audioCodec(other.m_audioCodec),
m_videoCodec(other.m_videoCodec),
m_type(other.m_type){}
DirectPlayProfile DirectPlayProfile::fromJson(QJsonObject source) {
DirectPlayProfile instance;

View file

@ -33,6 +33,21 @@ namespace Jellyfin {
namespace DTO {
DisplayPreferencesDto::DisplayPreferencesDto() {}
DisplayPreferencesDto::DisplayPreferencesDto(const DisplayPreferencesDto &other) :
m_jellyfinId(other.m_jellyfinId),
m_viewType(other.m_viewType),
m_sortBy(other.m_sortBy),
m_indexBy(other.m_indexBy),
m_rememberIndexing(other.m_rememberIndexing),
m_primaryImageHeight(other.m_primaryImageHeight),
m_primaryImageWidth(other.m_primaryImageWidth),
m_customPrefs(other.m_customPrefs),
m_scrollDirection(other.m_scrollDirection),
m_showBackdrop(other.m_showBackdrop),
m_rememberSorting(other.m_rememberSorting),
m_sortOrder(other.m_sortOrder),
m_showSidebar(other.m_showSidebar),
m_client(other.m_client){}
DisplayPreferencesDto DisplayPreferencesDto::fromJson(QJsonObject source) {
DisplayPreferencesDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
EndPointInfo::EndPointInfo() {}
EndPointInfo::EndPointInfo(const EndPointInfo &other) :
m_isLocal(other.m_isLocal),
m_isInNetwork(other.m_isInNetwork){}
EndPointInfo EndPointInfo::fromJson(QJsonObject source) {
EndPointInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
ExternalIdInfo::ExternalIdInfo() {}
ExternalIdInfo::ExternalIdInfo(const ExternalIdInfo &other) :
m_name(other.m_name),
m_key(other.m_key),
m_type(other.m_type),
m_urlFormatString(other.m_urlFormatString){}
ExternalIdInfo ExternalIdInfo::fromJson(QJsonObject source) {
ExternalIdInfo instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
ExternalUrl::ExternalUrl() {}
ExternalUrl::ExternalUrl(const ExternalUrl &other) :
m_name(other.m_name),
m_url(other.m_url){}
ExternalUrl ExternalUrl::fromJson(QJsonObject source) {
ExternalUrl instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
FileSystemEntryInfo::FileSystemEntryInfo() {}
FileSystemEntryInfo::FileSystemEntryInfo(const FileSystemEntryInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_type(other.m_type){}
FileSystemEntryInfo FileSystemEntryInfo::fromJson(QJsonObject source) {
FileSystemEntryInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
FontFile::FontFile() {}
FontFile::FontFile(const FontFile &other) :
m_name(other.m_name),
m_size(other.m_size),
m_dateCreated(other.m_dateCreated),
m_dateModified(other.m_dateModified){}
FontFile FontFile::fromJson(QJsonObject source) {
FontFile instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
ForgotPasswordDto::ForgotPasswordDto() {}
ForgotPasswordDto::ForgotPasswordDto(const ForgotPasswordDto &other) :
m_enteredUsername(other.m_enteredUsername){}
ForgotPasswordDto ForgotPasswordDto::fromJson(QJsonObject source) {
ForgotPasswordDto instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
ForgotPasswordResult::ForgotPasswordResult() {}
ForgotPasswordResult::ForgotPasswordResult(const ForgotPasswordResult &other) :
m_action(other.m_action),
m_pinFile(other.m_pinFile),
m_pinExpirationDate(other.m_pinExpirationDate){}
ForgotPasswordResult ForgotPasswordResult::fromJson(QJsonObject source) {
ForgotPasswordResult instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
GeneralCommand::GeneralCommand() {}
GeneralCommand::GeneralCommand(const GeneralCommand &other) :
m_name(other.m_name),
m_controllingUserId(other.m_controllingUserId),
m_arguments(other.m_arguments){}
GeneralCommand GeneralCommand::fromJson(QJsonObject source) {
GeneralCommand instance;

View file

@ -33,6 +33,34 @@ namespace Jellyfin {
namespace DTO {
GetProgramsDto::GetProgramsDto() {}
GetProgramsDto::GetProgramsDto(const GetProgramsDto &other) :
m_channelIds(other.m_channelIds),
m_userId(other.m_userId),
m_minStartDate(other.m_minStartDate),
m_hasAired(other.m_hasAired),
m_isAiring(other.m_isAiring),
m_maxStartDate(other.m_maxStartDate),
m_minEndDate(other.m_minEndDate),
m_maxEndDate(other.m_maxEndDate),
m_isMovie(other.m_isMovie),
m_isSeries(other.m_isSeries),
m_isNews(other.m_isNews),
m_isKids(other.m_isKids),
m_isSports(other.m_isSports),
m_startIndex(other.m_startIndex),
m_limit(other.m_limit),
m_sortBy(other.m_sortBy),
m_sortOrder(other.m_sortOrder),
m_genres(other.m_genres),
m_genreIds(other.m_genreIds),
m_enableImages(other.m_enableImages),
m_enableTotalRecordCount(other.m_enableTotalRecordCount),
m_imageTypeLimit(other.m_imageTypeLimit),
m_enableImageTypes(other.m_enableImageTypes),
m_enableUserData(other.m_enableUserData),
m_seriesTimerId(other.m_seriesTimerId),
m_librarySeriesId(other.m_librarySeriesId),
m_fields(other.m_fields){}
GetProgramsDto GetProgramsDto::fromJson(QJsonObject source) {
GetProgramsDto instance;

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
GroupInfoDto::GroupInfoDto() {}
GroupInfoDto::GroupInfoDto(const GroupInfoDto &other) :
m_groupId(other.m_groupId),
m_groupName(other.m_groupName),
m_state(other.m_state),
m_participants(other.m_participants),
m_lastUpdatedAt(other.m_lastUpdatedAt){}
GroupInfoDto GroupInfoDto::fromJson(QJsonObject source) {
GroupInfoDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
GuideInfo::GuideInfo() {}
GuideInfo::GuideInfo(const GuideInfo &other) :
m_startDate(other.m_startDate),
m_endDate(other.m_endDate){}
GuideInfo GuideInfo::fromJson(QJsonObject source) {
GuideInfo instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
HttpHeaderInfo::HttpHeaderInfo() {}
HttpHeaderInfo::HttpHeaderInfo(const HttpHeaderInfo &other) :
m_name(other.m_name),
m_value(other.m_value),
m_match(other.m_match){}
HttpHeaderInfo HttpHeaderInfo::fromJson(QJsonObject source) {
HttpHeaderInfo instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
IgnoreWaitRequestDto::IgnoreWaitRequestDto() {}
IgnoreWaitRequestDto::IgnoreWaitRequestDto(const IgnoreWaitRequestDto &other) :
m_ignoreWait(other.m_ignoreWait){}
IgnoreWaitRequestDto IgnoreWaitRequestDto::fromJson(QJsonObject source) {
IgnoreWaitRequestDto instance;

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
ImageByNameInfo::ImageByNameInfo() {}
ImageByNameInfo::ImageByNameInfo(const ImageByNameInfo &other) :
m_name(other.m_name),
m_theme(other.m_theme),
m_context(other.m_context),
m_fileLength(other.m_fileLength),
m_format(other.m_format){}
ImageByNameInfo ImageByNameInfo::fromJson(QJsonObject source) {
ImageByNameInfo instance;

View file

@ -33,6 +33,15 @@ namespace Jellyfin {
namespace DTO {
ImageInfo::ImageInfo() {}
ImageInfo::ImageInfo(const ImageInfo &other) :
m_imageType(other.m_imageType),
m_imageIndex(other.m_imageIndex),
m_imageTag(other.m_imageTag),
m_path(other.m_path),
m_blurHash(other.m_blurHash),
m_height(other.m_height),
m_width(other.m_width),
m_size(other.m_size){}
ImageInfo ImageInfo::fromJson(QJsonObject source) {
ImageInfo instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
ImageOption::ImageOption() {}
ImageOption::ImageOption(const ImageOption &other) :
m_type(other.m_type),
m_limit(other.m_limit),
m_minWidth(other.m_minWidth){}
ImageOption ImageOption::fromJson(QJsonObject source) {
ImageOption instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
ImageProviderInfo::ImageProviderInfo() {}
ImageProviderInfo::ImageProviderInfo(const ImageProviderInfo &other) :
m_name(other.m_name),
m_supportedImages(other.m_supportedImages){}
ImageProviderInfo ImageProviderInfo::fromJson(QJsonObject source) {
ImageProviderInfo instance;

View file

@ -33,6 +33,13 @@ namespace Jellyfin {
namespace DTO {
InstallationInfo::InstallationInfo() {}
InstallationInfo::InstallationInfo(const InstallationInfo &other) :
m_guid(other.m_guid),
m_name(other.m_name),
m_version(other.m_version),
m_changelog(other.m_changelog),
m_sourceUrl(other.m_sourceUrl),
m_checksum(other.m_checksum){}
InstallationInfo InstallationInfo::fromJson(QJsonObject source) {
InstallationInfo instance;

View file

@ -33,6 +33,14 @@ namespace Jellyfin {
namespace DTO {
IPlugin::IPlugin() {}
IPlugin::IPlugin(const IPlugin &other) :
m_name(other.m_name),
m_description(other.m_description),
m_jellyfinId(other.m_jellyfinId),
m_version(other.m_version),
m_assemblyFilePath(other.m_assemblyFilePath),
m_canUninstall(other.m_canUninstall),
m_dataFolderPath(other.m_dataFolderPath){}
IPlugin IPlugin::fromJson(QJsonObject source) {
IPlugin instance;

View file

@ -33,6 +33,19 @@ namespace Jellyfin {
namespace DTO {
ItemCounts::ItemCounts() {}
ItemCounts::ItemCounts(const ItemCounts &other) :
m_movieCount(other.m_movieCount),
m_seriesCount(other.m_seriesCount),
m_episodeCount(other.m_episodeCount),
m_artistCount(other.m_artistCount),
m_programCount(other.m_programCount),
m_trailerCount(other.m_trailerCount),
m_songCount(other.m_songCount),
m_albumCount(other.m_albumCount),
m_musicVideoCount(other.m_musicVideoCount),
m_boxSetCount(other.m_boxSetCount),
m_bookCount(other.m_bookCount),
m_itemCount(other.m_itemCount){}
ItemCounts ItemCounts::fromJson(QJsonObject source) {
ItemCounts instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
JoinGroupRequestDto::JoinGroupRequestDto() {}
JoinGroupRequestDto::JoinGroupRequestDto(const JoinGroupRequestDto &other) :
m_groupId(other.m_groupId){}
JoinGroupRequestDto JoinGroupRequestDto::fromJson(QJsonObject source) {
JoinGroupRequestDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
LibraryOptionInfoDto::LibraryOptionInfoDto() {}
LibraryOptionInfoDto::LibraryOptionInfoDto(const LibraryOptionInfoDto &other) :
m_name(other.m_name),
m_defaultEnabled(other.m_defaultEnabled){}
LibraryOptionInfoDto LibraryOptionInfoDto::fromJson(QJsonObject source) {
LibraryOptionInfoDto instance;

View file

@ -33,6 +33,32 @@ namespace Jellyfin {
namespace DTO {
LibraryOptions::LibraryOptions() {}
LibraryOptions::LibraryOptions(const LibraryOptions &other) :
m_enablePhotos(other.m_enablePhotos),
m_enableRealtimeMonitor(other.m_enableRealtimeMonitor),
m_enableChapterImageExtraction(other.m_enableChapterImageExtraction),
m_extractChapterImagesDuringLibraryScan(other.m_extractChapterImagesDuringLibraryScan),
m_pathInfos(other.m_pathInfos),
m_saveLocalMetadata(other.m_saveLocalMetadata),
m_enableInternetProviders(other.m_enableInternetProviders),
m_enableAutomaticSeriesGrouping(other.m_enableAutomaticSeriesGrouping),
m_enableEmbeddedTitles(other.m_enableEmbeddedTitles),
m_enableEmbeddedEpisodeInfos(other.m_enableEmbeddedEpisodeInfos),
m_automaticRefreshIntervalDays(other.m_automaticRefreshIntervalDays),
m_preferredMetadataLanguage(other.m_preferredMetadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_seasonZeroDisplayName(other.m_seasonZeroDisplayName),
m_metadataSavers(other.m_metadataSavers),
m_disabledLocalMetadataReaders(other.m_disabledLocalMetadataReaders),
m_localMetadataReaderOrder(other.m_localMetadataReaderOrder),
m_disabledSubtitleFetchers(other.m_disabledSubtitleFetchers),
m_subtitleFetcherOrder(other.m_subtitleFetcherOrder),
m_skipSubtitlesIfEmbeddedSubtitlesPresent(other.m_skipSubtitlesIfEmbeddedSubtitlesPresent),
m_skipSubtitlesIfAudioTrackMatches(other.m_skipSubtitlesIfAudioTrackMatches),
m_subtitleDownloadLanguages(other.m_subtitleDownloadLanguages),
m_requirePerfectSubtitleMatch(other.m_requirePerfectSubtitleMatch),
m_saveSubtitlesWithMedia(other.m_saveSubtitlesWithMedia),
m_typeOptions(other.m_typeOptions){}
LibraryOptions LibraryOptions::fromJson(QJsonObject source) {
LibraryOptions instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
LibraryOptionsResultDto::LibraryOptionsResultDto() {}
LibraryOptionsResultDto::LibraryOptionsResultDto(const LibraryOptionsResultDto &other) :
m_metadataSavers(other.m_metadataSavers),
m_metadataReaders(other.m_metadataReaders),
m_subtitleFetchers(other.m_subtitleFetchers),
m_typeOptions(other.m_typeOptions){}
LibraryOptionsResultDto LibraryOptionsResultDto::fromJson(QJsonObject source) {
LibraryOptionsResultDto instance;

View file

@ -33,6 +33,12 @@ namespace Jellyfin {
namespace DTO {
LibraryTypeOptionsDto::LibraryTypeOptionsDto() {}
LibraryTypeOptionsDto::LibraryTypeOptionsDto(const LibraryTypeOptionsDto &other) :
m_type(other.m_type),
m_metadataFetchers(other.m_metadataFetchers),
m_imageFetchers(other.m_imageFetchers),
m_supportedImageTypes(other.m_supportedImageTypes),
m_defaultImageOptions(other.m_defaultImageOptions){}
LibraryTypeOptionsDto LibraryTypeOptionsDto::fromJson(QJsonObject source) {
LibraryTypeOptionsDto instance;

View file

@ -33,6 +33,14 @@ namespace Jellyfin {
namespace DTO {
LibraryUpdateInfo::LibraryUpdateInfo() {}
LibraryUpdateInfo::LibraryUpdateInfo(const LibraryUpdateInfo &other) :
m_foldersAddedTo(other.m_foldersAddedTo),
m_foldersRemovedFrom(other.m_foldersRemovedFrom),
m_itemsAdded(other.m_itemsAdded),
m_itemsRemoved(other.m_itemsRemoved),
m_itemsUpdated(other.m_itemsUpdated),
m_collectionFolders(other.m_collectionFolders),
m_isEmpty(other.m_isEmpty){}
LibraryUpdateInfo LibraryUpdateInfo::fromJson(QJsonObject source) {
LibraryUpdateInfo instance;

View file

@ -33,6 +33,25 @@ namespace Jellyfin {
namespace DTO {
ListingsProviderInfo::ListingsProviderInfo() {}
ListingsProviderInfo::ListingsProviderInfo(const ListingsProviderInfo &other) :
m_jellyfinId(other.m_jellyfinId),
m_type(other.m_type),
m_username(other.m_username),
m_password(other.m_password),
m_listingsId(other.m_listingsId),
m_zipCode(other.m_zipCode),
m_country(other.m_country),
m_path(other.m_path),
m_enabledTuners(other.m_enabledTuners),
m_enableAllTuners(other.m_enableAllTuners),
m_newsCategories(other.m_newsCategories),
m_sportsCategories(other.m_sportsCategories),
m_kidsCategories(other.m_kidsCategories),
m_movieCategories(other.m_movieCategories),
m_channelMappings(other.m_channelMappings),
m_moviePrefix(other.m_moviePrefix),
m_preferredLanguage(other.m_preferredLanguage),
m_userAgent(other.m_userAgent){}
ListingsProviderInfo ListingsProviderInfo::fromJson(QJsonObject source) {
ListingsProviderInfo instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
LiveStreamResponse::LiveStreamResponse() {}
LiveStreamResponse::LiveStreamResponse(const LiveStreamResponse &other) :
m_mediaSource(other.m_mediaSource){}
LiveStreamResponse LiveStreamResponse::fromJson(QJsonObject source) {
LiveStreamResponse instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
LiveTvInfo::LiveTvInfo() {}
LiveTvInfo::LiveTvInfo(const LiveTvInfo &other) :
m_services(other.m_services),
m_isEnabled(other.m_isEnabled),
m_enabledUsers(other.m_enabledUsers){}
LiveTvInfo LiveTvInfo::fromJson(QJsonObject source) {
LiveTvInfo instance;

View file

@ -33,6 +33,15 @@ namespace Jellyfin {
namespace DTO {
LiveTvServiceInfo::LiveTvServiceInfo() {}
LiveTvServiceInfo::LiveTvServiceInfo(const LiveTvServiceInfo &other) :
m_name(other.m_name),
m_homePageUrl(other.m_homePageUrl),
m_status(other.m_status),
m_statusMessage(other.m_statusMessage),
m_version(other.m_version),
m_hasUpdateAvailable(other.m_hasUpdateAvailable),
m_isVisible(other.m_isVisible),
m_tuners(other.m_tuners){}
LiveTvServiceInfo LiveTvServiceInfo::fromJson(QJsonObject source) {
LiveTvServiceInfo instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
LocalizationOption::LocalizationOption() {}
LocalizationOption::LocalizationOption(const LocalizationOption &other) :
m_name(other.m_name),
m_value(other.m_value){}
LocalizationOption LocalizationOption::fromJson(QJsonObject source) {
LocalizationOption instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
LogFile::LogFile() {}
LogFile::LogFile(const LogFile &other) :
m_dateCreated(other.m_dateCreated),
m_dateModified(other.m_dateModified),
m_size(other.m_size),
m_name(other.m_name){}
LogFile LogFile::fromJson(QJsonObject source) {
LogFile instance;

View file

@ -33,6 +33,14 @@ namespace Jellyfin {
namespace DTO {
MediaAttachment::MediaAttachment() {}
MediaAttachment::MediaAttachment(const MediaAttachment &other) :
m_codec(other.m_codec),
m_codecTag(other.m_codecTag),
m_comment(other.m_comment),
m_index(other.m_index),
m_fileName(other.m_fileName),
m_mimeType(other.m_mimeType),
m_deliveryUrl(other.m_deliveryUrl){}
MediaAttachment MediaAttachment::fromJson(QJsonObject source) {
MediaAttachment instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
MediaEncoderPathDto::MediaEncoderPathDto() {}
MediaEncoderPathDto::MediaEncoderPathDto(const MediaEncoderPathDto &other) :
m_path(other.m_path),
m_pathType(other.m_pathType){}
MediaEncoderPathDto MediaEncoderPathDto::fromJson(QJsonObject source) {
MediaEncoderPathDto instance;

View file

@ -33,6 +33,10 @@ namespace Jellyfin {
namespace DTO {
MediaPathDto::MediaPathDto() {}
MediaPathDto::MediaPathDto(const MediaPathDto &other) :
m_name(other.m_name),
m_path(other.m_path),
m_pathInfo(other.m_pathInfo){}
MediaPathDto MediaPathDto::fromJson(QJsonObject source) {
MediaPathDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
MediaPathInfo::MediaPathInfo() {}
MediaPathInfo::MediaPathInfo(const MediaPathInfo &other) :
m_path(other.m_path),
m_networkPath(other.m_networkPath){}
MediaPathInfo MediaPathInfo::fromJson(QJsonObject source) {
MediaPathInfo instance;

View file

@ -33,6 +33,49 @@ namespace Jellyfin {
namespace DTO {
MediaSourceInfo::MediaSourceInfo() {}
MediaSourceInfo::MediaSourceInfo(const MediaSourceInfo &other) :
m_protocol(other.m_protocol),
m_jellyfinId(other.m_jellyfinId),
m_path(other.m_path),
m_encoderPath(other.m_encoderPath),
m_encoderProtocol(other.m_encoderProtocol),
m_type(other.m_type),
m_container(other.m_container),
m_size(other.m_size),
m_name(other.m_name),
m_isRemote(other.m_isRemote),
m_eTag(other.m_eTag),
m_runTimeTicks(other.m_runTimeTicks),
m_readAtNativeFramerate(other.m_readAtNativeFramerate),
m_ignoreDts(other.m_ignoreDts),
m_ignoreIndex(other.m_ignoreIndex),
m_genPtsInput(other.m_genPtsInput),
m_supportsTranscoding(other.m_supportsTranscoding),
m_supportsDirectStream(other.m_supportsDirectStream),
m_supportsDirectPlay(other.m_supportsDirectPlay),
m_isInfiniteStream(other.m_isInfiniteStream),
m_requiresOpening(other.m_requiresOpening),
m_openToken(other.m_openToken),
m_requiresClosing(other.m_requiresClosing),
m_liveStreamId(other.m_liveStreamId),
m_bufferMs(other.m_bufferMs),
m_requiresLooping(other.m_requiresLooping),
m_supportsProbing(other.m_supportsProbing),
m_videoType(other.m_videoType),
m_isoType(other.m_isoType),
m_video3DFormat(other.m_video3DFormat),
m_mediaStreams(other.m_mediaStreams),
m_mediaAttachments(other.m_mediaAttachments),
m_formats(other.m_formats),
m_bitrate(other.m_bitrate),
m_timestamp(other.m_timestamp),
m_requiredHttpHeaders(other.m_requiredHttpHeaders),
m_transcodingUrl(other.m_transcodingUrl),
m_transcodingSubProtocol(other.m_transcodingSubProtocol),
m_transcodingContainer(other.m_transcodingContainer),
m_analyzeDurationMs(other.m_analyzeDurationMs),
m_defaultAudioStreamIndex(other.m_defaultAudioStreamIndex),
m_defaultSubtitleStreamIndex(other.m_defaultSubtitleStreamIndex){}
MediaSourceInfo MediaSourceInfo::fromJson(QJsonObject source) {
MediaSourceInfo instance;

View file

@ -33,6 +33,54 @@ namespace Jellyfin {
namespace DTO {
MediaStream::MediaStream() {}
MediaStream::MediaStream(const MediaStream &other) :
m_codec(other.m_codec),
m_codecTag(other.m_codecTag),
m_language(other.m_language),
m_colorRange(other.m_colorRange),
m_colorSpace(other.m_colorSpace),
m_colorTransfer(other.m_colorTransfer),
m_colorPrimaries(other.m_colorPrimaries),
m_comment(other.m_comment),
m_timeBase(other.m_timeBase),
m_codecTimeBase(other.m_codecTimeBase),
m_title(other.m_title),
m_videoRange(other.m_videoRange),
m_localizedUndefined(other.m_localizedUndefined),
m_localizedDefault(other.m_localizedDefault),
m_localizedForced(other.m_localizedForced),
m_displayTitle(other.m_displayTitle),
m_nalLengthSize(other.m_nalLengthSize),
m_isInterlaced(other.m_isInterlaced),
m_isAVC(other.m_isAVC),
m_channelLayout(other.m_channelLayout),
m_bitRate(other.m_bitRate),
m_bitDepth(other.m_bitDepth),
m_refFrames(other.m_refFrames),
m_packetLength(other.m_packetLength),
m_channels(other.m_channels),
m_sampleRate(other.m_sampleRate),
m_isDefault(other.m_isDefault),
m_isForced(other.m_isForced),
m_height(other.m_height),
m_width(other.m_width),
m_averageFrameRate(other.m_averageFrameRate),
m_realFrameRate(other.m_realFrameRate),
m_profile(other.m_profile),
m_type(other.m_type),
m_aspectRatio(other.m_aspectRatio),
m_index(other.m_index),
m_score(other.m_score),
m_isExternal(other.m_isExternal),
m_deliveryMethod(other.m_deliveryMethod),
m_deliveryUrl(other.m_deliveryUrl),
m_isExternalUrl(other.m_isExternalUrl),
m_isTextSubtitleStream(other.m_isTextSubtitleStream),
m_supportsExternalStream(other.m_supportsExternalStream),
m_path(other.m_path),
m_pixelFormat(other.m_pixelFormat),
m_level(other.m_level),
m_isAnamorphic(other.m_isAnamorphic){}
MediaStream MediaStream::fromJson(QJsonObject source) {
MediaStream instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
MediaUpdateInfoDto::MediaUpdateInfoDto() {}
MediaUpdateInfoDto::MediaUpdateInfoDto(const MediaUpdateInfoDto &other) :
m_path(other.m_path),
m_updateType(other.m_updateType){}
MediaUpdateInfoDto MediaUpdateInfoDto::fromJson(QJsonObject source) {
MediaUpdateInfoDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
MediaUrl::MediaUrl() {}
MediaUrl::MediaUrl(const MediaUrl &other) :
m_url(other.m_url),
m_name(other.m_name){}
MediaUrl MediaUrl::fromJson(QJsonObject source) {
MediaUrl instance;

View file

@ -33,6 +33,13 @@ namespace Jellyfin {
namespace DTO {
MetadataEditorInfo::MetadataEditorInfo() {}
MetadataEditorInfo::MetadataEditorInfo(const MetadataEditorInfo &other) :
m_parentalRatingOptions(other.m_parentalRatingOptions),
m_countries(other.m_countries),
m_cultures(other.m_cultures),
m_externalIdInfos(other.m_externalIdInfos),
m_contentType(other.m_contentType),
m_contentTypeOptions(other.m_contentTypeOptions){}
MetadataEditorInfo MetadataEditorInfo::fromJson(QJsonObject source) {
MetadataEditorInfo instance;

View file

@ -33,6 +33,14 @@ namespace Jellyfin {
namespace DTO {
MetadataOptions::MetadataOptions() {}
MetadataOptions::MetadataOptions(const MetadataOptions &other) :
m_itemType(other.m_itemType),
m_disabledMetadataSavers(other.m_disabledMetadataSavers),
m_localMetadataReaderOrder(other.m_localMetadataReaderOrder),
m_disabledMetadataFetchers(other.m_disabledMetadataFetchers),
m_metadataFetcherOrder(other.m_metadataFetcherOrder),
m_disabledImageFetchers(other.m_disabledImageFetchers),
m_imageFetcherOrder(other.m_imageFetcherOrder){}
MetadataOptions MetadataOptions::fromJson(QJsonObject source) {
MetadataOptions instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
MovePlaylistItemRequestDto::MovePlaylistItemRequestDto() {}
MovePlaylistItemRequestDto::MovePlaylistItemRequestDto(const MovePlaylistItemRequestDto &other) :
m_playlistItemId(other.m_playlistItemId),
m_newIndex(other.m_newIndex){}
MovePlaylistItemRequestDto MovePlaylistItemRequestDto::fromJson(QJsonObject source) {
MovePlaylistItemRequestDto instance;

View file

@ -33,6 +33,17 @@ namespace Jellyfin {
namespace DTO {
MovieInfo::MovieInfo() {}
MovieInfo::MovieInfo(const MovieInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_metadataLanguage(other.m_metadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_providerIds(other.m_providerIds),
m_year(other.m_year),
m_indexNumber(other.m_indexNumber),
m_parentIndexNumber(other.m_parentIndexNumber),
m_premiereDate(other.m_premiereDate),
m_isAutomated(other.m_isAutomated){}
MovieInfo MovieInfo::fromJson(QJsonObject source) {
MovieInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
MovieInfoRemoteSearchQuery::MovieInfoRemoteSearchQuery() {}
MovieInfoRemoteSearchQuery::MovieInfoRemoteSearchQuery(const MovieInfoRemoteSearchQuery &other) :
m_searchInfo(other.m_searchInfo),
m_itemId(other.m_itemId),
m_searchProviderName(other.m_searchProviderName),
m_includeDisabledProviders(other.m_includeDisabledProviders){}
MovieInfoRemoteSearchQuery MovieInfoRemoteSearchQuery::fromJson(QJsonObject source) {
MovieInfoRemoteSearchQuery instance;

View file

@ -33,6 +33,18 @@ namespace Jellyfin {
namespace DTO {
MusicVideoInfo::MusicVideoInfo() {}
MusicVideoInfo::MusicVideoInfo(const MusicVideoInfo &other) :
m_name(other.m_name),
m_path(other.m_path),
m_metadataLanguage(other.m_metadataLanguage),
m_metadataCountryCode(other.m_metadataCountryCode),
m_providerIds(other.m_providerIds),
m_year(other.m_year),
m_indexNumber(other.m_indexNumber),
m_parentIndexNumber(other.m_parentIndexNumber),
m_premiereDate(other.m_premiereDate),
m_isAutomated(other.m_isAutomated),
m_artists(other.m_artists){}
MusicVideoInfo MusicVideoInfo::fromJson(QJsonObject source) {
MusicVideoInfo instance;

View file

@ -33,6 +33,11 @@ namespace Jellyfin {
namespace DTO {
MusicVideoInfoRemoteSearchQuery::MusicVideoInfoRemoteSearchQuery() {}
MusicVideoInfoRemoteSearchQuery::MusicVideoInfoRemoteSearchQuery(const MusicVideoInfoRemoteSearchQuery &other) :
m_searchInfo(other.m_searchInfo),
m_itemId(other.m_itemId),
m_searchProviderName(other.m_searchProviderName),
m_includeDisabledProviders(other.m_includeDisabledProviders){}
MusicVideoInfoRemoteSearchQuery MusicVideoInfoRemoteSearchQuery::fromJson(QJsonObject source) {
MusicVideoInfoRemoteSearchQuery instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
NameGuidPair::NameGuidPair() {}
NameGuidPair::NameGuidPair(const NameGuidPair &other) :
m_name(other.m_name),
m_jellyfinId(other.m_jellyfinId){}
NameGuidPair NameGuidPair::fromJson(QJsonObject source) {
NameGuidPair instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
NameIdPair::NameIdPair() {}
NameIdPair::NameIdPair(const NameIdPair &other) :
m_name(other.m_name),
m_jellyfinId(other.m_jellyfinId){}
NameIdPair NameIdPair::fromJson(QJsonObject source) {
NameIdPair instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
NameValuePair::NameValuePair() {}
NameValuePair::NameValuePair(const NameValuePair &other) :
m_name(other.m_name),
m_value(other.m_value){}
NameValuePair NameValuePair::fromJson(QJsonObject source) {
NameValuePair instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
NewGroupRequestDto::NewGroupRequestDto() {}
NewGroupRequestDto::NewGroupRequestDto(const NewGroupRequestDto &other) :
m_groupName(other.m_groupName){}
NewGroupRequestDto NewGroupRequestDto::fromJson(QJsonObject source) {
NewGroupRequestDto instance;

View file

@ -33,6 +33,8 @@ namespace Jellyfin {
namespace DTO {
NextItemRequestDto::NextItemRequestDto() {}
NextItemRequestDto::NextItemRequestDto(const NextItemRequestDto &other) :
m_playlistItemId(other.m_playlistItemId){}
NextItemRequestDto NextItemRequestDto::fromJson(QJsonObject source) {
NextItemRequestDto instance;

View file

@ -33,6 +33,15 @@ namespace Jellyfin {
namespace DTO {
NotificationDto::NotificationDto() {}
NotificationDto::NotificationDto(const NotificationDto &other) :
m_jellyfinId(other.m_jellyfinId),
m_userId(other.m_userId),
m_date(other.m_date),
m_isRead(other.m_isRead),
m_name(other.m_name),
m_description(other.m_description),
m_url(other.m_url),
m_level(other.m_level){}
NotificationDto NotificationDto::fromJson(QJsonObject source) {
NotificationDto instance;

View file

@ -33,6 +33,9 @@ namespace Jellyfin {
namespace DTO {
NotificationResultDto::NotificationResultDto() {}
NotificationResultDto::NotificationResultDto(const NotificationResultDto &other) :
m_notifications(other.m_notifications),
m_totalRecordCount(other.m_totalRecordCount){}
NotificationResultDto NotificationResultDto::fromJson(QJsonObject source) {
NotificationResultDto instance;

Some files were not shown because too many files have changed in this diff Show more