mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Disabling next/previous episode on movie's watchitems
This commit is contained in:
parent
9d6efebcf2
commit
5a4f655aec
@ -82,6 +82,9 @@ namespace Kyoo.Models
|
||||
episode.Tracks.Where(x => x.Type == StreamType.Subtitle),
|
||||
episode.Tracks.FirstOrDefault(x => x.Type == StreamType.Video))
|
||||
{
|
||||
if (episode.Show.IsMovie)
|
||||
return;
|
||||
|
||||
if (EpisodeNumber > 1)
|
||||
PreviousEpisode = episode.Season.Episodes.FirstOrDefault(x => x.EpisodeNumber == EpisodeNumber - 1);
|
||||
else if (SeasonNumber > 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user