aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-01-03 21:54:59 +0100
committerBond_009 <bond.009@outlook.com>2019-01-03 21:54:59 +0100
commit6a8b94b0c795b42aa894136445996df4557e8387 (patch)
tree99afe861faf8c3fef9a6b4d8564de9cee3a552d9 /Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs
parentc6618d0a5fdfc063ccfba1b73fe16b68fc3ba1ce (diff)
Remove SMB support
This doesn't mean you can't use an SMB share to store your files for Jellyfin. You will just have to connect to it on the OS level.
Diffstat (limited to 'Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs')
-rw-r--r--Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs b/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs
deleted file mode 100644
index 25c5e06e0..000000000
--- a/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileInputStream.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System.IO;
-
-namespace SharpCifs.Util.Sharpen
-{
- public class FileInputStream : InputStream
- {
- public FileInputStream (FilePath file) : this(file.GetPath ())
- {
- }
-
- public FileInputStream (string file)
- {
- if (!File.Exists (file)) {
- throw new FileNotFoundException ("File not found", file);
- }
- Wrapped = new FileStream (file, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
- }
-
- }
-}