Rename namespaces

This commit is contained in:
Claus Vium 2019-02-02 09:29:13 +01:00
parent f8dee5758d
commit 17bbd327ba
33 changed files with 39 additions and 38 deletions

1
.gitignore vendored
View File

@ -229,3 +229,4 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
.idea/

View File

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Emby.Kodi.SyncQueue", "Emby.Kodi.SyncQueue\Emby.Kodi.SyncQueue.csproj", "{50B94D48-2AE6-4C3F-A480-64379226E9D9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Plugin.KodiSyncQueue", "Jellyfin.Plugin.KodiSyncQueue\Jellyfin.Plugin.KodiSyncQueue.csproj", "{50B94D48-2AE6-4C3F-A480-64379226E9D9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -1,10 +1,10 @@
using Emby.Kodi.SyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using MediaBrowser.Model.Serialization;
using System;
using MediaBrowser.Model.Services;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.API
namespace Jellyfin.Plugin.KodiSyncQueue.API
{
public class PluginSettingsAPI : IService
{

View File

@ -1,8 +1,8 @@
using Emby.Kodi.SyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using System.Collections.Generic;
using MediaBrowser.Model.Services;
namespace Emby.Kodi.SyncQueue.API
namespace Jellyfin.Plugin.KodiSyncQueue.API
{
//OLD METHOD LEFT IN FOR BACKWARDS COMPATIBILITY
[Route("/Emby.Kodi.SyncQueue/{UserID}/{LastUpdateDT}/GetItems", "GET", Summary = "Gets Items for {USER} from {UTC DATETIME} formatted as yyyy-MM-ddThh:mm:ssZ")]

View File

@ -1,11 +1,11 @@
using Emby.Kodi.SyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using MediaBrowser.Model.Serialization;
using System;
using System.Globalization;
using MediaBrowser.Model.Services;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.API
namespace Jellyfin.Plugin.KodiSyncQueue.API
{
public class ServerTimeAPI : IService
{

View File

@ -1,7 +1,7 @@
using MediaBrowser.Model.Services;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.API
namespace Jellyfin.Plugin.KodiSyncQueue.API
{
class StrmAPI : IService
{

View File

@ -5,16 +5,16 @@ using System.Threading.Tasks;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Serialization;
using MediaBrowser.Common.Configuration;
using Emby.Kodi.SyncQueue.Entities;
using Emby.Kodi.SyncQueue.Data;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Data;
using System.Globalization;
using Emby.Kodi.SyncQueue.Utils;
using Jellyfin.Plugin.KodiSyncQueue.Utils;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Services;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.API
namespace Jellyfin.Plugin.KodiSyncQueue.API
{
public class SyncAPI : IService
{

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using MediaBrowser.Model.Plugins;
namespace Emby.Kodi.SyncQueue.Configuration
namespace Jellyfin.Plugin.KodiSyncQueue.Configuration
{
public class PluginConfiguration : BasePluginConfiguration
{

View File

@ -4,12 +4,12 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using MediaBrowser.Model.Serialization;
using Emby.Kodi.SyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using System.Text;
using MediaBrowser.Model.IO;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.Data
namespace Jellyfin.Plugin.KodiSyncQueue.Data
{
public class DbRepo: IDisposable
{

View File

@ -1,4 +1,4 @@
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class DistinctRec
{

View File

@ -1,7 +1,7 @@

using NanoApi.JsonFile;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class FolderRec
{

View File

@ -1,7 +1,7 @@
using NanoApi.JsonFile;
using System;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class ItemRec
{

View File

@ -1,7 +1,7 @@
using MediaBrowser.Controller.Entities;
using System;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class LibFolder
{

View File

@ -1,7 +1,7 @@
using MediaBrowser.Controller.Entities;
using System;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class LibItem
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class PluginSettings
{

View File

@ -1,4 +1,4 @@
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class ServerTimeInfo
{

View File

@ -1,7 +1,7 @@
using MediaBrowser.Model.Dto;
using System.Collections.Generic;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class SyncUpdateInfo
{

View File

@ -1,7 +1,7 @@

using NanoApi.JsonFile;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class UserInfoRec
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Emby.Kodi.SyncQueue.Entities
namespace Jellyfin.Plugin.KodiSyncQueue.Entities
{
public class UserJson
{

View File

@ -10,12 +10,12 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Emby.Kodi.SyncQueue.Data;
using Emby.Kodi.SyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Data;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using MediaBrowser.Controller.Channels;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.EntryPoints
namespace Jellyfin.Plugin.KodiSyncQueue.EntryPoints
{
public class LibrarySyncNotification : IServerEntryPoint
{

View File

@ -10,11 +10,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Emby.Kodi.SyncQueue.Data;
using Emby.Kodi.SyncQueue.Entities;
using Jellyfin.Plugin.KodiSyncQueue.Data;
using Jellyfin.Plugin.KodiSyncQueue.Entities;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.EntryPoints
namespace Jellyfin.Plugin.KodiSyncQueue.EntryPoints
{
class UserSyncNotification : IServerEntryPoint
{

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Emby.Kodi.SyncQueue.Data;
using Jellyfin.Plugin.KodiSyncQueue.Data;
namespace NanoApi
{

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Model.Serialization;
using Emby.Kodi.SyncQueue.Configuration;
using Jellyfin.Plugin.KodiSyncQueue.Configuration;
using MediaBrowser.Model.Plugins;
using Emby.Kodi.SyncQueue.Data;
using Jellyfin.Plugin.KodiSyncQueue.Data;
using MediaBrowser.Model.IO;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue
namespace Jellyfin.Plugin.KodiSyncQueue
{
class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
{

View File

@ -7,11 +7,11 @@ using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Emby.Kodi.SyncQueue.Data;
using Jellyfin.Plugin.KodiSyncQueue.Data;
using MediaBrowser.Model.Tasks;
using Microsoft.Extensions.Logging;
namespace Emby.Kodi.SyncQueue.ScheduledTasks
namespace Jellyfin.Plugin.KodiSyncQueue.ScheduledTasks
{
public class FireRetentionTask : IScheduledTask
{

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Emby.Kodi.SyncQueue.Utils
namespace Jellyfin.Plugin.KodiSyncQueue.Utils
{
public static class ApiUserCheck
{