mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-19 11:02:26 +00:00
add code suggestions
This commit is contained in:
@@ -30,7 +30,7 @@ namespace MediaBrowser.Providers.Plugins.MusicBrainz
|
||||
|
||||
set
|
||||
{
|
||||
if (value < 2000u && _server == Plugin.Instance.DefaultServer)
|
||||
if (value < Plugin.Instance.DefaultRateLimit && _server == Plugin.Instance.DefaultServer)
|
||||
{
|
||||
RateLimit = Plugin.Instance.DefaultRateLimit;
|
||||
}
|
||||
|
||||
@@ -17,9 +17,9 @@ namespace MediaBrowser.Providers.Plugins.MusicBrainz
|
||||
|
||||
public override string Description => "Get artist and album metadata from any MusicBrainz server.";
|
||||
|
||||
public string DefaultServer = "https://musicbrainz.org";
|
||||
public const string DefaultServer = "https://musicbrainz.org";
|
||||
|
||||
public long DefaultRateLimit = 2000u;
|
||||
public const long DefaultRateLimit = 2000u;
|
||||
|
||||
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
|
||||
: base(applicationPaths, xmlSerializer)
|
||||
|
||||
Reference in New Issue
Block a user