mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-31 11:05:19 +00:00
add smb fixes
This commit is contained in:
1 parent
e9ea1d4ce2
commit
369df3ffda
14 files changed
+26
-15
No files matched your search
@@ -53,6 +53,11 @@ namespace Emby.Common.Implementations.IO
|
||||
if (separator == '/')
|
||||
{
|
||||
result = result.Replace('\\', '/');
|
||||
|
||||
if (result.StartsWith("smb:/", StringComparison.OrdinalIgnoreCase) && !result.StartsWith("smb://", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
result = result.Replace("smb:/", "smb://");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user