aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-08-13 15:53:36 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-08-13 15:53:36 -0400
commit4f658db3f12e174f6b093f7feb3f9b161bf17062 (patch)
tree6191430de23997333aa321841f66ad0143b95097 /MediaBrowser.Server.Implementations/IO/FileRefresher.cs
parent037c4e874032b6ce8789bf1411167604d403c772 (diff)
parent5b92b44f1a56e6e33a7d8d780882efe88fb67153 (diff)
Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO/FileRefresher.cs')
-rw-r--r--MediaBrowser.Server.Implementations/IO/FileRefresher.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/FileRefresher.cs b/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
index 742585143..2f4605c5c 100644
--- a/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
+++ b/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
@@ -259,6 +259,11 @@ namespace MediaBrowser.Server.Implementations.IO
// File may have been deleted
return false;
}
+ catch (UnauthorizedAccessException)
+ {
+ Logger.Debug("No write permission for: {0}.", path);
+ return false;
+ }
catch (IOException)
{
//the file is unavailable because it is: