diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-01-11 15:57:40 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2015-01-11 15:57:40 -0500 |
| commit | 76edf138de9f746738dcf107c51b558b7df0de21 (patch) | |
| tree | dd1b7494b4610250a798a0bcc2c4ab3608c6572b /MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs | |
| parent | 3e1131dbad1f7c72e75cce4de1821546cc2d84e1 (diff) | |
| parent | 518119d9cd8a54eb0fbe018d826f7d379b30f057 (diff) | |
Merge pull request #974 from MediaBrowser/dev
3.0.5490.0
Diffstat (limited to 'MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs index fd1cc9484..a113e8d5e 100644 --- a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs +++ b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs @@ -37,6 +37,11 @@ namespace MediaBrowser.Server.Implementations.Intros public async Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user) { + if (!user.Configuration.EnableCinemaMode) + { + return new List<IntroInfo>(); + } + var config = GetOptions(); if (item is Movie) |
