Skip to content

Commit

Permalink
Update acousticbrainz_tonal-rhythm.py to use 1s rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophist-UK authored and phw committed Oct 24, 2023
1 parent 5a18c78 commit 8d7fe3d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'''
PLUGIN_LICENSE = "GPL-2.0-or-later"
PLUGIN_LICENSE_URL = "https://www.gnu.org/licenses/gpl-2.0.txt"
PLUGIN_VERSION = '1.1.5'
PLUGIN_VERSION = '1.1.6'
PLUGIN_API_VERSIONS = ["2.0"] # Requires support for TKEY which is in 1.4

from json import JSONDecodeError
Expand All @@ -43,7 +43,7 @@
ACOUSTICBRAINZ_HOST = "acousticbrainz.org"
ACOUSTICBRAINZ_PORT = 80

ratecontrol.set_minimum_delay((ACOUSTICBRAINZ_HOST, ACOUSTICBRAINZ_PORT), 100)
ratecontrol.set_minimum_delay((ACOUSTICBRAINZ_HOST, ACOUSTICBRAINZ_PORT), 1000)


class AcousticBrainz_Key:
Expand Down

0 comments on commit 8d7fe3d

Please sign in to comment.