diff options
| author | nicknsy <20588554+nicknsy@users.noreply.github.com> | 2023-02-22 00:08:35 -0800 |
|---|---|---|
| committer | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-06-22 16:19:59 -0700 |
| commit | ca7d1a13000ad948eebbfdeb40542312f3e37d3e (patch) | |
| tree | 6ff31f7f318410c62ba3278aeac71f26e9626603 /MediaBrowser.Controller/Persistence/IItemRepository.cs | |
| parent | a1eb2f6ea8cd78d527f1ae395378419f016208ab (diff) | |
Trickplay generation, manager, storage
Diffstat (limited to 'MediaBrowser.Controller/Persistence/IItemRepository.cs')
| -rw-r--r-- | MediaBrowser.Controller/Persistence/IItemRepository.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs index 2c52b2b45..11eb4932c 100644 --- a/MediaBrowser.Controller/Persistence/IItemRepository.cs +++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs @@ -62,6 +62,27 @@ namespace MediaBrowser.Controller.Persistence void SaveChapters(Guid id, IReadOnlyList<ChapterInfo> chapters); /// <summary> + /// Get available trickplay resolutions and corresponding info. + /// </summary> + /// <param name="itemId">The item.</param> + /// <returns>Map of width resolutions to trickplay tiles info.</returns> + Dictionary<int, TrickplayTilesInfo> GetTilesResolutions(Guid itemId); + + /// <summary> + /// Saves trickplay tiles info. + /// </summary> + /// <param name="itemId">The item.</param> + /// <param name="tilesInfo">The trickplay tiles info.</param> + void SaveTilesInfo(Guid itemId, TrickplayTilesInfo tilesInfo); + + /// <summary> + /// Gets trickplay data for an item. + /// </summary> + /// <param name="item">The item.</param> + /// <returns>A map of media source id to a map of tile width to tile info.</returns> + Dictionary<Guid, Dictionary<int, TrickplayTilesInfo>> GetTrickplayManifest(BaseItem item); + + /// <summary> /// Gets the media streams. /// </summary> /// <param name="query">The query.</param> |
