aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/MediaSegments
diff options
context:
space:
mode:
authorJPVenson <JPVenson@users.noreply.github.com>2024-09-07 22:56:51 +0200
committerGitHub <noreply@github.com>2024-09-07 14:56:51 -0600
commit5ceedced1c4a8bac5b5b7a5f2bd0913783bd427b (patch)
treee655f4307f550761b855c2acaddb83dd6ecfa11c /MediaBrowser.Model/MediaSegments
parentfc247dab9243b3de42193c4be351636204dbc2f2 (diff)
Feature/media segments plugin api (#12359)
Diffstat (limited to 'MediaBrowser.Model/MediaSegments')
-rw-r--r--MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs b/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs
new file mode 100644
index 0000000000..8c1f44de8c
--- /dev/null
+++ b/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace MediaBrowser.Model;
+
+/// <summary>
+/// Model containing the arguments for enumerating the requested media item.
+/// </summary>
+public record MediaSegmentGenerationRequest
+{
+ /// <summary>
+ /// Gets the Id to the BaseItem the segments should be extracted from.
+ /// </summary>
+ public Guid ItemId { get; init; }
+}