diff --git a/src/NzbDrone.Api/Config/MediaManagementConfigResource.cs b/src/NzbDrone.Api/Config/MediaManagementConfigResource.cs index fb6ef94e5..b2a7c9b65 100644 --- a/src/NzbDrone.Api/Config/MediaManagementConfigResource.cs +++ b/src/NzbDrone.Api/Config/MediaManagementConfigResource.cs @@ -6,10 +6,10 @@ namespace NzbDrone.Api.Config { public class MediaManagementConfigResource : RestResource { - public bool AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; } + public bool AutoUnmonitorPreviouslyDownloadedTracks { get; set; } public string RecycleBin { get; set; } public bool AutoDownloadPropers { get; set; } - public bool CreateEmptySeriesFolders { get; set; } + public bool CreateEmptyArtistFolders { get; set; } public FileDateType FileDate { get; set; } public bool SetPermissionsLinux { get; set; } @@ -31,10 +31,10 @@ namespace NzbDrone.Api.Config { return new MediaManagementConfigResource { - AutoUnmonitorPreviouslyDownloadedEpisodes = model.AutoUnmonitorPreviouslyDownloadedEpisodes, + AutoUnmonitorPreviouslyDownloadedTracks = model.AutoUnmonitorPreviouslyDownloadedTracks, RecycleBin = model.RecycleBin, AutoDownloadPropers = model.AutoDownloadPropers, - CreateEmptySeriesFolders = model.CreateEmptySeriesFolders, + CreateEmptyArtistFolders = model.CreateEmptyArtistFolders, FileDate = model.FileDate, SetPermissionsLinux = model.SetPermissionsLinux, diff --git a/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs index 794dfa2f7..2a8dd88bc 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs @@ -111,7 +111,7 @@ namespace NzbDrone.Core.Test.MediaFiles.DiskScanServiceTests GivenRootFolder(_otherArtistFolder); Mocker.GetMock() - .Setup(s => s.CreateEmptySeriesFolders) + .Setup(s => s.CreateEmptyArtistFolders) .Returns(true); Subject.Scan(_artist); @@ -126,7 +126,7 @@ namespace NzbDrone.Core.Test.MediaFiles.DiskScanServiceTests GivenRootFolder(_otherArtistFolder); Mocker.GetMock() - .Setup(s => s.CreateEmptySeriesFolders) + .Setup(s => s.CreateEmptyArtistFolders) .Returns(false); Subject.Scan(_artist); @@ -158,7 +158,7 @@ namespace NzbDrone.Core.Test.MediaFiles.DiskScanServiceTests GivenRootFolder(_otherArtistFolder); Mocker.GetMock() - .Setup(s => s.CreateEmptySeriesFolders) + .Setup(s => s.CreateEmptyArtistFolders) .Returns(true); Subject.Scan(_artist); diff --git a/src/NzbDrone.Core.Test/TvTests/EpisodeServiceTests/HandleEpisodeFileDeletedFixture.cs b/src/NzbDrone.Core.Test/TvTests/EpisodeServiceTests/HandleEpisodeFileDeletedFixture.cs index 96b5002ff..4cb575007 100644 --- a/src/NzbDrone.Core.Test/TvTests/EpisodeServiceTests/HandleEpisodeFileDeletedFixture.cs +++ b/src/NzbDrone.Core.Test/TvTests/EpisodeServiceTests/HandleEpisodeFileDeletedFixture.cs @@ -81,7 +81,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeServiceTests GivenSingleEpisodeFile(); Mocker.GetMock() - .SetupGet(s => s.AutoUnmonitorPreviouslyDownloadedEpisodes) + .SetupGet(s => s.AutoUnmonitorPreviouslyDownloadedTracks) .Returns(true); Subject.Handle(new EpisodeFileDeletedEvent(_episodeFile, DeleteMediaFileReason.MissingFromDisk)); @@ -96,7 +96,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeServiceTests GivenSingleEpisodeFile(); Mocker.GetMock() - .SetupGet(s => s.AutoUnmonitorPreviouslyDownloadedEpisodes) + .SetupGet(s => s.AutoUnmonitorPreviouslyDownloadedTracks) .Returns(false); Subject.Handle(new EpisodeFileDeletedEvent(_episodeFile, DeleteMediaFileReason.Upgrade)); @@ -111,7 +111,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeServiceTests GivenSingleEpisodeFile(); Mocker.GetMock() - .SetupGet(s => s.AutoUnmonitorPreviouslyDownloadedEpisodes) + .SetupGet(s => s.AutoUnmonitorPreviouslyDownloadedTracks) .Returns(true); Subject.Handle(new EpisodeFileDeletedEvent(_episodeFile, DeleteMediaFileReason.Upgrade)); diff --git a/src/NzbDrone.Core/Configuration/ConfigService.cs b/src/NzbDrone.Core/Configuration/ConfigService.cs index d9b57d68a..2ff500fa9 100644 --- a/src/NzbDrone.Core/Configuration/ConfigService.cs +++ b/src/NzbDrone.Core/Configuration/ConfigService.cs @@ -81,10 +81,10 @@ namespace NzbDrone.Core.Configuration set { SetValue(ConfigKey.DownloadedEpisodesFolder.ToString(), value); } } - public bool AutoUnmonitorPreviouslyDownloadedEpisodes + public bool AutoUnmonitorPreviouslyDownloadedTracks { - get { return GetValueBoolean("AutoUnmonitorPreviouslyDownloadedEpisodes"); } - set { SetValue("AutoUnmonitorPreviouslyDownloadedEpisodes", value); } + get { return GetValueBoolean("AutoUnmonitorPreviouslyDownloadedTracks"); } + set { SetValue("AutoUnmonitorPreviouslyDownloadedTracks", value); } } public int Retention @@ -148,11 +148,11 @@ namespace NzbDrone.Core.Configuration set { SetValue("RemoveFailedDownloads", value); } } - public bool CreateEmptySeriesFolders + public bool CreateEmptyArtistFolders { - get { return GetValueBoolean("CreateEmptySeriesFolders", false); } + get { return GetValueBoolean("CreateEmptyArtistFolders", false); } - set { SetValue("CreateEmptySeriesFolders", value); } + set { SetValue("CreateEmptyArtistFolders", value); } } public FileDateType FileDate diff --git a/src/NzbDrone.Core/Configuration/IConfigService.cs b/src/NzbDrone.Core/Configuration/IConfigService.cs index 589e003e1..27f763d1e 100644 --- a/src/NzbDrone.Core/Configuration/IConfigService.cs +++ b/src/NzbDrone.Core/Configuration/IConfigService.cs @@ -24,10 +24,10 @@ namespace NzbDrone.Core.Configuration bool RemoveFailedDownloads { get; set; } //Media Management - bool AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; } + bool AutoUnmonitorPreviouslyDownloadedTracks { get; set; } string RecycleBin { get; set; } bool AutoDownloadPropers { get; set; } - bool CreateEmptySeriesFolders { get; set; } + bool CreateEmptyArtistFolders { get; set; } FileDateType FileDate { get; set; } bool SkipFreeSpaceCheckWhenImporting { get; set; } bool CopyUsingHardlinks { get; set; } diff --git a/src/NzbDrone.Core/MediaFiles/DiskScanService.cs b/src/NzbDrone.Core/MediaFiles/DiskScanService.cs index 9f8eb33bd..918440c59 100644 --- a/src/NzbDrone.Core/MediaFiles/DiskScanService.cs +++ b/src/NzbDrone.Core/MediaFiles/DiskScanService.cs @@ -91,7 +91,7 @@ namespace NzbDrone.Core.MediaFiles if (!_diskProvider.FolderExists(artist.Path)) { - if (_configService.CreateEmptySeriesFolders) + if (_configService.CreateEmptyArtistFolders) { _logger.Debug("Creating missing artist folder: {0}", artist.Path); _diskProvider.CreateFolder(artist.Path); diff --git a/src/NzbDrone.Core/Music/TrackService.cs b/src/NzbDrone.Core/Music/TrackService.cs index a93ac3746..76fc7a5ca 100644 --- a/src/NzbDrone.Core/Music/TrackService.cs +++ b/src/NzbDrone.Core/Music/TrackService.cs @@ -170,7 +170,7 @@ namespace NzbDrone.Core.Music _logger.Debug("Detaching track {0} from file.", track.Id); track.TrackFileId = 0; - if (message.Reason != DeleteMediaFileReason.Upgrade && _configService.AutoUnmonitorPreviouslyDownloadedEpisodes) + if (message.Reason != DeleteMediaFileReason.Upgrade && _configService.AutoUnmonitorPreviouslyDownloadedTracks) { track.Monitored = false; } diff --git a/src/NzbDrone.Core/Tv/EpisodeService.cs b/src/NzbDrone.Core/Tv/EpisodeService.cs index 32a46ec45..5a117ab11 100644 --- a/src/NzbDrone.Core/Tv/EpisodeService.cs +++ b/src/NzbDrone.Core/Tv/EpisodeService.cs @@ -204,7 +204,7 @@ namespace NzbDrone.Core.Tv _logger.Debug("Detaching episode {0} from file.", episode.Id); episode.EpisodeFileId = 0; - if (message.Reason != DeleteMediaFileReason.Upgrade && _configService.AutoUnmonitorPreviouslyDownloadedEpisodes) + if (message.Reason != DeleteMediaFileReason.Upgrade && _configService.AutoUnmonitorPreviouslyDownloadedTracks) { episode.Monitored = false; } diff --git a/src/UI/Settings/MediaManagement/FileManagement/FileManagementViewTemplate.hbs b/src/UI/Settings/MediaManagement/FileManagement/FileManagementViewTemplate.hbs index d86b4c440..6cb30cb87 100644 --- a/src/UI/Settings/MediaManagement/FileManagement/FileManagementViewTemplate.hbs +++ b/src/UI/Settings/MediaManagement/FileManagement/FileManagementViewTemplate.hbs @@ -2,12 +2,12 @@ File Management
- +
@@ -46,7 +46,7 @@
- +
@@ -61,7 +61,7 @@ - +
@@ -87,7 +87,7 @@
- +
diff --git a/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.hbs b/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.hbs index ecc46b781..75f8ddf48 100644 --- a/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.hbs +++ b/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.hbs @@ -40,7 +40,7 @@
- +
diff --git a/src/UI/Settings/MediaManagement/Sorting/SortingViewTemplate.hbs b/src/UI/Settings/MediaManagement/Sorting/SortingViewTemplate.hbs index 5e77e2d7c..dcc6fa291 100644 --- a/src/UI/Settings/MediaManagement/Sorting/SortingViewTemplate.hbs +++ b/src/UI/Settings/MediaManagement/Sorting/SortingViewTemplate.hbs @@ -2,12 +2,12 @@ Folders
- +
@@ -46,7 +46,7 @@ - +
@@ -94,7 +94,7 @@ - +
diff --git a/src/UI/Settings/Notifications/Edit/NotificationEditViewTemplate.hbs b/src/UI/Settings/Notifications/Edit/NotificationEditViewTemplate.hbs index f6b702f20..148d78118 100644 --- a/src/UI/Settings/Notifications/Edit/NotificationEditViewTemplate.hbs +++ b/src/UI/Settings/Notifications/Edit/NotificationEditViewTemplate.hbs @@ -33,7 +33,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -77,7 +77,7 @@ - + @@ -99,7 +99,7 @@ - + @@ -113,7 +113,7 @@
- +
diff --git a/src/UI/Settings/Profile/Edit/EditProfileViewTemplate.hbs b/src/UI/Settings/Profile/Edit/EditProfileViewTemplate.hbs index 9ed85d156..894fb68cf 100644 --- a/src/UI/Settings/Profile/Edit/EditProfileViewTemplate.hbs +++ b/src/UI/Settings/Profile/Edit/EditProfileViewTemplate.hbs @@ -22,7 +22,7 @@
- +
@@ -40,6 +40,6 @@
- +
diff --git a/src/UI/Settings/Quality/Definition/QualityDefinitionCollectionTemplate.hbs b/src/UI/Settings/Quality/Definition/QualityDefinitionCollectionTemplate.hbs index 067a70fe3..ee0a5faef 100644 --- a/src/UI/Settings/Quality/Definition/QualityDefinitionCollectionTemplate.hbs +++ b/src/UI/Settings/Quality/Definition/QualityDefinitionCollectionTemplate.hbs @@ -6,7 +6,7 @@
Quality Title - Size Limit + Size Limit