2
0
JPVenson 7 сар өмнө
parent
commit
54a6a33c01

+ 2 - 2
MediaBrowser.Controller/MediaSegements/IMediaSegmentManager.cs

@@ -57,11 +57,11 @@ public interface IMediaSegmentManager
     /// <summary>
     /// Obtains all segments accociated with the itemId.
     /// </summary>
-    /// <param name="itemId">The <see cref="BaseItem"/>.</param>
+    /// <param name="item">The <see cref="BaseItem"/>.</param>
     /// <param name="typeFilter">filteres all media segments of the given type to be included. If null all types are included.</param>
     /// <param name="filterByProvider">When set filteres the segments to only return those that which providers are currently enabled on their library.</param>
     /// <returns>An enumerator of <see cref="MediaSegmentDto"/>'s.</returns>
-    Task<IEnumerable<MediaSegmentDto>> GetSegmentsAsync(BaseItem itemId, IEnumerable<MediaSegmentType>? typeFilter, bool filterByProvider = true);
+    Task<IEnumerable<MediaSegmentDto>> GetSegmentsAsync(BaseItem item, IEnumerable<MediaSegmentType>? typeFilter, bool filterByProvider = true);
 
     /// <summary>
     /// Gets information about any media segments stored for the given itemId.