* sync guids/provider ids (#227) * sync guids from plex * cleanup * sync local guids * sync jellyfin and emby guids * add episodes to search index (#228) * sync episode directors and writers * display episode writers and directors * remove missing episodes from search index * show episodes in search results * fix emby and jellyfin episode updates * fix updating plex episodes * don't delete channel logos on startup * add episodes page; fix adding episodes to collection * cleanup * multi-part episode grouping fixes (#229)
27 lines
585 B
C#
27 lines
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ErsatzTV.Application.MediaCards
|
|
{
|
|
public record TelevisionEpisodeCardViewModel
|
|
(
|
|
int EpisodeId,
|
|
DateTime Aired,
|
|
string ShowTitle,
|
|
int ShowId,
|
|
int SeasonId,
|
|
int Season,
|
|
int Episode,
|
|
string Title,
|
|
string SortTitle,
|
|
string Plot,
|
|
string Poster,
|
|
List<string> Directors,
|
|
List<string> Writers) : MediaCardViewModel(
|
|
EpisodeId,
|
|
Title,
|
|
$"Episode {Episode}",
|
|
SortTitle,
|
|
Poster);
|
|
}
|