Merge pull request #1105 from ploughpuff/ratelimit

Only delay making MusicBrainz request if necessary
This commit is contained in:
Vasily
2019-03-15 16:01:55 +03:00
committed by GitHub
4 changed files with 43 additions and 43 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>