mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
add code suggestions
This commit is contained in:
parent
630d79fc96
commit
d86e5c2ab7
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue