diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-12-04 14:53:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-04 14:53:09 -0500 |
| commit | 670f7cacc394817b24d5edda4542843967b0cc53 (patch) | |
| tree | 18f2c175d094dc3172af3857730281f704ea11d7 /MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs | |
| parent | f07a6c3c3ea13f0f1b60c420a6a73cfb875873aa (diff) | |
| parent | ca5c20c9889f2c279f0b9d80ce776ddc8ee31ad1 (diff) | |
Merge pull request #4651 from crobibero/iso_manager
Remove IIsoMounter and IsoMounter
Diffstat (limited to 'MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs index 380894278..b1da9c712 100644 --- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs +++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs @@ -949,16 +949,14 @@ namespace MediaBrowser.MediaEncoding.Encoder } /// <inheritdoc /> - public IEnumerable<string> GetPrimaryPlaylistVobFiles(string path, IIsoMount isoMount, uint? titleNumber) + public IEnumerable<string> GetPrimaryPlaylistVobFiles(string path, uint? titleNumber) { // min size 300 mb const long MinPlayableSize = 314572800; - var root = isoMount != null ? isoMount.MountedPath : path; - // Try to eliminate menus and intros by skipping all files at the front of the list that are less than the minimum size // Once we reach a file that is at least the minimum, return all subsequent ones - var allVobs = _fileSystem.GetFiles(root, true) + var allVobs = _fileSystem.GetFiles(path, true) .Where(file => string.Equals(file.Extension, ".vob", StringComparison.OrdinalIgnoreCase)) .OrderBy(i => i.FullName) .ToList(); |
