mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 13:21:19 +00:00
add basic dlna server browsing
This commit is contained in:
parent
818d799091
commit
7f320ce063
38 changed files with 1363 additions and 855 deletions
|
|
@ -158,15 +158,6 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
|
|||
continue;
|
||||
}
|
||||
|
||||
if (video.VideoType == VideoType.BluRay)
|
||||
{
|
||||
// Can only extract reliably on single file blurays
|
||||
if (video.PlayableStreamFileNames == null || video.PlayableStreamFileNames.Count != 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Add some time for the first chapter to make sure we don't end up with a black image
|
||||
var time = chapter.StartPositionTicks == 0 ? TimeSpan.FromTicks(Math.Min(FirstChapterTicks, video.RunTimeTicks ?? 0)) : TimeSpan.FromTicks(chapter.StartPositionTicks);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue