mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 20:24:21 -04:00
fix merge conflicts
This commit is contained in:
parent
975a973d31
commit
e99bc61d53
@ -169,14 +169,15 @@ namespace Emby.Common.Implementations
|
|||||||
{
|
{
|
||||||
_deviceId = new DeviceId(ApplicationPaths, LogManager.GetLogger("SystemId"), FileSystemManager);
|
_deviceId = new DeviceId(ApplicationPaths, LogManager.GetLogger("SystemId"), FileSystemManager);
|
||||||
}
|
}
|
||||||
|
|
||||||
return _deviceId.Value;
|
return _deviceId.Value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public PackageVersionClass SystemUpdateLevel
|
public PackageVersionClass SystemUpdateLevel
|
||||||
{
|
{
|
||||||
get {
|
get
|
||||||
|
{
|
||||||
|
|
||||||
#if BETA
|
#if BETA
|
||||||
return PackageVersionClass.Beta;
|
return PackageVersionClass.Beta;
|
||||||
@ -216,7 +217,7 @@ namespace Emby.Common.Implementations
|
|||||||
|
|
||||||
// hack alert, until common can target .net core
|
// hack alert, until common can target .net core
|
||||||
BaseExtensions.CryptographyProvider = CryptographyProvider;
|
BaseExtensions.CryptographyProvider = CryptographyProvider;
|
||||||
|
|
||||||
XmlSerializer = new MyXmlSerializer(fileSystem, logManager.GetLogger("XmlSerializer"));
|
XmlSerializer = new MyXmlSerializer(fileSystem, logManager.GetLogger("XmlSerializer"));
|
||||||
FailedAssemblies = new List<string>();
|
FailedAssemblies = new List<string>();
|
||||||
|
|
||||||
@ -556,7 +557,7 @@ namespace Emby.Common.Implementations
|
|||||||
/// <param name="assembly">The assembly.</param>
|
/// <param name="assembly">The assembly.</param>
|
||||||
/// <returns>IEnumerable{Type}.</returns>
|
/// <returns>IEnumerable{Type}.</returns>
|
||||||
/// <exception cref="System.ArgumentNullException">assembly</exception>
|
/// <exception cref="System.ArgumentNullException">assembly</exception>
|
||||||
protected IEnumerable<Type> GetTypes(Assembly assembly)
|
protected List<Type> GetTypes(Assembly assembly)
|
||||||
{
|
{
|
||||||
if (assembly == null)
|
if (assembly == null)
|
||||||
{
|
{
|
||||||
@ -568,7 +569,7 @@ namespace Emby.Common.Implementations
|
|||||||
// This null checking really shouldn't be needed but adding it due to some
|
// This null checking really shouldn't be needed but adding it due to some
|
||||||
// unhandled exceptions in mono 5.0 that are a little hard to hunt down
|
// unhandled exceptions in mono 5.0 that are a little hard to hunt down
|
||||||
var types = assembly.GetTypes() ?? new Type[] { };
|
var types = assembly.GetTypes() ?? new Type[] { };
|
||||||
return types.Where(t => t != null);
|
return types.Where(t => t != null).ToList();
|
||||||
}
|
}
|
||||||
catch (ReflectionTypeLoadException ex)
|
catch (ReflectionTypeLoadException ex)
|
||||||
{
|
{
|
||||||
@ -576,13 +577,16 @@ namespace Emby.Common.Implementations
|
|||||||
{
|
{
|
||||||
foreach (var loaderException in ex.LoaderExceptions)
|
foreach (var loaderException in ex.LoaderExceptions)
|
||||||
{
|
{
|
||||||
Logger.Error("LoaderException: " + loaderException.Message);
|
if (loaderException != null)
|
||||||
|
{
|
||||||
|
Logger.Error("LoaderException: " + loaderException.Message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If it fails we can still get a list of the Types it was able to resolve
|
// If it fails we can still get a list of the Types it was able to resolve
|
||||||
var types = ex.Types ?? new Type[] { };
|
var types = ex.Types ?? new Type[] { };
|
||||||
return types.Where(t => t != null);
|
return types.Where(t => t != null).ToList();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.2.25.0")]
|
[assembly: AssemblyVersion("3.2.25.12")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user