From f2ab26d6a4c4692ca16076aa5ef3ed469ea0d4f7 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 14 Oct 2012 20:35:03 -0700 Subject: [PATCH] mbcollection: change chunk size to 200 releases --- beetsplug/mbcollection.py | 2 +- docs/changelog.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/beetsplug/mbcollection.py b/beetsplug/mbcollection.py index 9e524f780..a79e0242a 100644 --- a/beetsplug/mbcollection.py +++ b/beetsplug/mbcollection.py @@ -20,7 +20,7 @@ from beets import ui import musicbrainzngs from musicbrainzngs import musicbrainz -SUBMISSION_CHUNK_SIZE = 350 +SUBMISSION_CHUNK_SIZE = 200 def submit_albums(collection_id, release_ids): """Add all of the release IDs to the indicated collection. Multiple diff --git a/docs/changelog.rst b/docs/changelog.rst index 05cf1938c..68922815e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -44,6 +44,9 @@ Changelog than just being called "file" (thanks to Zach Denton). * :doc:`/plugins/importfeeds`: Fix error in symlink mode with non-ASCII filenames. +* :doc:`/plugins/mbcollection`: Fix an error when submitting a large number of + releases (we now submit only 200 releases at a time instead of 350). Thanks + to Jonathan Towne. * Add the track mapping dictionary to the ``album_distance`` plugin function. * Fix an assertion failure when the MusicBrainz main database and search server disagree.