aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/Devices/DeviceId.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-04 14:14:45 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-04 14:14:45 -0400
commit696a6b34eaaee1fc906d27a968d392b7b7193c41 (patch)
tree96b3cd854c519488bf91ed477dcb6d802a9473c9 /Emby.Common.Implementations/Devices/DeviceId.cs
parent53024bd149c7f8e96adf86a9fb5e3cf00c883ba8 (diff)
improve smb support
Diffstat (limited to 'Emby.Common.Implementations/Devices/DeviceId.cs')
-rw-r--r--Emby.Common.Implementations/Devices/DeviceId.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Common.Implementations/Devices/DeviceId.cs b/Emby.Common.Implementations/Devices/DeviceId.cs
index 3d23ab872..1de76456c 100644
--- a/Emby.Common.Implementations/Devices/DeviceId.cs
+++ b/Emby.Common.Implementations/Devices/DeviceId.cs
@@ -57,7 +57,7 @@ namespace Emby.Common.Implementations.Devices
{
var path = CachePath;
- _fileSystem.CreateDirectory(Path.GetDirectoryName(path));
+ _fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(path));
lock (_syncLock)
{