diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-10-06 10:48:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-06 10:48:32 +0200 |
| commit | c5285cee1c1819a45a6f6ce240eb6e1c108d3f7e (patch) | |
| tree | e686fd0d0deac7e6056f8dbfa037bdf477c6585b /Jellyfin.Api/Controllers/SubtitleController.cs | |
| parent | a1246ba3a080cc20ff1c8e64b39a501065cc39b0 (diff) | |
| parent | 7abdf71c49b271281b5500c3cbbebc7ead06f0e2 (diff) | |
Merge pull request #6664 from cvium/subtitle_refresh
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SubtitleController.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs index 1849dd047..8fb85c732 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -417,6 +417,8 @@ namespace Jellyfin.Api.Controllers IsForced = body.IsForced, Stream = memoryStream }).ConfigureAwait(false); + _providerManager.QueueRefresh(video.Id, new MetadataRefreshOptions(new DirectoryService(_fileSystem)), RefreshPriority.High); + return NoContent(); } |
