diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-03-07 13:28:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-07 13:28:23 -0500 |
| commit | 82bb69213e00fc6ac72413aba58781e009b7a0b1 (patch) | |
| tree | 95a5288a090cfe00d8362c27d5f7e266609f1640 /Emby.Server.Implementations/Devices | |
| parent | 972aaba66eb65a46e7fe8ee1cdd8a64286a87b82 (diff) | |
| parent | 9fa6868af3decfa85fe51243b863e5d790fa1246 (diff) | |
Merge pull request #2514 from MediaBrowser/dev
update legacy hd homerun support
Diffstat (limited to 'Emby.Server.Implementations/Devices')
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceManager.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs index 88c0ea203..588b42a09 100644 --- a/Emby.Server.Implementations/Devices/DeviceManager.cs +++ b/Emby.Server.Implementations/Devices/DeviceManager.cs @@ -195,13 +195,12 @@ namespace Emby.Server.Implementations.Devices } var config = _config.GetUploadOptions(); - if (!string.IsNullOrWhiteSpace(config.CameraUploadPath)) + var path = config.CameraUploadPath; + if (string.IsNullOrWhiteSpace(path)) { - return config.CameraUploadPath; + path = DefaultCameraUploadsPath; } - var path = DefaultCameraUploadsPath; - if (config.EnableCameraUploadSubfolders) { path = Path.Combine(path, _fileSystem.GetValidFilename(device.Name)); |
