diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-10 22:06:16 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-10 22:06:16 -0500 |
| commit | a1f92f3de3b28e63d6f63bb63fae12073826fb36 (patch) | |
| tree | e5d7a4af6fc8e09c5fd1da2b92b5286e38149b92 /MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs | |
| parent | 651f2a2aec283cab5b2420fda91fd6ac98a64fb0 (diff) | |
configure h265 params
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) |
