Added contact email to user agent

MusicBrainz request a contact email address is supplied in comment section of user agent field.
This commit is contained in:
PloughPuff
2019-03-14 21:32:27 +00:00
parent f8bb7a7ff4
commit d125fbc43d
3 changed files with 15 additions and 2 deletions

View File

@@ -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>