Skip to content

Commit

Permalink
fix: remove all unused tvdb fields
Browse files Browse the repository at this point in the history
Closes #69 (nice)
  • Loading branch information
revam committed Aug 17, 2024
1 parent 172e788 commit 3806a6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
12 changes: 0 additions & 12 deletions Shokofin/API/Models/Episode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,32 +75,20 @@ public class AniDB

public class TvDB
{
[JsonPropertyName("ID")]
public int Id { get; set; }

[JsonPropertyName("Season")]
public int SeasonNumber { get; set; }

[JsonPropertyName("Number")]
public int EpisodeNumber { get; set; }

[JsonPropertyName("AbsoluteNumber")]
public int AbsoluteEpisodeNumber { get; set; }

public string Title { get; set; } = string.Empty;

public string Description { get; set; } = string.Empty;

public DateTime? AirDate { get; set; }

public int? AirsAfterSeason { get; set; }

public int? AirsBeforeSeason { get; set; }

public int? AirsBeforeEpisode { get; set; }

public Rating? Rating { get; set; }

public Image Thumbnail { get; set; } = new();
}

Expand Down
14 changes: 0 additions & 14 deletions Shokofin/API/Models/Series.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,21 +183,7 @@ public DateTime? EndDate

public class TvDB
{
/// <summary>
/// TvDB Id.
/// </summary>
[JsonPropertyName("ID")]
public int Id { get; set; }

public DateTime? AirDate { get; set; }

public DateTime? EndDate { get; set; }

public string Title { get; set; } = string.Empty;

public string Description { get; set; } = string.Empty;

public Rating Rating { get; set; } = new();
}

public class SeriesIDs : IDs
Expand Down

0 comments on commit 3806a6f

Please sign in to comment.