aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-10 22:06:16 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-10 22:06:16 -0500
commita1f92f3de3b28e63d6f63bb63fae12073826fb36 (patch)
treee5d7a4af6fc8e09c5fd1da2b92b5286e38149b92 /MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
parent651f2a2aec283cab5b2420fda91fd6ac98a64fb0 (diff)
configure h265 params
Diffstat (limited to 'MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs5
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)