diff options
| author | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-06-23 14:22:00 -0700 |
|---|---|---|
| committer | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-06-23 14:22:00 -0700 |
| commit | 619d1d47f27e3ca2f2f249fa81fe23f8019ec0e7 (patch) | |
| tree | 691ee278764cb44f4731dedbdd10dee5de8a9c70 /MediaBrowser.Controller | |
| parent | 0e2c362078c5b0babaa0fd254106452e6d67ebe8 (diff) | |
Move GetHlsPlaylist to ITrickplayManager
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Trickplay/ITrickplayManager.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Trickplay/ITrickplayManager.cs b/MediaBrowser.Controller/Trickplay/ITrickplayManager.cs index 8e82c57d4..8d36fc3ff 100644 --- a/MediaBrowser.Controller/Trickplay/ITrickplayManager.cs +++ b/MediaBrowser.Controller/Trickplay/ITrickplayManager.cs @@ -50,4 +50,13 @@ public interface ITrickplayManager /// <param name="index">The tile grid's index.</param> /// <returns>The absolute path.</returns> string GetTrickplayTilePath(BaseItem item, int width, int index); + + /// <summary> + /// Gets the trickplay HLS playlist. + /// </summary> + /// <param name="itemId">The item.</param> + /// <param name="width">The width of a single tile.</param> + /// <param name="apiKey">Optional api key of the requesting user.</param> + /// <returns>The text content of the .m3u8 playlist.</returns> + string? GetHlsPlaylist(Guid itemId, int width, string? apiKey); } |
