aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-20 12:49:07 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-20 12:49:07 -0500
commit830c326c3e58b92209e4a8f0071ff48e3a137360 (patch)
tree4a9b5372c331d44787cf31c647fa871b94e2f37f /MediaBrowser.ServerApplication
parent888b8d619aec031f57cfd03410ccda52edcca958 (diff)
comments
Diffstat (limited to 'MediaBrowser.ServerApplication')
-rw-r--r--MediaBrowser.ServerApplication/ApplicationHost.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs
index f8a6b7610..85aeeb129 100644
--- a/MediaBrowser.ServerApplication/ApplicationHost.cs
+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs
@@ -298,6 +298,24 @@ namespace MediaBrowser.ServerApplication
{
// Not there, no big deal
}
+
+ try
+ {
+ Directory.Delete(Path.Combine(ApplicationPaths.DataPath, "tmdb-tv"), true);
+ }
+ catch (IOException)
+ {
+ // Not there, no big deal
+ }
+
+ try
+ {
+ Directory.Delete(Path.Combine(ApplicationPaths.DataPath, "tmdb-collections"), true);
+ }
+ catch (IOException)
+ {
+ // Not there, no big deal
+ }
});
}