aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
diff options
context:
space:
mode:
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)