mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Setting WatchItem's IsMovie field.
This commit is contained in:
parent
5a4f655aec
commit
dd2d14d887
@ -83,7 +83,10 @@ namespace Kyoo.Models
|
||||
episode.Tracks.FirstOrDefault(x => x.Type == StreamType.Video))
|
||||
{
|
||||
if (episode.Show.IsMovie)
|
||||
{
|
||||
IsMovie = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (EpisodeNumber > 1)
|
||||
PreviousEpisode = episode.Season.Episodes.FirstOrDefault(x => x.EpisodeNumber == EpisodeNumber - 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user