Move GetHlsPlaylist to ITrickplayManager

This commit is contained in:
Nick
2023-06-23 14:22:00 -07:00
parent 0e2c362078
commit 619d1d47f2
3 changed files with 94 additions and 77 deletions

View File

@@ -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);
}