move classes
This commit is contained in:
parent
70e146a0b2
commit
46efa464d8
|
@ -67,6 +67,11 @@
|
||||||
<Compile Include="FileOrganization\NameUtils.cs" />
|
<Compile Include="FileOrganization\NameUtils.cs" />
|
||||||
<Compile Include="FileOrganization\OrganizerScheduledTask.cs" />
|
<Compile Include="FileOrganization\OrganizerScheduledTask.cs" />
|
||||||
<Compile Include="FileOrganization\TvFolderOrganizer.cs" />
|
<Compile Include="FileOrganization\TvFolderOrganizer.cs" />
|
||||||
|
<Compile Include="HttpServer\IHttpListener.cs" />
|
||||||
|
<Compile Include="HttpServer\Security\AuthorizationContext.cs" />
|
||||||
|
<Compile Include="HttpServer\Security\AuthService.cs" />
|
||||||
|
<Compile Include="HttpServer\Security\SessionContext.cs" />
|
||||||
|
<Compile Include="HttpServer\StreamWriter.cs" />
|
||||||
<Compile Include="Images\BaseDynamicImageProvider.cs" />
|
<Compile Include="Images\BaseDynamicImageProvider.cs" />
|
||||||
<Compile Include="Intros\DefaultIntroProvider.cs" />
|
<Compile Include="Intros\DefaultIntroProvider.cs" />
|
||||||
<Compile Include="IO\ThrottledStream.cs" />
|
<Compile Include="IO\ThrottledStream.cs" />
|
||||||
|
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MediaBrowser.Model.Services;
|
using MediaBrowser.Model.Services;
|
||||||
|
|
||||||
namespace MediaBrowser.Server.Implementations.HttpServer
|
namespace Emby.Server.Implementations.HttpServer
|
||||||
{
|
{
|
||||||
public interface IHttpListener : IDisposable
|
public interface IHttpListener : IDisposable
|
||||||
{
|
{
|
|
@ -10,7 +10,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace MediaBrowser.Server.Implementations.HttpServer.Security
|
namespace Emby.Server.Implementations.HttpServer.Security
|
||||||
{
|
{
|
||||||
public class AuthService : IAuthService
|
public class AuthService : IAuthService
|
||||||
{
|
{
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using MediaBrowser.Model.Services;
|
using MediaBrowser.Model.Services;
|
||||||
|
|
||||||
namespace MediaBrowser.Server.Implementations.HttpServer.Security
|
namespace Emby.Server.Implementations.HttpServer.Security
|
||||||
{
|
{
|
||||||
public class AuthorizationContext : IAuthorizationContext
|
public class AuthorizationContext : IAuthorizationContext
|
||||||
{
|
{
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Controller.Session;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MediaBrowser.Model.Services;
|
using MediaBrowser.Model.Services;
|
||||||
|
|
||||||
namespace MediaBrowser.Server.Implementations.HttpServer.Security
|
namespace Emby.Server.Implementations.HttpServer.Security
|
||||||
{
|
{
|
||||||
public class SessionContext : ISessionContext
|
public class SessionContext : ISessionContext
|
||||||
{
|
{
|
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||||
using MediaBrowser.Common.IO;
|
using MediaBrowser.Common.IO;
|
||||||
using MediaBrowser.Model.Services;
|
using MediaBrowser.Model.Services;
|
||||||
|
|
||||||
namespace MediaBrowser.Server.Implementations.HttpServer
|
namespace Emby.Server.Implementations.HttpServer
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class StreamWriter
|
/// Class StreamWriter
|
|
@ -17,6 +17,7 @@ using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Emby.Server.Implementations.HttpServer;
|
||||||
using MediaBrowser.Common.Net;
|
using MediaBrowser.Common.Net;
|
||||||
using MediaBrowser.Common.Security;
|
using MediaBrowser.Common.Security;
|
||||||
using MediaBrowser.Controller;
|
using MediaBrowser.Controller;
|
||||||
|
|
|
@ -9,14 +9,12 @@ using System.IO;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MediaBrowser.Common.IO;
|
|
||||||
using MediaBrowser.Controller.IO;
|
|
||||||
using MediaBrowser.Model.IO;
|
using MediaBrowser.Model.IO;
|
||||||
using MediaBrowser.Model.Services;
|
using MediaBrowser.Model.Services;
|
||||||
using ServiceStack;
|
using ServiceStack;
|
||||||
using ServiceStack.Web;
|
|
||||||
using IRequest = MediaBrowser.Model.Services.IRequest;
|
using IRequest = MediaBrowser.Model.Services.IRequest;
|
||||||
using MimeTypes = MediaBrowser.Model.Net.MimeTypes;
|
using MimeTypes = MediaBrowser.Model.Net.MimeTypes;
|
||||||
|
using StreamWriter = Emby.Server.Implementations.HttpServer.StreamWriter;
|
||||||
|
|
||||||
namespace MediaBrowser.Server.Implementations.HttpServer
|
namespace MediaBrowser.Server.Implementations.HttpServer
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using MediaBrowser.Model.Logging;
|
using MediaBrowser.Model.Logging;
|
||||||
using MediaBrowser.Server.Implementations.HttpServer.SocketSharp;
|
using MediaBrowser.Server.Implementations.HttpServer.SocketSharp;
|
||||||
using ServiceStack.Web;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
|
|
|
@ -7,6 +7,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Emby.Server.Implementations.HttpServer;
|
||||||
using MediaBrowser.Common.IO;
|
using MediaBrowser.Common.IO;
|
||||||
using MediaBrowser.Model.IO;
|
using MediaBrowser.Model.IO;
|
||||||
using MediaBrowser.Model.Services;
|
using MediaBrowser.Model.Services;
|
||||||
|
|
|
@ -122,8 +122,6 @@
|
||||||
<Compile Include="Devices\CameraUploadsFolder.cs" />
|
<Compile Include="Devices\CameraUploadsFolder.cs" />
|
||||||
<Compile Include="EntryPoints\ExternalPortForwarding.cs" />
|
<Compile Include="EntryPoints\ExternalPortForwarding.cs" />
|
||||||
<Compile Include="EntryPoints\UdpServerEntryPoint.cs" />
|
<Compile Include="EntryPoints\UdpServerEntryPoint.cs" />
|
||||||
<Compile Include="HttpServer\IHttpListener.cs" />
|
|
||||||
<Compile Include="HttpServer\Security\AuthorizationContext.cs" />
|
|
||||||
<Compile Include="HttpServer\ContainerAdapter.cs" />
|
<Compile Include="HttpServer\ContainerAdapter.cs" />
|
||||||
<Compile Include="HttpServer\GetSwaggerResource.cs" />
|
<Compile Include="HttpServer\GetSwaggerResource.cs" />
|
||||||
<Compile Include="HttpServer\HttpListenerHost.cs" />
|
<Compile Include="HttpServer\HttpListenerHost.cs" />
|
||||||
|
@ -131,14 +129,11 @@
|
||||||
<Compile Include="HttpServer\LoggerUtils.cs" />
|
<Compile Include="HttpServer\LoggerUtils.cs" />
|
||||||
<Compile Include="HttpServer\RangeRequestWriter.cs" />
|
<Compile Include="HttpServer\RangeRequestWriter.cs" />
|
||||||
<Compile Include="HttpServer\ResponseFilter.cs" />
|
<Compile Include="HttpServer\ResponseFilter.cs" />
|
||||||
<Compile Include="HttpServer\Security\AuthService.cs" />
|
|
||||||
<Compile Include="HttpServer\ServerFactory.cs" />
|
<Compile Include="HttpServer\ServerFactory.cs" />
|
||||||
<Compile Include="HttpServer\ServerLogFactory.cs" />
|
<Compile Include="HttpServer\ServerLogFactory.cs" />
|
||||||
<Compile Include="HttpServer\ServerLogger.cs" />
|
<Compile Include="HttpServer\ServerLogger.cs" />
|
||||||
<Compile Include="HttpServer\Security\SessionContext.cs" />
|
|
||||||
<Compile Include="HttpServer\SocketSharp\HttpUtility.cs" />
|
<Compile Include="HttpServer\SocketSharp\HttpUtility.cs" />
|
||||||
<Compile Include="HttpServer\SocketSharp\SharpWebSocket.cs" />
|
<Compile Include="HttpServer\SocketSharp\SharpWebSocket.cs" />
|
||||||
<Compile Include="HttpServer\StreamWriter.cs" />
|
|
||||||
<Compile Include="HttpServer\SwaggerService.cs" />
|
<Compile Include="HttpServer\SwaggerService.cs" />
|
||||||
<Compile Include="HttpServer\SocketSharp\Extensions.cs" />
|
<Compile Include="HttpServer\SocketSharp\Extensions.cs" />
|
||||||
<Compile Include="HttpServer\SocketSharp\RequestMono.cs" />
|
<Compile Include="HttpServer\SocketSharp\RequestMono.cs" />
|
||||||
|
|
|
@ -55,7 +55,6 @@ using MediaBrowser.Server.Implementations.Connect;
|
||||||
using MediaBrowser.Server.Implementations.Devices;
|
using MediaBrowser.Server.Implementations.Devices;
|
||||||
using MediaBrowser.Server.Implementations.EntryPoints;
|
using MediaBrowser.Server.Implementations.EntryPoints;
|
||||||
using MediaBrowser.Server.Implementations.HttpServer;
|
using MediaBrowser.Server.Implementations.HttpServer;
|
||||||
using MediaBrowser.Server.Implementations.HttpServer.Security;
|
|
||||||
using MediaBrowser.Server.Implementations.IO;
|
using MediaBrowser.Server.Implementations.IO;
|
||||||
using MediaBrowser.Server.Implementations.LiveTv;
|
using MediaBrowser.Server.Implementations.LiveTv;
|
||||||
using MediaBrowser.Server.Implementations.Localization;
|
using MediaBrowser.Server.Implementations.Localization;
|
||||||
|
@ -106,6 +105,7 @@ using Emby.Server.Implementations.Collections;
|
||||||
using Emby.Server.Implementations.Devices;
|
using Emby.Server.Implementations.Devices;
|
||||||
using Emby.Server.Implementations.Dto;
|
using Emby.Server.Implementations.Dto;
|
||||||
using Emby.Server.Implementations.FileOrganization;
|
using Emby.Server.Implementations.FileOrganization;
|
||||||
|
using Emby.Server.Implementations.HttpServer.Security;
|
||||||
using Emby.Server.Implementations.Library;
|
using Emby.Server.Implementations.Library;
|
||||||
using Emby.Server.Implementations.LiveTv;
|
using Emby.Server.Implementations.LiveTv;
|
||||||
using Emby.Server.Implementations.MediaEncoder;
|
using Emby.Server.Implementations.MediaEncoder;
|
||||||
|
|
|
@ -582,14 +582,15 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(val))
|
if (!string.IsNullOrWhiteSpace(val))
|
||||||
{
|
{
|
||||||
var parts = val.Split('/')
|
//var parts = val.Split('/')
|
||||||
.Select(i => i.Trim())
|
// .Select(i => i.Trim())
|
||||||
.Where(i => !string.IsNullOrWhiteSpace(i));
|
// .Where(i => !string.IsNullOrWhiteSpace(i));
|
||||||
|
|
||||||
foreach (var p in parts)
|
//foreach (var p in parts)
|
||||||
{
|
//{
|
||||||
item.AddStudio(p);
|
// item.AddStudio(p);
|
||||||
}
|
//}
|
||||||
|
item.AddStudio(val);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user