mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
improve theme song methods
This commit is contained in:
@@ -18,7 +18,6 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
/// </summary>
|
||||
private static readonly List<string> IgnoreFolders = new List<string>
|
||||
{
|
||||
"trailers",
|
||||
"metadata",
|
||||
"certificate",
|
||||
"backup",
|
||||
@@ -55,6 +54,16 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (string.Equals(filename, BaseItem.TrailerFolderName, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (string.Equals(filename, BaseItem.ThemeSongsFolderName, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user