mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-13 02:24:33 -04:00
update intro provider
This commit is contained in:
parent
8bce7960fe
commit
f66be67898
@ -41,11 +41,6 @@ namespace MediaBrowser.Server.Implementations.Intros
|
|||||||
|
|
||||||
public async Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user)
|
public async Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user)
|
||||||
{
|
{
|
||||||
if (!user.Configuration.EnableCinemaMode)
|
|
||||||
{
|
|
||||||
return new List<IntroInfo>();
|
|
||||||
}
|
|
||||||
|
|
||||||
var config = GetOptions();
|
var config = GetOptions();
|
||||||
|
|
||||||
if (item is Movie)
|
if (item is Movie)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user