fix subtitle title updates (#2604)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user