fix plex library scans with mysql/mariadb (#1689)
This commit is contained in:
@@ -53,6 +53,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Fix `HLS Segmenter V2` segment duration (previously 10s, now 4s)
|
||||
- Fix `HLS Segmenter V2` error video generation
|
||||
- Fix MySql database migrations
|
||||
- Fix Plex library scans with MySql/MariaDB
|
||||
- Fix block playout playback when no deco is configured
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -264,7 +264,7 @@ public class PlexMovieRepository : IPlexMovieRepository
|
||||
new { file.Path, file.Id });
|
||||
|
||||
await dbContext.Connection.ExecuteAsync(
|
||||
@"UPDATE PlexMediaFile SET Key = @Key WHERE Id = @Id",
|
||||
@"UPDATE PlexMediaFile SET `Key` = @Key WHERE Id = @Id",
|
||||
new { file.Key, file.Id });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -559,7 +559,7 @@ public class PlexTelevisionRepository : IPlexTelevisionRepository
|
||||
new { file.Path, file.Id });
|
||||
|
||||
await dbContext.Connection.ExecuteAsync(
|
||||
@"UPDATE PlexMediaFile SET Key = @Key WHERE Id = @Id",
|
||||
@"UPDATE PlexMediaFile SET `Key` = @Key WHERE Id = @Id",
|
||||
new { file.Key, file.Id });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user