Retrieve media attachments in BaseItem.
This commit is contained in:
parent
1513c76a3e
commit
f22ca6dd9e
|
@ -1098,6 +1098,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
Id = item.Id.ToString("N", CultureInfo.InvariantCulture),
|
||||
Protocol = protocol ?? MediaProtocol.File,
|
||||
MediaStreams = MediaSourceManager.GetMediaStreams(item.Id),
|
||||
MediaAttachments = MediaSourceManager.GetMediaAttachments(item.Id),
|
||||
Name = GetMediaSourceName(item),
|
||||
Path = enablePathSubstitution ? GetMappedPath(item, item.Path, protocol) : item.Path,
|
||||
RunTimeTicks = item.RunTimeTicks,
|
||||
|
|
Loading…
Reference in New Issue
Block a user