mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-19 00:03:36 +00:00
Add caption stop client call
This commit is contained in:
@@ -154,6 +154,14 @@ public sealed class SceneSearchClient : IDisposable
|
||||
content: null,
|
||||
cancellationToken);
|
||||
|
||||
public Task<SceneSearchCaptionStatus?> StopCaptionAsync(
|
||||
CancellationToken cancellationToken)
|
||||
=> SendAsync<SceneSearchCaptionStatus>(
|
||||
HttpMethod.Post,
|
||||
"/api/caption/stop",
|
||||
content: null,
|
||||
cancellationToken);
|
||||
|
||||
private async Task<T?> SendAsync<T>(
|
||||
HttpMethod method,
|
||||
string path,
|
||||
|
||||
Reference in New Issue
Block a user