aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SubtitleController.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-10-04 21:12:09 +0200
committercvium <clausvium@gmail.com>2021-10-04 21:12:09 +0200
commit229917a2f819b9b5d8e59e116503a0dcca35c0a3 (patch)
treeac99d3ffe5e26d881a7e221c9c7ff0ad0a1b5665 /Jellyfin.Api/Controllers/SubtitleController.cs
parent647c080ef7d2bca5d881585a576637715f9697f8 (diff)
Queue refresh after subtitle upload + minor fixes
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SubtitleController.cs2
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();
}