diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj.orig b/MediaBrowser.Common/MediaBrowser.Common.csproj.orig
deleted file mode 100644
index 40e2094e6..000000000
--- a/MediaBrowser.Common/MediaBrowser.Common.csproj.orig
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}
- Library
- Properties
- MediaBrowser.Common
- MediaBrowser.Common
- v4.5
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 512
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
- False
- ..\packages\ServiceStack.Text.3.9.3\lib\net35\ServiceStack.Text.dll
-
-
-
-
-
-
- False
- ..\packages\Rx-Main.1.0.11226\lib\Net4\System.Reactive.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Splash.xaml
-
-
-
-
-
-
-
-
- {7eeeb4bb-f3e8-48fc-b4c5-70f0fff8329b}
- MediaBrowser.Model
-
-
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MediaBrowser.Controller/IO/DirectoryWatchers.cs b/MediaBrowser.Controller/IO/DirectoryWatchers.cs
index 5d5381d9e..91f74e677 100644
--- a/MediaBrowser.Controller/IO/DirectoryWatchers.cs
+++ b/MediaBrowser.Controller/IO/DirectoryWatchers.cs
@@ -41,6 +41,7 @@ namespace MediaBrowser.Controller.IO
{
Logger.LogInfo("Watching directory " + path + " for changes.");
+ var watcher = new FileSystemWatcher(path, "*") { };
watcher.IncludeSubdirectories = true;
watcher.Changed += watcher_Changed;
diff --git a/MediaBrowser.Controller/Kernel.cs b/MediaBrowser.Controller/Kernel.cs
index 2ea6a44cf..f26783480 100644
--- a/MediaBrowser.Controller/Kernel.cs
+++ b/MediaBrowser.Controller/Kernel.cs
@@ -124,6 +124,7 @@ namespace MediaBrowser.Controller
progress.Report(new TaskProgress { Description = "Loading Media Library" });
await ReloadRoot(allowInternetProviders: false).ConfigureAwait(false);
+
}
///
@@ -137,8 +138,6 @@ namespace MediaBrowser.Controller
DisposeWeatherClient();
- ItemController.PreBeginResolvePath -= ItemController_PreBeginResolvePath;
- ItemController.BeginResolvePath -= ItemController_BeginResolvePath;
}
protected override void OnComposablePartsLoaded()
@@ -188,6 +187,7 @@ namespace MediaBrowser.Controller
DirectoryWatchers.Stop();
RootFolder = await ItemController.GetItem(MediaRootFolderPath, allowInternetProviders: allowInternetProviders).ConfigureAwait(false) as Folder;
+ RootFolder.ChildrenChanged += RootFolder_ChildrenChanged;
DirectoryWatchers.Start();
}
diff --git a/MediaBrowser.Controller/Resolvers/Movies/MovieResolver.cs b/MediaBrowser.Controller/Resolvers/Movies/MovieResolver.cs
index 8ac80f898..e29af64f8 100644
--- a/MediaBrowser.Controller/Resolvers/Movies/MovieResolver.cs
+++ b/MediaBrowser.Controller/Resolvers/Movies/MovieResolver.cs
@@ -68,7 +68,7 @@ namespace MediaBrowser.Controller.Resolvers.Movies
return new Movie()
{
Path = args.Path,
- VideoType = VideoType.DVD
+ VideoType = VideoType.Dvd
};
}
else if (args.IsBDFolder)
@@ -83,6 +83,7 @@ namespace MediaBrowser.Controller.Resolvers.Movies
// Loop through each child file/folder and see if we find a video
foreach (var child in args.FileSystemChildren)
{
+ var childArgs = new ItemResolveEventArgs
{
FileInfo = child,
FileSystemChildren = new WIN32_FIND_DATA[] { },