aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorPloughPuff <ploughpuff@protonmail.com>2019-03-14 21:32:27 +0000
committerPloughPuff <ploughpuff@protonmail.com>2019-03-14 21:34:09 +0000
commitd125fbc43d453be7de08375dede1748d4c19a8cf (patch)
tree5a1bb9835dff333c3029eca84ee99ec6346ac9f6 /Emby.Server.Implementations/ApplicationHost.cs
parentf8bb7a7ff4d87d19a43f97fed557aa92a657a50f (diff)
Added contact email to user agent
MusicBrainz request a contact email address is supplied in comment section of user agent field.
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 94eaffa47..eaea8844d 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -428,6 +428,12 @@ namespace Emby.Server.Implementations
/// <value>The application user agent.</value>
public string ApplicationUserAgent => Name.Replace(' ','-') + "/" + ApplicationVersion;
+ /// <summary>
+ /// Gets the email address for use within a comment section of a user agent field.
+ /// Presently used to provide contact information to MusicBrainz service.
+ /// </summary>
+ public string ApplicationUserAgentAddress { get; } = "team@jellyfin.org";
+
private string _productName;
/// <summary>