mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-31 07:21:56 +01:00
consolidate internal interfaces
This commit is contained in:
@@ -123,8 +123,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
|
||||
return;
|
||||
}
|
||||
|
||||
var themeMedia = item as IThemeMedia;
|
||||
if (themeMedia != null && themeMedia.IsThemeMedia)
|
||||
if (item.IsThemeMedia)
|
||||
{
|
||||
// Don't report theme song or local trailer playback
|
||||
return;
|
||||
@@ -156,8 +155,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
|
||||
return;
|
||||
}
|
||||
|
||||
var themeMedia = item as IThemeMedia;
|
||||
if (themeMedia != null && themeMedia.IsThemeMedia)
|
||||
if (item.IsThemeMedia)
|
||||
{
|
||||
// Don't report theme song or local trailer playback
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user