fix subtitle title updates (#2604)

This commit is contained in:
Jason Dove
2025-11-06 06:03:32 -06:00
committed by GitHub
parent 629b3d7d9f
commit f79fa9a50a
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -34,6 +34,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix error/offline screen generation
- Fix subtitle title sync from Jellyfin libraries
- Deep scans will be required to update subtitle titles on existing media items
- Fix saving subtitle title changes to the database
- This fixes e.g. where stream selection would continue to use the original title
- This applies to all libraries (local and media server) and may require deep scans to fix
### Changed
- Use smaller batch size for search index updates (100, down from 1000)
@@ -717,6 +717,7 @@ public class MetadataRepository(IDbContextFactory<TvContext> dbContextFactory) :
existingSubtitle.SubtitleKind = incomingSubtitle.SubtitleKind;
existingSubtitle.Codec = incomingSubtitle.Codec;
existingSubtitle.DateUpdated = incomingSubtitle.DateUpdated;
existingSubtitle.Title = incomingSubtitle.Title;
dbContext.Entry(existingSubtitle).State = EntityState.Modified;
}