aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities
diff options
context:
space:
mode:
authortelans <telans@protonmail.com>2020-06-19 21:57:37 +1200
committertelans <telans@protonmail.com>2020-06-20 18:13:11 +1200
commitafe09612e82a49c4021fbc2ceddf1816db9f959d (patch)
tree69380e1835fd73aa00a3ec7b92099c0506bb1f35 /Jellyfin.Data/Entities
parente8e5208fbd9484a1b37eed5dece524f108886fe0 (diff)
fix SA1119
Diffstat (limited to 'Jellyfin.Data/Entities')
-rw-r--r--Jellyfin.Data/Entities/Artwork.cs6
-rw-r--r--Jellyfin.Data/Entities/BookMetadata.cs2
-rw-r--r--Jellyfin.Data/Entities/Chapter.cs10
-rw-r--r--Jellyfin.Data/Entities/Collection.cs4
-rw-r--r--Jellyfin.Data/Entities/CollectionItem.cs2
-rw-r--r--Jellyfin.Data/Entities/Company.cs2
-rw-r--r--Jellyfin.Data/Entities/CompanyMetadata.cs8
-rw-r--r--Jellyfin.Data/Entities/Episode.cs2
-rw-r--r--Jellyfin.Data/Entities/EpisodeMetadata.cs6
-rw-r--r--Jellyfin.Data/Entities/Genre.cs4
-rw-r--r--Jellyfin.Data/Entities/Library.cs4
-rw-r--r--Jellyfin.Data/Entities/LibraryItem.cs6
-rw-r--r--Jellyfin.Data/Entities/LibraryRoot.cs6
-rw-r--r--Jellyfin.Data/Entities/MediaFile.cs6
-rw-r--r--Jellyfin.Data/Entities/MediaFileStream.cs4
-rw-r--r--Jellyfin.Data/Entities/Metadata.cs16
-rw-r--r--Jellyfin.Data/Entities/MetadataProvider.cs4
-rw-r--r--Jellyfin.Data/Entities/MetadataProviderId.cs4
-rw-r--r--Jellyfin.Data/Entities/MovieMetadata.cs8
-rw-r--r--Jellyfin.Data/Entities/MusicAlbumMetadata.cs6
-rw-r--r--Jellyfin.Data/Entities/Person.cs12
-rw-r--r--Jellyfin.Data/Entities/PersonRole.cs6
-rw-r--r--Jellyfin.Data/Entities/Rating.cs6
-rw-r--r--Jellyfin.Data/Entities/RatingSource.cs8
-rw-r--r--Jellyfin.Data/Entities/Release.cs4
-rw-r--r--Jellyfin.Data/Entities/Season.cs2
-rw-r--r--Jellyfin.Data/Entities/SeasonMetadata.cs2
-rw-r--r--Jellyfin.Data/Entities/Series.cs6
-rw-r--r--Jellyfin.Data/Entities/SeriesMetadata.cs8
-rw-r--r--Jellyfin.Data/Entities/Track.cs2
30 files changed, 83 insertions, 83 deletions
diff --git a/Jellyfin.Data/Entities/Artwork.cs b/Jellyfin.Data/Entities/Artwork.cs
index 852d742a58..df071e477b 100644
--- a/Jellyfin.Data/Entities/Artwork.cs
+++ b/Jellyfin.Data/Entities/Artwork.cs
@@ -87,7 +87,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -126,7 +126,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Path;
GetPath(ref value);
- return (_Path = value);
+ return _Path = value;
}
set
@@ -163,7 +163,7 @@ namespace Jellyfin.Data.Entities
{
Enums.ArtKind value = _Kind;
GetKind(ref value);
- return (_Kind = value);
+ return _Kind = value;
}
set
diff --git a/Jellyfin.Data/Entities/BookMetadata.cs b/Jellyfin.Data/Entities/BookMetadata.cs
index 47578dc46b..914eda0642 100644
--- a/Jellyfin.Data/Entities/BookMetadata.cs
+++ b/Jellyfin.Data/Entities/BookMetadata.cs
@@ -82,7 +82,7 @@ namespace Jellyfin.Data.Entities
{
long? value = _ISBN;
GetISBN(ref value);
- return (_ISBN = value);
+ return _ISBN = value;
}
set
diff --git a/Jellyfin.Data/Entities/Chapter.cs b/Jellyfin.Data/Entities/Chapter.cs
index d5b2b39ce7..77685add6e 100644
--- a/Jellyfin.Data/Entities/Chapter.cs
+++ b/Jellyfin.Data/Entities/Chapter.cs
@@ -84,7 +84,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -122,7 +122,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
@@ -163,7 +163,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Language;
GetLanguage(ref value);
- return (_Language = value);
+ return _Language = value;
}
set
@@ -200,7 +200,7 @@ namespace Jellyfin.Data.Entities
{
long value = _TimeStart;
GetTimeStart(ref value);
- return (_TimeStart = value);
+ return _TimeStart = value;
}
set
@@ -233,7 +233,7 @@ namespace Jellyfin.Data.Entities
{
long? value = _TimeEnd;
GetTimeEnd(ref value);
- return (_TimeEnd = value);
+ return _TimeEnd = value;
}
set
diff --git a/Jellyfin.Data/Entities/Collection.cs b/Jellyfin.Data/Entities/Collection.cs
index d2f441d030..01836d8937 100644
--- a/Jellyfin.Data/Entities/Collection.cs
+++ b/Jellyfin.Data/Entities/Collection.cs
@@ -47,7 +47,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -85,7 +85,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
diff --git a/Jellyfin.Data/Entities/CollectionItem.cs b/Jellyfin.Data/Entities/CollectionItem.cs
index 7cfdbbe167..08b0e99f41 100644
--- a/Jellyfin.Data/Entities/CollectionItem.cs
+++ b/Jellyfin.Data/Entities/CollectionItem.cs
@@ -91,7 +91,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
diff --git a/Jellyfin.Data/Entities/Company.cs b/Jellyfin.Data/Entities/Company.cs
index 908e41f3de..2ac7bcfe5f 100644
--- a/Jellyfin.Data/Entities/Company.cs
+++ b/Jellyfin.Data/Entities/Company.cs
@@ -99,7 +99,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
diff --git a/Jellyfin.Data/Entities/CompanyMetadata.cs b/Jellyfin.Data/Entities/CompanyMetadata.cs
index 240cccbff5..695c7f0965 100644
--- a/Jellyfin.Data/Entities/CompanyMetadata.cs
+++ b/Jellyfin.Data/Entities/CompanyMetadata.cs
@@ -83,7 +83,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Description;
GetDescription(ref value);
- return (_Description = value);
+ return _Description = value;
}
set
@@ -121,7 +121,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Headquarters;
GetHeadquarters(ref value);
- return (_Headquarters = value);
+ return _Headquarters = value;
}
set
@@ -159,7 +159,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Country;
GetCountry(ref value);
- return (_Country = value);
+ return _Country = value;
}
set
@@ -197,7 +197,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Homepage;
GetHomepage(ref value);
- return (_Homepage = value);
+ return _Homepage = value;
}
set
diff --git a/Jellyfin.Data/Entities/Episode.cs b/Jellyfin.Data/Entities/Episode.cs
index 405c815cd0..69106ab79d 100644
--- a/Jellyfin.Data/Entities/Episode.cs
+++ b/Jellyfin.Data/Entities/Episode.cs
@@ -84,7 +84,7 @@ namespace Jellyfin.Data.Entities
{
int? value = _EpisodeNumber;
GetEpisodeNumber(ref value);
- return (_EpisodeNumber = value);
+ return _EpisodeNumber = value;
}
set
diff --git a/Jellyfin.Data/Entities/EpisodeMetadata.cs b/Jellyfin.Data/Entities/EpisodeMetadata.cs
index 4999842aa2..da5ea43ccd 100644
--- a/Jellyfin.Data/Entities/EpisodeMetadata.cs
+++ b/Jellyfin.Data/Entities/EpisodeMetadata.cs
@@ -83,7 +83,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Outline;
GetOutline(ref value);
- return (_Outline = value);
+ return _Outline = value;
}
set
@@ -121,7 +121,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Plot;
GetPlot(ref value);
- return (_Plot = value);
+ return _Plot = value;
}
set
@@ -159,7 +159,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Tagline;
GetTagline(ref value);
- return (_Tagline = value);
+ return _Tagline = value;
}
set
diff --git a/Jellyfin.Data/Entities/Genre.cs b/Jellyfin.Data/Entities/Genre.cs
index 0f6f681a44..9b2264921c 100644
--- a/Jellyfin.Data/Entities/Genre.cs
+++ b/Jellyfin.Data/Entities/Genre.cs
@@ -80,7 +80,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -119,7 +119,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
diff --git a/Jellyfin.Data/Entities/Library.cs b/Jellyfin.Data/Entities/Library.cs
index a091ece03f..ff94b93f04 100644
--- a/Jellyfin.Data/Entities/Library.cs
+++ b/Jellyfin.Data/Entities/Library.cs
@@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -114,7 +114,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
diff --git a/Jellyfin.Data/Entities/LibraryItem.cs b/Jellyfin.Data/Entities/LibraryItem.cs
index d29d6250e5..f41753560c 100644
--- a/Jellyfin.Data/Entities/LibraryItem.cs
+++ b/Jellyfin.Data/Entities/LibraryItem.cs
@@ -57,7 +57,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -95,7 +95,7 @@ namespace Jellyfin.Data.Entities
{
Guid value = _UrlId;
GetUrlId(ref value);
- return (_UrlId = value);
+ return _UrlId = value;
}
set
@@ -132,7 +132,7 @@ namespace Jellyfin.Data.Entities
{
DateTime value = _DateAdded;
GetDateAdded(ref value);
- return (_DateAdded = value);
+ return _DateAdded = value;
}
internal set
diff --git a/Jellyfin.Data/Entities/LibraryRoot.cs b/Jellyfin.Data/Entities/LibraryRoot.cs
index d9a4f62e50..16fbc92f6e 100644
--- a/Jellyfin.Data/Entities/LibraryRoot.cs
+++ b/Jellyfin.Data/Entities/LibraryRoot.cs
@@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -115,7 +115,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Path;
GetPath(ref value);
- return (_Path = value);
+ return _Path = value;
}
set
@@ -154,7 +154,7 @@ namespace Jellyfin.Data.Entities
{
string value = _NetworkPath;
GetNetworkPath(ref value);
- return (_NetworkPath = value);
+ return _NetworkPath = value;
}
set
diff --git a/Jellyfin.Data/Entities/MediaFile.cs b/Jellyfin.Data/Entities/MediaFile.cs
index 6e6602bfae..8201eed526 100644
--- a/Jellyfin.Data/Entities/MediaFile.cs
+++ b/Jellyfin.Data/Entities/MediaFile.cs
@@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -128,7 +128,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Path;
GetPath(ref value);
- return (_Path = value);
+ return _Path = value;
}
set
@@ -165,7 +165,7 @@ namespace Jellyfin.Data.Entities
{
Enums.MediaFileKind value = _Kind;
GetKind(ref value);
- return (_Kind = value);
+ return _Kind = value;
}
set
diff --git a/Jellyfin.Data/Entities/MediaFileStream.cs b/Jellyfin.Data/Entities/MediaFileStream.cs
index 823988d6c9..c018c0cbf9 100644
--- a/Jellyfin.Data/Entities/MediaFileStream.cs
+++ b/Jellyfin.Data/Entities/MediaFileStream.cs
@@ -79,7 +79,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -116,7 +116,7 @@ namespace Jellyfin.Data.Entities
{
int value = _StreamNumber;
GetStreamNumber(ref value);
- return (_StreamNumber = value);
+ return _StreamNumber = value;
}
set
diff --git a/Jellyfin.Data/Entities/Metadata.cs b/Jellyfin.Data/Entities/Metadata.cs
index a6ca61709a..146c70a10d 100644
--- a/Jellyfin.Data/Entities/Metadata.cs
+++ b/Jellyfin.Data/Entities/Metadata.cs
@@ -74,7 +74,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -114,7 +114,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Title;
GetTitle(ref value);
- return (_Title = value);
+ return _Title = value;
}
set
@@ -152,7 +152,7 @@ namespace Jellyfin.Data.Entities
{
string value = _OriginalTitle;
GetOriginalTitle(ref value);
- return (_OriginalTitle = value);
+ return _OriginalTitle = value;
}
set
@@ -190,7 +190,7 @@ namespace Jellyfin.Data.Entities
{
string value = _SortTitle;
GetSortTitle(ref value);
- return (_SortTitle = value);
+ return _SortTitle = value;
}
set
@@ -231,7 +231,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Language;
GetLanguage(ref value);
- return (_Language = value);
+ return _Language = value;
}
set
@@ -264,7 +264,7 @@ namespace Jellyfin.Data.Entities
{
DateTimeOffset? value = _ReleaseDate;
GetReleaseDate(ref value);
- return (_ReleaseDate = value);
+ return _ReleaseDate = value;
}
set
@@ -301,7 +301,7 @@ namespace Jellyfin.Data.Entities
{
DateTime value = _DateAdded;
GetDateAdded(ref value);
- return (_DateAdded = value);
+ return _DateAdded = value;
}
internal set
@@ -338,7 +338,7 @@ namespace Jellyfin.Data.Entities
{
DateTime value = _DateModified;
GetDateModified(ref value);
- return (_DateModified = value);
+ return _DateModified = value;
}
internal set
diff --git a/Jellyfin.Data/Entities/MetadataProvider.cs b/Jellyfin.Data/Entities/MetadataProvider.cs
index 8c6c4000a0..ae22ccfeb1 100644
--- a/Jellyfin.Data/Entities/MetadataProvider.cs
+++ b/Jellyfin.Data/Entities/MetadataProvider.cs
@@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -114,7 +114,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
diff --git a/Jellyfin.Data/Entities/MetadataProviderId.cs b/Jellyfin.Data/Entities/MetadataProviderId.cs
index 67ffc4f0cd..30683ced3b 100644
--- a/Jellyfin.Data/Entities/MetadataProviderId.cs
+++ b/Jellyfin.Data/Entities/MetadataProviderId.cs
@@ -101,7 +101,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -140,7 +140,7 @@ namespace Jellyfin.Data.Entities
{
string value = _ProviderId;
GetProviderId(ref value);
- return (_ProviderId = value);
+ return _ProviderId = value;
}
set
diff --git a/Jellyfin.Data/Entities/MovieMetadata.cs b/Jellyfin.Data/Entities/MovieMetadata.cs
index cb722c015f..48584dd13c 100644
--- a/Jellyfin.Data/Entities/MovieMetadata.cs
+++ b/Jellyfin.Data/Entities/MovieMetadata.cs
@@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Outline;
GetOutline(ref value);
- return (_Outline = value);
+ return _Outline = value;
}
set
@@ -126,7 +126,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Plot;
GetPlot(ref value);
- return (_Plot = value);
+ return _Plot = value;
}
set
@@ -164,7 +164,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Tagline;
GetTagline(ref value);
- return (_Tagline = value);
+ return _Tagline = value;
}
set
@@ -202,7 +202,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Country;
GetCountry(ref value);
- return (_Country = value);
+ return _Country = value;
}
set
diff --git a/Jellyfin.Data/Entities/MusicAlbumMetadata.cs b/Jellyfin.Data/Entities/MusicAlbumMetadata.cs
index 4b9f9cb626..5847101ca3 100644
--- a/Jellyfin.Data/Entities/MusicAlbumMetadata.cs
+++ b/Jellyfin.Data/Entities/MusicAlbumMetadata.cs
@@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Barcode;
GetBarcode(ref value);
- return (_Barcode = value);
+ return _Barcode = value;
}
set
@@ -126,7 +126,7 @@ namespace Jellyfin.Data.Entities
{
string value = _LabelNumber;
GetLabelNumber(ref value);
- return (_LabelNumber = value);
+ return _LabelNumber = value;
}
set
@@ -164,7 +164,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Country;
GetCountry(ref value);
- return (_Country = value);
+ return _Country = value;
}
set
diff --git a/Jellyfin.Data/Entities/Person.cs b/Jellyfin.Data/Entities/Person.cs
index e9b91a19e8..206fe77097 100644
--- a/Jellyfin.Data/Entities/Person.cs
+++ b/Jellyfin.Data/Entities/Person.cs
@@ -83,7 +83,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -120,7 +120,7 @@ namespace Jellyfin.Data.Entities
{
Guid value = _UrlId;
GetUrlId(ref value);
- return (_UrlId = value);
+ return _UrlId = value;
}
set
@@ -159,7 +159,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
@@ -197,7 +197,7 @@ namespace Jellyfin.Data.Entities
{
string value = _SourceId;
GetSourceId(ref value);
- return (_SourceId = value);
+ return _SourceId = value;
}
set
@@ -234,7 +234,7 @@ namespace Jellyfin.Data.Entities
{
DateTime value = _DateAdded;
GetDateAdded(ref value);
- return (_DateAdded = value);
+ return _DateAdded = value;
}
internal set
@@ -271,7 +271,7 @@ namespace Jellyfin.Data.Entities
{
DateTime value = _DateModified;
GetDateModified(ref value);
- return (_DateModified = value);
+ return _DateModified = value;
}
internal set
diff --git a/Jellyfin.Data/Entities/PersonRole.cs b/Jellyfin.Data/Entities/PersonRole.cs
index 2f14044ac2..928eb74aee 100644
--- a/Jellyfin.Data/Entities/PersonRole.cs
+++ b/Jellyfin.Data/Entities/PersonRole.cs
@@ -89,7 +89,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -127,7 +127,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Role;
GetRole(ref value);
- return (_Role = value);
+ return _Role = value;
}
set
@@ -164,7 +164,7 @@ namespace Jellyfin.Data.Entities
{
Enums.PersonRoleType value = _Type;
GetType(ref value);
- return (_Type = value);
+ return _Type = value;
}
set
diff --git a/Jellyfin.Data/Entities/Rating.cs b/Jellyfin.Data/Entities/Rating.cs
index 2c27dbd496..e00d5297db 100644
--- a/Jellyfin.Data/Entities/Rating.cs
+++ b/Jellyfin.Data/Entities/Rating.cs
@@ -79,7 +79,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -116,7 +116,7 @@ namespace Jellyfin.Data.Entities
{
double value = _Value;
GetValue(ref value);
- return (_Value = value);
+ return _Value = value;
}
set
@@ -149,7 +149,7 @@ namespace Jellyfin.Data.Entities
{
int? value = _Votes;
GetVotes(ref value);
- return (_Votes = value);
+ return _Votes = value;
}
set
diff --git a/Jellyfin.Data/Entities/RatingSource.cs b/Jellyfin.Data/Entities/RatingSource.cs
index 2a4bed7ecc..941f53e52a 100644
--- a/Jellyfin.Data/Entities/RatingSource.cs
+++ b/Jellyfin.Data/Entities/RatingSource.cs
@@ -86,7 +86,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -124,7 +124,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
@@ -161,7 +161,7 @@ namespace Jellyfin.Data.Entities
{
double value = _MaximumValue;
GetMaximumValue(ref value);
- return (_MaximumValue = value);
+ return _MaximumValue = value;
}
set
@@ -198,7 +198,7 @@ namespace Jellyfin.Data.Entities
{
double value = _MinimumValue;
GetMinimumValue(ref value);
- return (_MinimumValue = value);
+ return _MinimumValue = value;
}
set
diff --git a/Jellyfin.Data/Entities/Release.cs b/Jellyfin.Data/Entities/Release.cs
index 098a78ca04..e08c04545c 100644
--- a/Jellyfin.Data/Entities/Release.cs
+++ b/Jellyfin.Data/Entities/Release.cs
@@ -111,7 +111,7 @@ namespace Jellyfin.Data.Entities
{
int value = _Id;
GetId(ref value);
- return (_Id = value);
+ return _Id = value;
}
protected set
@@ -150,7 +150,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Name;
GetName(ref value);
- return (_Name = value);
+ return _Name = value;
}
set
diff --git a/Jellyfin.Data/Entities/Season.cs b/Jellyfin.Data/Entities/Season.cs
index 03b3805cfb..d71f4b522b 100644
--- a/Jellyfin.Data/Entities/Season.cs
+++ b/Jellyfin.Data/Entities/Season.cs
@@ -84,7 +84,7 @@ namespace Jellyfin.Data.Entities
{
int? value = _SeasonNumber;
GetSeasonNumber(ref value);
- return (_SeasonNumber = value);
+ return _SeasonNumber = value;
}
set
diff --git a/Jellyfin.Data/Entities/SeasonMetadata.cs b/Jellyfin.Data/Entities/SeasonMetadata.cs
index 35ff6e89ab..8659383385 100644
--- a/Jellyfin.Data/Entities/SeasonMetadata.cs
+++ b/Jellyfin.Data/Entities/SeasonMetadata.cs
@@ -84,7 +84,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Outline;
GetOutline(ref value);
- return (_Outline = value);
+ return _Outline = value;
}
set
diff --git a/Jellyfin.Data/Entities/Series.cs b/Jellyfin.Data/Entities/Series.cs
index 69b1854ab3..bede14acfb 100644
--- a/Jellyfin.Data/Entities/Series.cs
+++ b/Jellyfin.Data/Entities/Series.cs
@@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
{
DayOfWeek? value = _AirsDayOfWeek;
GetAirsDayOfWeek(ref value);
- return (_AirsDayOfWeek = value);
+ return _AirsDayOfWeek = value;
}
set
@@ -101,7 +101,7 @@ namespace Jellyfin.Data.Entities
{
DateTimeOffset? value = _AirsTime;
GetAirsTime(ref value);
- return (_AirsTime = value);
+ return _AirsTime = value;
}
set
@@ -134,7 +134,7 @@ namespace Jellyfin.Data.Entities
{
DateTimeOffset? value = _FirstAired;
GetFirstAired(ref value);
- return (_FirstAired = value);
+ return _FirstAired = value;
}
set
diff --git a/Jellyfin.Data/Entities/SeriesMetadata.cs b/Jellyfin.Data/Entities/SeriesMetadata.cs
index e72de07fd4..bb7426754c 100644
--- a/Jellyfin.Data/Entities/SeriesMetadata.cs
+++ b/Jellyfin.Data/Entities/SeriesMetadata.cs
@@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Outline;
GetOutline(ref value);
- return (_Outline = value);
+ return _Outline = value;
}
set
@@ -126,7 +126,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Plot;
GetPlot(ref value);
- return (_Plot = value);
+ return _Plot = value;
}
set
@@ -164,7 +164,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Tagline;
GetTagline(ref value);
- return (_Tagline = value);
+ return _Tagline = value;
}
set
@@ -202,7 +202,7 @@ namespace Jellyfin.Data.Entities
{
string value = _Country;
GetCountry(ref value);
- return (_Country = value);
+ return _Country = value;
}
set
diff --git a/Jellyfin.Data/Entities/Track.cs b/Jellyfin.Data/Entities/Track.cs
index 59a9eb4af2..e13a53d382 100644
--- a/Jellyfin.Data/Entities/Track.cs
+++ b/Jellyfin.Data/Entities/Track.cs
@@ -84,7 +84,7 @@ namespace Jellyfin.Data.Entities
{
int? value = _TrackNumber;
GetTrackNumber(ref value);
- return (_TrackNumber = value);
+ return _TrackNumber = value;
}
set