diff options
18 files changed, 20 insertions, 35 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index e0dfcb9ad..57739cdd4 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -1,6 +1,5 @@ using MediaBrowser.Api.Movies; using MediaBrowser.Api.Music; -using MediaBrowser.Controller.Activity; using MediaBrowser.Controller.Dto; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Audio; diff --git a/MediaBrowser.Api/NewsService.cs b/MediaBrowser.Api/NewsService.cs index 6243bf25f..0ab6b1eb0 100644 --- a/MediaBrowser.Api/NewsService.cs +++ b/MediaBrowser.Api/NewsService.cs @@ -1,5 +1,4 @@ -using MediaBrowser.Controller.News; -using MediaBrowser.Model.News; +using MediaBrowser.Model.News; using MediaBrowser.Model.Querying; using ServiceStack; diff --git a/MediaBrowser.Api/Reports/ReportsService.cs b/MediaBrowser.Api/Reports/ReportsService.cs index cb03d9382..4543772aa 100644 --- a/MediaBrowser.Api/Reports/ReportsService.cs +++ b/MediaBrowser.Api/Reports/ReportsService.cs @@ -9,7 +9,6 @@ using MediaBrowser.Controller.Localization; using System; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Activity; -using MediaBrowser.Controller.Activity; namespace MediaBrowser.Api.Reports { diff --git a/MediaBrowser.Api/Social/SharingService.cs b/MediaBrowser.Api/Social/SharingService.cs index 7d61c24ec..7f7c78795 100644 --- a/MediaBrowser.Api/Social/SharingService.cs +++ b/MediaBrowser.Api/Social/SharingService.cs @@ -3,7 +3,6 @@ using MediaBrowser.Controller.Dlna; using MediaBrowser.Controller.Dto; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Net; -using MediaBrowser.Controller.Social; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Social; using ServiceStack; diff --git a/MediaBrowser.Api/System/ActivityLogService.cs b/MediaBrowser.Api/System/ActivityLogService.cs index d24bc99cb..3c36b4c75 100644 --- a/MediaBrowser.Api/System/ActivityLogService.cs +++ b/MediaBrowser.Api/System/ActivityLogService.cs @@ -1,5 +1,4 @@ -using MediaBrowser.Controller.Activity; -using MediaBrowser.Controller.Net; +using MediaBrowser.Controller.Net; using MediaBrowser.Model.Activity; using MediaBrowser.Model.Querying; using ServiceStack; diff --git a/MediaBrowser.Api/System/ActivityLogWebSocketListener.cs b/MediaBrowser.Api/System/ActivityLogWebSocketListener.cs index a951cd3d6..aaf9a3347 100644 --- a/MediaBrowser.Api/System/ActivityLogWebSocketListener.cs +++ b/MediaBrowser.Api/System/ActivityLogWebSocketListener.cs @@ -1,5 +1,4 @@ -using MediaBrowser.Controller.Activity; -using MediaBrowser.Controller.Net; +using MediaBrowser.Controller.Net; using MediaBrowser.Model.Activity; using MediaBrowser.Model.Events; using MediaBrowser.Model.Logging; diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index 670b08a3f..c0eeaaa36 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -71,8 +71,6 @@ <Compile Include="..\SharedVersion.cs"> <Link>Properties\SharedVersion.cs</Link> </Compile> - <Compile Include="Activity\IActivityManager.cs" /> - <Compile Include="Activity\IActivityRepository.cs" /> <Compile Include="Channels\ChannelItemInfo.cs" /> <Compile Include="Channels\ChannelItemResult.cs" /> <Compile Include="Channels\ChannelItemType.cs" /> @@ -240,7 +238,6 @@ <Compile Include="Net\StaticResultOptions.cs" /> <Compile Include="Net\WebSocketConnectEventArgs.cs" /> <Compile Include="Net\WebSocketMessageInfo.cs" /> - <Compile Include="News\INewsService.cs" /> <Compile Include="Notifications\INotificationManager.cs" /> <Compile Include="Notifications\INotificationService.cs" /> <Compile Include="Notifications\INotificationsRepository.cs" /> @@ -307,7 +304,6 @@ <Compile Include="Security\IAuthenticationRepository.cs" /> <Compile Include="Security\IEncryptionManager.cs" /> <Compile Include="Session\AuthenticationRequest.cs" /> - <Compile Include="Social\ISharingManager.cs" /> <Compile Include="Sorting\SortHelper.cs" /> <Compile Include="Subtitles\ISubtitleManager.cs" /> <Compile Include="Subtitles\ISubtitleProvider.cs" /> diff --git a/MediaBrowser.Controller/Activity/IActivityManager.cs b/MediaBrowser.Model/Activity/IActivityManager.cs index 728548911..7032dff14 100644 --- a/MediaBrowser.Controller/Activity/IActivityManager.cs +++ b/MediaBrowser.Model/Activity/IActivityManager.cs @@ -1,10 +1,9 @@ -using MediaBrowser.Model.Activity; +using System; +using System.Threading.Tasks; using MediaBrowser.Model.Events; using MediaBrowser.Model.Querying; -using System; -using System.Threading.Tasks; -namespace MediaBrowser.Controller.Activity +namespace MediaBrowser.Model.Activity { public interface IActivityManager { diff --git a/MediaBrowser.Controller/Activity/IActivityRepository.cs b/MediaBrowser.Model/Activity/IActivityRepository.cs index 7ccbc2e99..c1952d436 100644 --- a/MediaBrowser.Controller/Activity/IActivityRepository.cs +++ b/MediaBrowser.Model/Activity/IActivityRepository.cs @@ -1,9 +1,8 @@ -using MediaBrowser.Model.Activity; -using MediaBrowser.Model.Querying; -using System; +using System; using System.Threading.Tasks; +using MediaBrowser.Model.Querying; -namespace MediaBrowser.Controller.Activity +namespace MediaBrowser.Model.Activity { public interface IActivityRepository { diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index 68009e21d..712922e8c 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -43,6 +43,8 @@ <Link>Properties\SharedVersion.cs</Link> </Compile> <Compile Include="Activity\ActivityLogEntry.cs" /> + <Compile Include="Activity\IActivityManager.cs" /> + <Compile Include="Activity\IActivityRepository.cs" /> <Compile Include="ApiClient\ApiHelpers.cs" /> <Compile Include="ApiClient\ConnectionMode.cs" /> <Compile Include="ApiClient\ConnectionResult.cs" /> @@ -162,6 +164,7 @@ <Compile Include="Net\EndPointInfo.cs" /> <Compile Include="Net\HttpResponse.cs" /> <Compile Include="Net\MimeTypes.cs" /> + <Compile Include="News\INewsService.cs" /> <Compile Include="Notifications\NotificationOption.cs" /> <Compile Include="Notifications\NotificationOptions.cs" /> <Compile Include="Notifications\NotificationType.cs" /> @@ -356,6 +359,7 @@ <Compile Include="Session\TranscodingInfo.cs" /> <Compile Include="Session\UserDataChangeInfo.cs" /> <Compile Include="Devices\ContentUploadHistory.cs" /> + <Compile Include="Social\ISharingManager.cs" /> <Compile Include="Social\SocialShareInfo.cs" /> <Compile Include="Sync\CompleteSyncJobInfo.cs" /> <Compile Include="Sync\DeviceFileInfo.cs" /> diff --git a/MediaBrowser.Controller/News/INewsService.cs b/MediaBrowser.Model/News/INewsService.cs index 8237764df..4c92664d9 100644 --- a/MediaBrowser.Controller/News/INewsService.cs +++ b/MediaBrowser.Model/News/INewsService.cs @@ -1,7 +1,6 @@ -using MediaBrowser.Model.News; -using MediaBrowser.Model.Querying; +using MediaBrowser.Model.Querying; -namespace MediaBrowser.Controller.News +namespace MediaBrowser.Model.News { /// <summary> /// Interface INewsFeed diff --git a/MediaBrowser.Controller/Social/ISharingManager.cs b/MediaBrowser.Model/Social/ISharingManager.cs index ded37771a..94c22baba 100644 --- a/MediaBrowser.Controller/Social/ISharingManager.cs +++ b/MediaBrowser.Model/Social/ISharingManager.cs @@ -1,7 +1,6 @@ -using MediaBrowser.Model.Social; -using System.Threading.Tasks; +using System.Threading.Tasks; -namespace MediaBrowser.Controller.Social +namespace MediaBrowser.Model.Social { public interface ISharingManager { diff --git a/MediaBrowser.Server.Implementations/Activity/ActivityManager.cs b/MediaBrowser.Server.Implementations/Activity/ActivityManager.cs index 0904c92f1..2af9395c3 100644 --- a/MediaBrowser.Server.Implementations/Activity/ActivityManager.cs +++ b/MediaBrowser.Server.Implementations/Activity/ActivityManager.cs @@ -1,5 +1,4 @@ using MediaBrowser.Common.Events; -using MediaBrowser.Controller.Activity; using MediaBrowser.Controller.Library; using MediaBrowser.Model.Activity; using MediaBrowser.Model.Events; diff --git a/MediaBrowser.Server.Implementations/Activity/ActivityRepository.cs b/MediaBrowser.Server.Implementations/Activity/ActivityRepository.cs index c992def39..f3c52088b 100644 --- a/MediaBrowser.Server.Implementations/Activity/ActivityRepository.cs +++ b/MediaBrowser.Server.Implementations/Activity/ActivityRepository.cs @@ -1,5 +1,4 @@ using MediaBrowser.Controller; -using MediaBrowser.Controller.Activity; using MediaBrowser.Model.Activity; using MediaBrowser.Model.Logging; using MediaBrowser.Model.Querying; diff --git a/MediaBrowser.Server.Implementations/EntryPoints/ActivityLogEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/ActivityLogEntryPoint.cs index 6e4451d96..4931ba2bb 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/ActivityLogEntryPoint.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/ActivityLogEntryPoint.cs @@ -4,7 +4,6 @@ using MediaBrowser.Common.Plugins; using MediaBrowser.Common.ScheduledTasks; using MediaBrowser.Common.Updates; using MediaBrowser.Controller; -using MediaBrowser.Controller.Activity; using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Library; diff --git a/MediaBrowser.Server.Implementations/News/NewsService.cs b/MediaBrowser.Server.Implementations/News/NewsService.cs index 684363d01..0059ba421 100644 --- a/MediaBrowser.Server.Implementations/News/NewsService.cs +++ b/MediaBrowser.Server.Implementations/News/NewsService.cs @@ -1,5 +1,4 @@ using MediaBrowser.Common.Configuration; -using MediaBrowser.Controller.News; using MediaBrowser.Model.News; using MediaBrowser.Model.Querying; using MediaBrowser.Model.Serialization; diff --git a/MediaBrowser.Server.Implementations/Social/SharingManager.cs b/MediaBrowser.Server.Implementations/Social/SharingManager.cs index 95f0ece0c..0bab7a70d 100644 --- a/MediaBrowser.Server.Implementations/Social/SharingManager.cs +++ b/MediaBrowser.Server.Implementations/Social/SharingManager.cs @@ -3,7 +3,6 @@ using MediaBrowser.Controller; using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Library; -using MediaBrowser.Controller.Social; using MediaBrowser.Model.Social; using System; using System.Threading.Tasks; diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 1d687b7d2..ef92217e1 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -11,7 +11,6 @@ using MediaBrowser.Common.Implementations.ScheduledTasks; using MediaBrowser.Common.Net; using MediaBrowser.Common.Progress; using MediaBrowser.Controller; -using MediaBrowser.Controller.Activity; using MediaBrowser.Controller.Channels; using MediaBrowser.Controller.Chapters; using MediaBrowser.Controller.Collections; @@ -28,7 +27,6 @@ using MediaBrowser.Controller.LiveTv; using MediaBrowser.Controller.Localization; using MediaBrowser.Controller.MediaEncoding; using MediaBrowser.Controller.Net; -using MediaBrowser.Controller.News; using MediaBrowser.Controller.Notifications; using MediaBrowser.Controller.Persistence; using MediaBrowser.Controller.Playlists; @@ -37,7 +35,6 @@ using MediaBrowser.Controller.Providers; using MediaBrowser.Controller.Resolvers; using MediaBrowser.Controller.Security; using MediaBrowser.Controller.Session; -using MediaBrowser.Controller.Social; using MediaBrowser.Controller.Sorting; using MediaBrowser.Controller.Subtitles; using MediaBrowser.Controller.Sync; @@ -108,7 +105,10 @@ using MediaBrowser.Common.Implementations.Updates; using MediaBrowser.Controller.Entities.Audio; using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.Entities.TV; +using MediaBrowser.Model.Activity; +using MediaBrowser.Model.News; using MediaBrowser.Model.Serialization; +using MediaBrowser.Model.Social; namespace MediaBrowser.Server.Startup.Common { |
