mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add code suggestions
This commit is contained in:
parent
630d79fc96
commit
d86e5c2ab7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user