浏览代码

Merge pull request #628 from nvllsvm/name

Update Product Name (User-Agent)
Joshua M. Boniface 6 年之前
父节点
当前提交
3a5e3ade01

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -462,7 +462,7 @@ namespace Emby.Server.Implementations
         /// Gets the name.
         /// Gets the name.
         /// </summary>
         /// </summary>
         /// <value>The name.</value>
         /// <value>The name.</value>
-        public string Name => "Jellyfin Server";
+        public string Name => ApplicationProductName;
 
 
         private static Tuple<Assembly, string> GetAssembly(Type type)
         private static Tuple<Assembly, string> GetAssembly(Type type)
         {
         {

+ 1 - 1
Emby.Server.Implementations/Properties/AssemblyInfo.cs

@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("Jellyfin Project")]
 [assembly: AssemblyCompany("Jellyfin Project")]
-[assembly: AssemblyProduct("Jellyfin: The Free Software Media System")]
+[assembly: AssemblyProduct("Jellyfin Server")]
 [assembly: AssemblyCopyright("Copyright ©  2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
 [assembly: AssemblyCopyright("Copyright ©  2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 [assembly: AssemblyCulture("")]