Skip to content

The Free Software Media System - Server Backend & API

Merge branch 'dev' into code-cleanup

Erwin de Haane2751d42e877
diff --cc BDInfo/Properties/AssemblyInfo.cs
index ccb3fc4498,5396452959..77bd9df2ad
--- a/BDInfo/Properties/AssemblyInfo.cs
+++ b/BDInfo/Properties/AssemblyInfo.cs
@@@ -1,8 -1,9 +1,8 @@@
-using System.Resources;
using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BDInfo")]
diff --cc DvdLib/Properties/AssemblyInfo.cs
index fd3fd0ff09,08c0ed88c5..54e2c6b447
--- a/DvdLib/Properties/AssemblyInfo.cs
+++ b/DvdLib/Properties/AssemblyInfo.cs
@@@ -1,8 -1,9 +1,8 @@@
-using System.Resources;
using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DvdLib")]
diff --cc Emby.Dlna/Properties/AssemblyInfo.cs
index ba5e0c3be2,6ee7177ced..fd3b433699
--- a/Emby.Dlna/Properties/AssemblyInfo.cs
+++ b/Emby.Dlna/Properties/AssemblyInfo.cs
@@@ -1,16 -1,17 +1,16 @@@
-using System.Resources;
+using System.Resources;
using System.Reflection;
-using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("Emby.Dlna2")]
+[assembly: AssemblyTitle("Emby.Dlna")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Emby.Dlna2")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyCompany("Jellyfin Project")]
+[assembly: AssemblyProduct("Jellyfin: The Free Software Media System")]
+[assembly: AssemblyCopyright("Copyright © 2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
@@@ -22,6 -23,8 +22,6 @@@
// Build Number
// Revision
//
- // You can specify all the values or you can default the Build and Revision Numbers
+ // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --cc Emby.Drawing.Skia/Properties/AssemblyInfo.cs
index 5c920ac161,b8799f986c..521010cdbd
--- a/Emby.Drawing.Skia/Properties/AssemblyInfo.cs
+++ b/Emby.Drawing.Skia/Properties/AssemblyInfo.cs
@@@ -1,8 -1,9 +1,8 @@@
-using System.Resources;
using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Emby.Drawing.Skia")]
diff --cc Emby.Drawing/Properties/AssemblyInfo.cs
index b353ecfa6a,aa5619f979..8dfefe0af8
--- a/Emby.Drawing/Properties/AssemblyInfo.cs
+++ b/Emby.Drawing/Properties/AssemblyInfo.cs
@@@ -1,7 -1,7 +1,7 @@@
-using System.Reflection;
+using System.Reflection;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Emby.Drawing")]
@@@ -24,7 -24,7 +24,7 @@@
// Version information for an assembly consists of the following four values:
//
// Major Version
- // Minor Version
+ // Minor Version
// Build Number
// Revision
-//
+//
diff --cc Emby.Photos/Properties/AssemblyInfo.cs
index cd563b24fe,20e7d952d9..262125d388
--- a/Emby.Photos/Properties/AssemblyInfo.cs
+++ b/Emby.Photos/Properties/AssemblyInfo.cs
@@@ -1,8 -1,8 +1,8 @@@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Emby.Photos")]
diff --cc Emby.Server.Implementations/Devices/DeviceId.cs
index d85e5c296d,ce6bd67af9..5630d7d3ce
--- a/Emby.Server.Implementations/Devices/DeviceId.cs
+++ b/Emby.Server.Implementations/Devices/DeviceId.cs
@@@ -95,9 -98,12 +95,9 @@@ namespace Emby.Server.Implementations.D
_appPaths = appPaths;
_logger = logger;
- _fileSystem = fileSystem;
+ _fileSystem = fileSystem;
}
- public string Value
- {
- get { return _id ?? (_id = GetDeviceId()); }
- }
+ public string Value => _id ?? (_id = GetDeviceId());
}
}
diff --cc Emby.Server.Implementations/Networking/IPNetwork/IPNetwork.cs
index ba9cfff551,da858e44e2..9a0020de77
--- a/Emby.Server.Implementations/Networking/IPNetwork/IPNetwork.cs
+++ b/Emby.Server.Implementations/Networking/IPNetwork/IPNetwork.cs
@@@ -1223,10 -1266,16 +1223,10 @@@ namespace System.Ne
/// 192.168.0.0/16
/// </summary>
/// <returns></returns>
- public static IPNetwork IANA_CBLK_RESERVED1
- {
- get
- {
- return _iana_cblock_reserved.Value;
- }
- }
+ public static IPNetwork IANA_CBLK_RESERVED1 => _iana_cblock_reserved.Value;
/// <summary>
- /// return true if ipaddress is contained in
+ /// return true if ipaddress is contained in
/// IANA_ABLK_RESERVED1, IANA_BBLK_RESERVED1, IANA_CBLK_RESERVED1
/// </summary>
/// <param name="ipaddress"></param>
diff --cc Emby.Server.Implementations/Properties/AssemblyInfo.cs
index 6cf7535d42,5987db0eb4..9484e2d43c
--- a/Emby.Server.Implementations/Properties/AssemblyInfo.cs
+++ b/Emby.Server.Implementations/Properties/AssemblyInfo.cs
@@@ -1,8 -1,9 +1,8 @@@
-using System.Resources;
using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Emby.Server.Implementations")]
diff --cc Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/CodingStateMachine.cs
index 2a0e83b178,484bbca368..34f24161df
--- a/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/CodingStateMachine.cs
+++ b/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/CodingStateMachine.cs
@@@ -71,14 -71,20 +71,14 @@@ namespace UniversalDetector.Cor
currentBytePos++;
return currentState;
}
-
- public void Reset()
- {
- currentState = SMModel.START;
+
+ public void Reset()
+ {
+ currentState = SMModel.START;
}
- public int CurrentCharLen
- {
- get { return currentCharLen; }
- }
+ public int CurrentCharLen => currentCharLen;
- public string ModelName
- {
- get { return model.Name; }
- }
+ public string ModelName => model.Name;
}
}
diff --cc Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/SMModel.cs
index 5b2f383033,451a3e59c2..cb2f201aad
--- a/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/SMModel.cs
+++ b/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/SMModel.cs
@@@ -52,10 -52,12 +52,10 @@@ namespace UniversalDetector.Cor
public BitPackage classTable;
public BitPackage stateTable;
public int[] charLenTable;
-
+
private string name;
-
- public string Name {
- get { return name; }
- }
+
+ public string Name => name;
private int classFactor;
diff --cc Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/SequenceModel.cs
index 32b5df1695,fc824b5a20..b813dda768
--- a/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/SequenceModel.cs
+++ b/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/SequenceModel.cs
@@@ -44,24 -44,30 +44,24 @@@ namespace UniversalDetector.Cor
{
// [256] table use to find a char's order
protected byte[] charToOrderMap;
-
- // [SAMPLE_SIZE][SAMPLE_SIZE] table to find a 2-char sequence's
- // frequency
+
+ // [SAMPLE_SIZE][SAMPLE_SIZE] table to find a 2-char sequence's
+ // frequency
protected byte[] precedenceMatrix;
-
+
// freqSeqs / totalSeqs
protected float typicalPositiveRatio;
+
+ public float TypicalPositiveRatio => typicalPositiveRatio;
- public float TypicalPositiveRatio {
- get { return typicalPositiveRatio; }
- }
-
- // not used
+ // not used
protected bool keepEnglishLetter;
+
+ public bool KeepEnglishLetter => keepEnglishLetter;
- public bool KeepEnglishLetter {
- get { return keepEnglishLetter; }
- }
+ protected string charsetName;
- protected String charsetName;
-
- public string CharsetName {
- get { return charsetName; }
- }
+ public string CharsetName => charsetName;
public SequenceModel(
byte[] charToOrderMap,
diff --cc Emby.XmlTv/Emby.XmlTv/Properties/AssemblyInfo.cs
index 2a56c5d258,d852584198..ff2efb0781
--- a/Emby.XmlTv/Emby.XmlTv/Properties/AssemblyInfo.cs
+++ b/Emby.XmlTv/Emby.XmlTv/Properties/AssemblyInfo.cs
@@@ -1,8 -1,8 +1,8 @@@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XmlTv")]
diff --cc MediaBrowser.Api/Properties/AssemblyInfo.cs
index 49ee44b420,2755924c87..f867230311
--- a/MediaBrowser.Api/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.Api/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.Api")]
diff --cc MediaBrowser.Common/Properties/AssemblyInfo.cs
index 27a787b48a,1a7112ad9a..1a8fdb618d
--- a/MediaBrowser.Common/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.Common/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.Common")]
diff --cc MediaBrowser.Controller/Properties/AssemblyInfo.cs
index 2f3df51101,a28296c18a..007a1d739b
--- a/MediaBrowser.Controller/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.Controller/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.Controller")]
diff --cc MediaBrowser.LocalMetadata/Properties/AssemblyInfo.cs
index af8d4afd0f,bffe0469f1..3eac837081
--- a/MediaBrowser.LocalMetadata/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.LocalMetadata/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.LocalMetadata")]
diff --cc MediaBrowser.MediaEncoding/Properties/AssemblyInfo.cs
index fc8b55ec1c,2f26648d0d..6ecdf89bc1
--- a/MediaBrowser.MediaEncoding/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.MediaEncoding/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.MediaEncoding")]
diff --cc MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
index 0f096bc4ae,35900b5449..3f88737988
--- a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
+++ b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
@@@ -63,9 -63,9 +63,9 @@@ namespace MediaBrowser.Model.Entitie
{
if (instance == null)
{
- throw new ArgumentNullException("instance");
+ throw new ArgumentNullException(nameof(instance));
}
-
+
// If it's null remove the key from the dictionary
if (string.IsNullOrEmpty(value))
{
diff --cc MediaBrowser.Model/Properties/AssemblyInfo.cs
index 636f4295f0,e34472f08f..e78719e35f
--- a/MediaBrowser.Model/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.Model/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
using System.Resources;
+using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.Model")]
diff --cc MediaBrowser.Providers/Properties/AssemblyInfo.cs
index e1c12333b5,384ad1419c..d2b13fc89d
--- a/MediaBrowser.Providers/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.Providers/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.Providers")]
diff --cc MediaBrowser.WebDashboard/Properties/AssemblyInfo.cs
index e51a858e23,2b083f0259..416ce4826a
--- a/MediaBrowser.WebDashboard/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.WebDashboard/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.WebDashboard")]
diff --cc MediaBrowser.XbmcMetadata/Properties/AssemblyInfo.cs
index 450a6b3952,1fdf365be9..11e513f1be
--- a/MediaBrowser.XbmcMetadata/Properties/AssemblyInfo.cs
+++ b/MediaBrowser.XbmcMetadata/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.XbmcMetadata")]
diff --cc Mono.Nat/Properties/AssemblyInfo.cs
index 0e000180b7,f209ff7058..ea1c9dee6d
--- a/Mono.Nat/Properties/AssemblyInfo.cs
+++ b/Mono.Nat/Properties/AssemblyInfo.cs
@@@ -1,8 -1,8 +1,8 @@@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mono.Nat")]
diff --cc OpenSubtitlesHandler/Properties/AssemblyInfo.cs
index da0d2b98f3,f82e8c458e..ad4fbbb021
--- a/OpenSubtitlesHandler/Properties/AssemblyInfo.cs
+++ b/OpenSubtitlesHandler/Properties/AssemblyInfo.cs
@@@ -1,8 -1,7 +1,8 @@@
-using System.Reflection;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OpenSubtitlesHandler")]
diff --cc RSSDP/DeviceEventArgs.cs
index a49ef07368,5fd441041e..0212d1d7ce
--- a/RSSDP/DeviceEventArgs.cs
+++ b/RSSDP/DeviceEventArgs.cs
@@@ -4,45 -4,45 +4,45 @@@ using System.Text
namespace Rssdp
{
- /// <summary>
- /// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events.
- /// </summary>
- public sealed class DeviceEventArgs : EventArgs
- {
+ /// <summary>
+ /// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events.
+ /// </summary>
+ public sealed class DeviceEventArgs : EventArgs
+ {
- #region Fields
+ #region Fields
- private readonly SsdpDevice _Device;
+ private readonly SsdpDevice _Device;
- #endregion
+ #endregion
- #region Constructors
+ #region Constructors
- /// <summary>
- /// Constructs a new instance for the specified <see cref="SsdpDevice"/>.
- /// </summary>
- /// <param name="device">The <see cref="SsdpDevice"/> associated with the event this argument class is being used for.</param>
- /// <exception cref="System.ArgumentNullException">Thrown if the <paramref name="device"/> argument is null.</exception>
- public DeviceEventArgs(SsdpDevice device)
- {
- if (device == null) throw new ArgumentNullException("device");
+ /// <summary>
+ /// Constructs a new instance for the specified <see cref="SsdpDevice"/>.
+ /// </summary>
+ /// <param name="device">The <see cref="SsdpDevice"/> associated with the event this argument class is being used for.</param>
+ /// <exception cref="System.ArgumentNullException">Thrown if the <paramref name="device"/> argument is null.</exception>
+ public DeviceEventArgs(SsdpDevice device)
+ {
+ if (device == null) throw new ArgumentNullException(nameof(device));
- _Device = device;
- }
+ _Device = device;
+ }
- #endregion
+ #endregion
- #region Public Properties
+ #region Public Properties
- /// <summary>
- /// Returns the <see cref="SsdpDevice"/> instance the event being raised for.
- /// </summary>
- public SsdpDevice Device
- {
- get { return _Device; }
- }
+ /// <summary>
+ /// Returns the <see cref="SsdpDevice"/> instance the event being raised for.
+ /// </summary>
+ public SsdpDevice Device
+ {
+ get { return _Device; }
+ }
- #endregion
+ #endregion
- }
- }
+ }
+ }
diff --cc RSSDP/IEnumerableExtensions.cs
index 9608cb4797,85a72c01d2..950d561b05
--- a/RSSDP/IEnumerableExtensions.cs
+++ b/RSSDP/IEnumerableExtensions.cs
@@@ -5,24 -5,24 +5,24 @@@ using System.Text
namespace Rssdp.Infrastructure
{
- internal static class IEnumerableExtensions
- {
- public static IEnumerable<T> SelectManyRecursive<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> selector)
- {
- if (source == null) throw new ArgumentNullException("source");
- if (selector == null) throw new ArgumentNullException("selector");
+ internal static class IEnumerableExtensions
+ {
+ public static IEnumerable<T> SelectManyRecursive<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> selector)
+ {
+ if (source == null) throw new ArgumentNullException(nameof(source));
+ if (selector == null) throw new ArgumentNullException(nameof(selector));
- return !source.Any() ? source :
- source.Concat(
- source
- .SelectMany(i => selector(i).EmptyIfNull())
- .SelectManyRecursive(selector)
- );
- }
+ return !source.Any() ? source :
+ source.Concat(
+ source
+ .SelectMany(i => selector(i).EmptyIfNull())
+ .SelectManyRecursive(selector)
+ );
+ }
- public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T> source)
- {
- return source ?? Enumerable.Empty<T>();
- }
- }
+ public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T> source)
+ {
+ return source ?? Enumerable.Empty<T>();
+ }
+ }
}
diff --cc RSSDP/Properties/AssemblyInfo.cs
index a60820520d,f0584fa1a5..7098279b46
--- a/RSSDP/Properties/AssemblyInfo.cs
+++ b/RSSDP/Properties/AssemblyInfo.cs
@@@ -1,16 -1,17 +1,16 @@@
-using System.Resources;
using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("RSSDP2")]
+[assembly: AssemblyTitle("RSSDP")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("RSSDP2")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyCompany("Jellyfin Project")]
+[assembly: AssemblyProduct("Jellyfin: The Free Software Media System")]
+[assembly: AssemblyCopyright("Copyright © 2015 Troy Willmot. Code released under the MIT license. Copyright © 2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
diff --cc SocketHttpListener/Properties/AssemblyInfo.cs
index a256e78258,4151e83e34..a69bd176f7
--- a/SocketHttpListener/Properties/AssemblyInfo.cs
+++ b/SocketHttpListener/Properties/AssemblyInfo.cs
@@@ -1,8 -1,8 +1,8 @@@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Reflection;
+using System.Resources;
using System.Runtime.InteropServices;
- // General Information about an assembly is controlled through the following
+ // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SocketHttpListener")]