mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-13 03:00:25 +01:00
update file responses
This commit is contained in:
@@ -57,13 +57,10 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
/// <value>The index number.</value>
|
||||
public int? IndexNumberEnd { get; set; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public string SeriesSortName { get; set; }
|
||||
|
||||
public string FindSeriesSortName()
|
||||
{
|
||||
var series = Series;
|
||||
return series == null ? SeriesSortName : series.SortName;
|
||||
return series == null ? SeriesName : series.SortName;
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
|
||||
@@ -51,9 +51,6 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
get { return SeriesId; }
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public string SeriesSortName { get; set; }
|
||||
|
||||
public override double? GetDefaultPrimaryImageAspectRatio()
|
||||
{
|
||||
double value = 2;
|
||||
@@ -65,7 +62,7 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
public string FindSeriesSortName()
|
||||
{
|
||||
var series = Series;
|
||||
return series == null ? SeriesSortName : series.SortName;
|
||||
return series == null ? SeriesName : series.SortName;
|
||||
}
|
||||
|
||||
// Genre, Rating and Stuido will all be the same
|
||||
|
||||
Reference in New Issue
Block a user