The Free Software Media System - Server Backend & API
Enable TreatWarningsAsErrors for Emby.Data in Release
Bond_0094243a17c8672
diff --git a/Jellyfin.Data/DayOfWeekHelper.cs b/Jellyfin.Data/DayOfWeekHelper.csindex 32a41368db..4e75f4cfd1 100644--- a/Jellyfin.Data/DayOfWeekHelper.cs+++ b/Jellyfin.Data/DayOfWeekHelper.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using Jellyfin.Data.Enums;diff --git a/Jellyfin.Data/Entities/ActivityLog.cs b/Jellyfin.Data/Entities/ActivityLog.csindex 522c206640..ac61b9e3ba 100644--- a/Jellyfin.Data/Entities/ActivityLog.cs+++ b/Jellyfin.Data/Entities/ActivityLog.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Artwork.cs b/Jellyfin.Data/Entities/Artwork.csindex 6ed32eac33..4508f54882 100644--- a/Jellyfin.Data/Entities/Artwork.cs+++ b/Jellyfin.Data/Entities/Artwork.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Entities/Book.cs b/Jellyfin.Data/Entities/Book.csindex c4d12496e6..b6198ee01c 100644--- a/Jellyfin.Data/Entities/Book.cs+++ b/Jellyfin.Data/Entities/Book.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public Book(Guid urlid, DateTime dateadded){this.UrlId = urlid;@@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public static Book Create(Guid urlid, DateTime dateadded){return new Book(urlid, dateadded);diff --git a/Jellyfin.Data/Entities/BookMetadata.cs b/Jellyfin.Data/Entities/BookMetadata.csindex df43090d3d..9734cf20ec 100644--- a/Jellyfin.Data/Entities/BookMetadata.cs+++ b/Jellyfin.Data/Entities/BookMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -31,6 +33,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_book0"></param>public BookMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Book _book0){@@ -65,6 +69,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_book0"></param>public static BookMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Book _book0){diff --git a/Jellyfin.Data/Entities/Chapter.cs b/Jellyfin.Data/Entities/Chapter.csindex 4575cdb4d7..52cdeef782 100644--- a/Jellyfin.Data/Entities/Chapter.cs+++ b/Jellyfin.Data/Entities/Chapter.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Collection.cs b/Jellyfin.Data/Entities/Collection.csindex 01836d8937..0c317d71ed 100644--- a/Jellyfin.Data/Entities/Collection.cs+++ b/Jellyfin.Data/Entities/Collection.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/CollectionItem.cs b/Jellyfin.Data/Entities/CollectionItem.csindex d879806ee6..fb589c2baf 100644--- a/Jellyfin.Data/Entities/CollectionItem.cs+++ b/Jellyfin.Data/Entities/CollectionItem.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Company.cs b/Jellyfin.Data/Entities/Company.csindex e905a17daf..8bd48045d0 100644--- a/Jellyfin.Data/Entities/Company.cs+++ b/Jellyfin.Data/Entities/Company.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Entities/CompanyMetadata.cs b/Jellyfin.Data/Entities/CompanyMetadata.csindex e75349cf2a..48ea4bdc50 100644--- a/Jellyfin.Data/Entities/CompanyMetadata.cs+++ b/Jellyfin.Data/Entities/CompanyMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;@@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_company0"></param>public CompanyMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Company _company0){@@ -60,6 +64,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_company0"></param>public static CompanyMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Company _company0){diff --git a/Jellyfin.Data/Entities/CustomItem.cs b/Jellyfin.Data/Entities/CustomItem.csindex 4463915914..8ea08488f4 100644--- a/Jellyfin.Data/Entities/CustomItem.cs+++ b/Jellyfin.Data/Entities/CustomItem.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public CustomItem(Guid urlid, DateTime dateadded){this.UrlId = urlid;@@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public static CustomItem Create(Guid urlid, DateTime dateadded){return new CustomItem(urlid, dateadded);diff --git a/Jellyfin.Data/Entities/CustomItemMetadata.cs b/Jellyfin.Data/Entities/CustomItemMetadata.csindex 965ed731f9..9c89399e69 100644--- a/Jellyfin.Data/Entities/CustomItemMetadata.cs+++ b/Jellyfin.Data/Entities/CustomItemMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;namespace Jellyfin.Data.Entities@@ -27,6 +29,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_customitem0"></param>public CustomItemMetadata(string title, string language, DateTime dateadded, DateTime datemodified, CustomItem _customitem0){@@ -59,6 +63,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_customitem0"></param>public static CustomItemMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, CustomItem _customitem0){diff --git a/Jellyfin.Data/Entities/Episode.cs b/Jellyfin.Data/Entities/Episode.csindex 57fbf894bf..1c18944482 100644--- a/Jellyfin.Data/Entities/Episode.cs+++ b/Jellyfin.Data/Entities/Episode.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -34,6 +36,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>/// <param name="_season0"></param>public Episode(Guid urlid, DateTime dateadded, Season _season0){@@ -59,6 +62,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>/// <param name="_season0"></param>public static Episode Create(Guid urlid, DateTime dateadded, Season _season0){diff --git a/Jellyfin.Data/Entities/EpisodeMetadata.cs b/Jellyfin.Data/Entities/EpisodeMetadata.csindex 9a21fd50f0..26ad7200b8 100644--- a/Jellyfin.Data/Entities/EpisodeMetadata.cs+++ b/Jellyfin.Data/Entities/EpisodeMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;@@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_episode0"></param>public EpisodeMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Episode _episode0){@@ -60,6 +64,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_episode0"></param>public static EpisodeMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Episode _episode0){diff --git a/Jellyfin.Data/Entities/Genre.cs b/Jellyfin.Data/Entities/Genre.csindex 24e6815d80..43a180f6b6 100644--- a/Jellyfin.Data/Entities/Genre.cs+++ b/Jellyfin.Data/Entities/Genre.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Group.cs b/Jellyfin.Data/Entities/Group.csindex 47833378e8..a1ec6b1fa4 100644--- a/Jellyfin.Data/Entities/Group.cs+++ b/Jellyfin.Data/Entities/Group.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Entities/ImageInfo.cs b/Jellyfin.Data/Entities/ImageInfo.csindex 64e36a791a..cf0895ad43 100644--- a/Jellyfin.Data/Entities/ImageInfo.cs+++ b/Jellyfin.Data/Entities/ImageInfo.cs@@ -1,4 +1,6 @@-using System;+#pragma warning disable CS1591++using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/ItemDisplayPreferences.cs b/Jellyfin.Data/Entities/ItemDisplayPreferences.csindex 95c08e6c6c..023cdc7400 100644--- a/Jellyfin.Data/Entities/ItemDisplayPreferences.cs+++ b/Jellyfin.Data/Entities/ItemDisplayPreferences.cs@@ -1,4 +1,6 @@-using System;+#pragma warning disable CS1591++using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;using Jellyfin.Data.Enums;diff --git a/Jellyfin.Data/Entities/Library.cs b/Jellyfin.Data/Entities/Library.csindex d935e43b14..23cc9bd7de 100644--- a/Jellyfin.Data/Entities/Library.cs+++ b/Jellyfin.Data/Entities/Library.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/LibraryItem.cs b/Jellyfin.Data/Entities/LibraryItem.csindex f41753560c..00b2f9497f 100644--- a/Jellyfin.Data/Entities/LibraryItem.cs+++ b/Jellyfin.Data/Entities/LibraryItem.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;@@ -20,6 +22,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>protected LibraryItem(Guid urlid, DateTime dateadded){this.UrlId = urlid;diff --git a/Jellyfin.Data/Entities/LibraryRoot.cs b/Jellyfin.Data/Entities/LibraryRoot.csindex 9695ed638d..07e16fff45 100644--- a/Jellyfin.Data/Entities/LibraryRoot.cs+++ b/Jellyfin.Data/Entities/LibraryRoot.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/MediaFile.cs b/Jellyfin.Data/Entities/MediaFile.csindex 7382cda95b..b69dbe2fa7 100644--- a/Jellyfin.Data/Entities/MediaFile.cs+++ b/Jellyfin.Data/Entities/MediaFile.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Entities/MediaFileStream.cs b/Jellyfin.Data/Entities/MediaFileStream.csindex 977fd54e19..1c59e663d6 100644--- a/Jellyfin.Data/Entities/MediaFileStream.cs+++ b/Jellyfin.Data/Entities/MediaFileStream.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Metadata.cs b/Jellyfin.Data/Entities/Metadata.csindex a4ac6dc540..42525fa999 100644--- a/Jellyfin.Data/Entities/Metadata.cs+++ b/Jellyfin.Data/Entities/Metadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;@@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>protected Metadata(string title, string language, DateTime dateadded, DateTime datemodified){if (string.IsNullOrEmpty(title))diff --git a/Jellyfin.Data/Entities/MetadataProvider.cs b/Jellyfin.Data/Entities/MetadataProvider.csindex e93ea97d62..ebb2c1dbc1 100644--- a/Jellyfin.Data/Entities/MetadataProvider.cs+++ b/Jellyfin.Data/Entities/MetadataProvider.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/MetadataProviderId.cs b/Jellyfin.Data/Entities/MetadataProviderId.csindex 68f139436a..ca3e16b1aa 100644--- a/Jellyfin.Data/Entities/MetadataProviderId.cs+++ b/Jellyfin.Data/Entities/MetadataProviderId.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Movie.cs b/Jellyfin.Data/Entities/Movie.csindex 64326ca3a4..842d5b2b01 100644--- a/Jellyfin.Data/Entities/Movie.cs+++ b/Jellyfin.Data/Entities/Movie.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public Movie(Guid urlid, DateTime dateadded){this.UrlId = urlid;@@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public static Movie Create(Guid urlid, DateTime dateadded){return new Movie(urlid, dateadded);diff --git a/Jellyfin.Data/Entities/MovieMetadata.cs b/Jellyfin.Data/Entities/MovieMetadata.csindex cbcb78e374..a6c82dda8f 100644--- a/Jellyfin.Data/Entities/MovieMetadata.cs+++ b/Jellyfin.Data/Entities/MovieMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;@@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_movie0"></param>public MovieMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Movie _movie0){@@ -66,6 +70,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_movie0"></param>public static MovieMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Movie _movie0){diff --git a/Jellyfin.Data/Entities/MusicAlbum.cs b/Jellyfin.Data/Entities/MusicAlbum.csindex 9afea1fb69..e03c3bfb0d 100644--- a/Jellyfin.Data/Entities/MusicAlbum.cs+++ b/Jellyfin.Data/Entities/MusicAlbum.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public MusicAlbum(Guid urlid, DateTime dateadded){this.UrlId = urlid;@@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public static MusicAlbum Create(Guid urlid, DateTime dateadded){return new MusicAlbum(urlid, dateadded);diff --git a/Jellyfin.Data/Entities/MusicAlbumMetadata.cs b/Jellyfin.Data/Entities/MusicAlbumMetadata.csindex bfcbebbe8a..01ad736ce2 100644--- a/Jellyfin.Data/Entities/MusicAlbumMetadata.cs+++ b/Jellyfin.Data/Entities/MusicAlbumMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;@@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_musicalbum0"></param>public MusicAlbumMetadata(string title, string language, DateTime dateadded, DateTime datemodified, MusicAlbum _musicalbum0){@@ -66,6 +70,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_musicalbum0"></param>public static MusicAlbumMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, MusicAlbum _musicalbum0){diff --git a/Jellyfin.Data/Entities/Permission.cs b/Jellyfin.Data/Entities/Permission.csindex b675e911d9..af3270a880 100644--- a/Jellyfin.Data/Entities/Permission.cs+++ b/Jellyfin.Data/Entities/Permission.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;using Jellyfin.Data.Enums;diff --git a/Jellyfin.Data/Entities/Person.cs b/Jellyfin.Data/Entities/Person.csindex b6d91ea869..f0cfb73221 100644--- a/Jellyfin.Data/Entities/Person.cs+++ b/Jellyfin.Data/Entities/Person.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;@@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="urlid"></param>/// <param name="name"></param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>public Person(Guid urlid, string name, DateTime dateadded, DateTime datemodified){this.UrlId = urlid;@@ -53,6 +57,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="urlid"></param>/// <param name="name"></param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>public static Person Create(Guid urlid, string name, DateTime dateadded, DateTime datemodified){return new Person(urlid, name, dateadded, datemodified);diff --git a/Jellyfin.Data/Entities/PersonRole.cs b/Jellyfin.Data/Entities/PersonRole.csindex 2dd5f116fc..895a9f47ac 100644--- a/Jellyfin.Data/Entities/PersonRole.cs+++ b/Jellyfin.Data/Entities/PersonRole.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Entities/Photo.cs b/Jellyfin.Data/Entities/Photo.csindex 9da55fe430..7648bc2120 100644--- a/Jellyfin.Data/Entities/Photo.cs+++ b/Jellyfin.Data/Entities/Photo.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public Photo(Guid urlid, DateTime dateadded){this.UrlId = urlid;@@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public static Photo Create(Guid urlid, DateTime dateadded){return new Photo(urlid, dateadded);diff --git a/Jellyfin.Data/Entities/PhotoMetadata.cs b/Jellyfin.Data/Entities/PhotoMetadata.csindex b5aec7229e..3f06d3f2b5 100644--- a/Jellyfin.Data/Entities/PhotoMetadata.cs+++ b/Jellyfin.Data/Entities/PhotoMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations.Schema;@@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_photo0"></param>public PhotoMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Photo _photo0){@@ -60,6 +64,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_photo0"></param>public static PhotoMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Photo _photo0){diff --git a/Jellyfin.Data/Entities/ProviderMapping.cs b/Jellyfin.Data/Entities/ProviderMapping.csindex c53e3bf408..44ebfba76d 100644--- a/Jellyfin.Data/Entities/ProviderMapping.cs+++ b/Jellyfin.Data/Entities/ProviderMapping.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Rating.cs b/Jellyfin.Data/Entities/Rating.csindex 49a0d502d2..c57b0a0e84 100644--- a/Jellyfin.Data/Entities/Rating.cs+++ b/Jellyfin.Data/Entities/Rating.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/RatingSource.cs b/Jellyfin.Data/Entities/RatingSource.csindex b62d8b4443..2ea8e3b311 100644--- a/Jellyfin.Data/Entities/RatingSource.cs+++ b/Jellyfin.Data/Entities/RatingSource.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;diff --git a/Jellyfin.Data/Entities/Release.cs b/Jellyfin.Data/Entities/Release.csindex 1e9faa5a1d..3e2cf22dba 100644--- a/Jellyfin.Data/Entities/Release.cs+++ b/Jellyfin.Data/Entities/Release.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Entities/Season.cs b/Jellyfin.Data/Entities/Season.csindex 4b1e785758..e5e7d03ab0 100644--- a/Jellyfin.Data/Entities/Season.cs+++ b/Jellyfin.Data/Entities/Season.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -34,6 +36,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>/// <param name="_series0"></param>public Season(Guid urlid, DateTime dateadded, Series _series0){@@ -59,6 +62,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>/// <param name="_series0"></param>public static Season Create(Guid urlid, DateTime dateadded, Series _series0){diff --git a/Jellyfin.Data/Entities/SeasonMetadata.cs b/Jellyfin.Data/Entities/SeasonMetadata.csindex 10d19875e6..cce8cb125d 100644--- a/Jellyfin.Data/Entities/SeasonMetadata.cs+++ b/Jellyfin.Data/Entities/SeasonMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;@@ -29,6 +31,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_season0"></param>public SeasonMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Season _season0){@@ -61,6 +65,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_season0"></param>public static SeasonMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Season _season0){diff --git a/Jellyfin.Data/Entities/Series.cs b/Jellyfin.Data/Entities/Series.csindex bede14acfb..33c07ca618 100644--- a/Jellyfin.Data/Entities/Series.cs+++ b/Jellyfin.Data/Entities/Series.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -23,6 +25,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public Series(Guid urlid, DateTime dateadded){this.UrlId = urlid;@@ -37,6 +40,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>public static Series Create(Guid urlid, DateTime dateadded){return new Series(urlid, dateadded);diff --git a/Jellyfin.Data/Entities/SeriesMetadata.cs b/Jellyfin.Data/Entities/SeriesMetadata.csindex 16eb59315e..22be2a59b4 100644--- a/Jellyfin.Data/Entities/SeriesMetadata.cs+++ b/Jellyfin.Data/Entities/SeriesMetadata.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;@@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_series0"></param>public SeriesMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Series _series0){@@ -66,6 +70,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_series0"></param>public static SeriesMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Series _series0){diff --git a/Jellyfin.Data/Entities/Track.cs b/Jellyfin.Data/Entities/Track.csindex b7d7b5873b..d52dd725aa 100644--- a/Jellyfin.Data/Entities/Track.cs+++ b/Jellyfin.Data/Entities/Track.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -34,6 +36,7 @@ namespace Jellyfin.Data.Entities/// Public constructor with required data./// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>/// <param name="_musicalbum0"></param>public Track(Guid urlid, DateTime dateadded, MusicAlbum _musicalbum0){@@ -59,6 +62,7 @@ namespace Jellyfin.Data.Entities/// Static create function (for use in LINQ queries, etc.)/// </summary>/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>+ /// <param name="dateadded">The date the object was added.</param>/// <param name="_musicalbum0"></param>public static Track Create(Guid urlid, DateTime dateadded, MusicAlbum _musicalbum0){diff --git a/Jellyfin.Data/Entities/TrackMetadata.cs b/Jellyfin.Data/Entities/TrackMetadata.csindex 23e1219aaf..710908eb8b 100644--- a/Jellyfin.Data/Entities/TrackMetadata.cs+++ b/Jellyfin.Data/Entities/TrackMetadata.cs@@ -1,5 +1,6 @@+#pragma warning disable CS1591+using System;-using System.ComponentModel.DataAnnotations.Schema;namespace Jellyfin.Data.Entities{@@ -28,6 +29,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_track0"></param>public TrackMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Track _track0){@@ -60,6 +63,8 @@ namespace Jellyfin.Data.Entities/// </summary>/// <param name="title">The title or name of the object.</param>/// <param name="language">ISO-639-3 3-character language codes.</param>+ /// <param name="dateadded">The date the object was added.</param>+ /// <param name="datemodified">The date the object was last modified.</param>/// <param name="_track0"></param>public static TrackMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Track _track0){diff --git a/Jellyfin.Data/Entities/User.cs b/Jellyfin.Data/Entities/User.csindex 50810561f5..8c720d85be 100644--- a/Jellyfin.Data/Entities/User.cs+++ b/Jellyfin.Data/Entities/User.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;diff --git a/Jellyfin.Data/Enums/ArtKind.cs b/Jellyfin.Data/Enums/ArtKind.csindex 6b69d68b28..71b4db6f26 100644--- a/Jellyfin.Data/Enums/ArtKind.cs+++ b/Jellyfin.Data/Enums/ArtKind.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+namespace Jellyfin.Data.Enums{public enum ArtKinddiff --git a/Jellyfin.Data/Enums/IndexingKind.cs b/Jellyfin.Data/Enums/IndexingKind.csindex 9badc6573b..fafe47e0c1 100644--- a/Jellyfin.Data/Enums/IndexingKind.cs+++ b/Jellyfin.Data/Enums/IndexingKind.cs@@ -1,4 +1,6 @@-namespace Jellyfin.Data.Enums+#pragma warning disable CS1591++namespace Jellyfin.Data.Enums{public enum IndexingKind{diff --git a/Jellyfin.Data/Enums/MediaFileKind.cs b/Jellyfin.Data/Enums/MediaFileKind.csindex 12f48c5589..b03591fb80 100644--- a/Jellyfin.Data/Enums/MediaFileKind.cs+++ b/Jellyfin.Data/Enums/MediaFileKind.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+namespace Jellyfin.Data.Enums{public enum MediaFileKinddiff --git a/Jellyfin.Data/Enums/PersonRoleType.cs b/Jellyfin.Data/Enums/PersonRoleType.csindex 6e52f2c851..2d80eaa4ca 100644--- a/Jellyfin.Data/Enums/PersonRoleType.cs+++ b/Jellyfin.Data/Enums/PersonRoleType.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+namespace Jellyfin.Data.Enums{public enum PersonRoleTypediff --git a/Jellyfin.Data/Jellyfin.Data.csproj b/Jellyfin.Data/Jellyfin.Data.csprojindex 8ce0f3848c..43b838cc10 100644--- a/Jellyfin.Data/Jellyfin.Data.csproj+++ b/Jellyfin.Data/Jellyfin.Data.csproj@@ -4,6 +4,7 @@<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile>+ <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors></PropertyGroup><PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">