aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-03-15 16:01:55 +0300
committerGitHub <noreply@github.com>2019-03-15 16:01:55 +0300
commit11fde0203537c7a52ba44c898d96c63990d4e657 (patch)
tree5b680ae4a6dbe3f8efb9f62adcd6a6cee12e21ff /Emby.Server.Implementations/ApplicationHost.cs
parent3d85014edcbdd4a125c580acfd72f8092c2b5006 (diff)
parentd125fbc43d453be7de08375dede1748d4c19a8cf (diff)
Merge pull request #1105 from ploughpuff/ratelimit
Only delay making MusicBrainz request if necessary
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>