diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-01-20 07:29:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-20 13:29:45 +0100 |
| commit | db1913b08fac0749133634efebd1ee7a7876147a (patch) | |
| tree | a33ab9c840b4ed48f95cf5c833204bcc64a93314 /MediaBrowser.MediaEncoding/BdInfo/BdInfoFileInfo.cs | |
| parent | e448797df06c1b3d645349ac65ab142e3785caae (diff) | |
Remove DvdLib (#9068)
* Remove DvdLib
* Update error message for blu-ray folders
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Remove BDInfo
* Remove MediaEncoder.GetPrimaryPlaylistVobFiles
* Remove BlurayDiscInfo
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Diffstat (limited to 'MediaBrowser.MediaEncoding/BdInfo/BdInfoFileInfo.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/BdInfo/BdInfoFileInfo.cs | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/MediaBrowser.MediaEncoding/BdInfo/BdInfoFileInfo.cs b/MediaBrowser.MediaEncoding/BdInfo/BdInfoFileInfo.cs deleted file mode 100644 index d55688e3d..000000000 --- a/MediaBrowser.MediaEncoding/BdInfo/BdInfoFileInfo.cs +++ /dev/null @@ -1,41 +0,0 @@ -#pragma warning disable CS1591 - -using System.IO; -using MediaBrowser.Model.IO; - -namespace MediaBrowser.MediaEncoding.BdInfo -{ - public class BdInfoFileInfo : BDInfo.IO.IFileInfo - { - private FileSystemMetadata _impl; - - public BdInfoFileInfo(FileSystemMetadata impl) - { - _impl = impl; - } - - public string Name => _impl.Name; - - public string FullName => _impl.FullName; - - public string Extension => _impl.Extension; - - public long Length => _impl.Length; - - public bool IsDir => _impl.IsDirectory; - - public Stream OpenRead() - { - return new FileStream( - FullName, - FileMode.Open, - FileAccess.Read, - FileShare.Read); - } - - public StreamReader OpenText() - { - return new StreamReader(OpenRead()); - } - } -} |
