mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
fix subtitle syncing
This commit is contained in:
@@ -186,18 +186,17 @@ namespace MediaBrowser.LocalMetadata.Images
|
||||
names.Add("movie");
|
||||
}
|
||||
|
||||
foreach (var name in names)
|
||||
{
|
||||
AddImage(files, images, imagePrefix + name, ImageType.Primary);
|
||||
}
|
||||
|
||||
var fileNameWithoutExtension = item.FileNameWithoutExtension;
|
||||
|
||||
if (!string.IsNullOrEmpty(fileNameWithoutExtension))
|
||||
{
|
||||
AddImage(files, images, fileNameWithoutExtension, ImageType.Primary);
|
||||
}
|
||||
|
||||
foreach (var name in names)
|
||||
{
|
||||
AddImage(files, images, imagePrefix + name, ImageType.Primary);
|
||||
}
|
||||
|
||||
if (!isInMixedFolder)
|
||||
{
|
||||
foreach (var name in names)
|
||||
|
||||
Reference in New Issue
Block a user