diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-20 12:49:07 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-20 12:49:07 -0500 |
| commit | 830c326c3e58b92209e4a8f0071ff48e3a137360 (patch) | |
| tree | 4a9b5372c331d44787cf31c647fa871b94e2f37f /MediaBrowser.ServerApplication | |
| parent | 888b8d619aec031f57cfd03410ccda52edcca958 (diff) | |
comments
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/ApplicationHost.cs | 18 |
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 + } }); } |
