diff --git a/picard/acousticbrainz/__init__.py b/picard/acousticbrainz/__init__.py index 5c8af296f..fbeed1cbd 100644 --- a/picard/acousticbrainz/__init__.py +++ b/picard/acousticbrainz/__init__.py @@ -21,6 +21,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + from collections import ( defaultdict, namedtuple, diff --git a/picard/dataobj.py b/picard/dataobj.py index a8a5cef82..5f71f871a 100644 --- a/picard/dataobj.py +++ b/picard/dataobj.py @@ -25,6 +25,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + from collections import Counter from picard.config import get_config diff --git a/picard/formats/midi.py b/picard/formats/midi.py index 4be1e5503..6213af0ca 100644 --- a/picard/formats/midi.py +++ b/picard/formats/midi.py @@ -2,7 +2,7 @@ # # Picard, the next-generation MusicBrainz tagger # -# Copyright (C) 2018, 2020 Philipp Wolfer +# Copyright (C) 2018, 2020-2021 Philipp Wolfer # Copyright (C) 2020-2021 Laurent Monin # # This program is free software; you can redistribute it and/or diff --git a/picard/formats/mutagenext/ac3.py b/picard/formats/mutagenext/ac3.py index 52fff032b..cffca4312 100644 --- a/picard/formats/mutagenext/ac3.py +++ b/picard/formats/mutagenext/ac3.py @@ -2,7 +2,7 @@ # # Picard, the next-generation MusicBrainz tagger # -# Copyright (C) 2019 Philipp Wolfer +# Copyright (C) 2019, 2021 Philipp Wolfer # Copyright (C) 2020-2021 Laurent Monin # # This program is free software; you can redistribute it and/or diff --git a/picard/formats/wav.py b/picard/formats/wav.py index 40db908e8..515fa79e7 100644 --- a/picard/formats/wav.py +++ b/picard/formats/wav.py @@ -7,7 +7,7 @@ # Copyright (C) 2013 Michael Wiencek # Copyright (C) 2016-2017 Sambhav Kothari # Copyright (C) 2018, 2020-2021 Laurent Monin -# Copyright (C) 2018-2020 Philipp Wolfer +# Copyright (C) 2018-2021 Philipp Wolfer # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/picard/releasegroup.py b/picard/releasegroup.py index 1bd41f89d..34a166c8a 100644 --- a/picard/releasegroup.py +++ b/picard/releasegroup.py @@ -8,7 +8,7 @@ # Copyright (C) 2017 Wieland Hoffmann # Copyright (C) 2017-2018 Sambhav Kothari # Copyright (C) 2018 Vishal Choudhary -# Copyright (C) 2019 Philipp Wolfer +# Copyright (C) 2019, 2021 Philipp Wolfer # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/picard/ui/widgets/scriptlistwidget.py b/picard/ui/widgets/scriptlistwidget.py index a1cfc0bc6..b9c564bd7 100644 --- a/picard/ui/widgets/scriptlistwidget.py +++ b/picard/ui/widgets/scriptlistwidget.py @@ -20,6 +20,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + from functools import partial import threading diff --git a/picard/util/cdrom.py b/picard/util/cdrom.py index 12c938940..0d6ef958c 100644 --- a/picard/util/cdrom.py +++ b/picard/util/cdrom.py @@ -28,6 +28,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + import os.path from picard import log diff --git a/picard/util/progresscheckpoints.py b/picard/util/progresscheckpoints.py index 3290296d4..c503d55f0 100644 --- a/picard/util/progresscheckpoints.py +++ b/picard/util/progresscheckpoints.py @@ -4,6 +4,7 @@ # # Copyright (C) 2020 Gabriel Ferreira # Copyright (C) 2020-2021 Laurent Monin +# Copyright (C) 2021 Philipp Wolfer # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/picard/util/script_detector_weighted.py b/picard/util/script_detector_weighted.py index 034e66b30..f39e0b33d 100644 --- a/picard/util/script_detector_weighted.py +++ b/picard/util/script_detector_weighted.py @@ -3,6 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2021 Bob Swift +# Copyright (C) 2021 Laurent Monin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/picard/util/versions.py b/picard/util/versions.py index 41cd7398b..a00a03b95 100644 --- a/picard/util/versions.py +++ b/picard/util/versions.py @@ -5,7 +5,7 @@ # Copyright (C) 2006-2014 Lukáš Lalinský # Copyright (C) 2014-2015, 2017-2018, 2020-2021 Laurent Monin # Copyright (C) 2016 Sambhav Kothari -# Copyright (C) 2018-2019 Philipp Wolfer +# Copyright (C) 2018-2019, 2021 Philipp Wolfer # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/test/formats/test_midi.py b/test/formats/test_midi.py index 0a2014076..15b4f4a93 100644 --- a/test/formats/test_midi.py +++ b/test/formats/test_midi.py @@ -2,7 +2,7 @@ # # Picard, the next-generation MusicBrainz tagger # -# Copyright (C) 2019-2020 Philipp Wolfer +# Copyright (C) 2019-2021 Philipp Wolfer # Copyright (C) 2020 Laurent Monin # # This program is free software; you can redistribute it and/or diff --git a/test/test_acousticbrainz.py b/test/test_acousticbrainz.py index 268515fdb..b6d7ee49a 100644 --- a/test/test_acousticbrainz.py +++ b/test/test_acousticbrainz.py @@ -3,6 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2021 Gabriel Ferreira +# Copyright (C) 2021 Laurent Monin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/test/test_config_upgrade.py b/test/test_config_upgrade.py index c8f7c9fb2..b08d0ad68 100644 --- a/test/test_config_upgrade.py +++ b/test/test_config_upgrade.py @@ -4,6 +4,7 @@ # # Copyright (C) 2019-2020 Laurent Monin # Copyright (C) 2019-2021 Philipp Wolfer +# Copyright (C) 2021 Bob Swift # Copyright (C) 2021 Gabriel Ferreira # # This program is free software; you can redistribute it and/or diff --git a/test/test_coverartprovider_caa.py b/test/test_coverartprovider_caa.py index 633cad4ba..7d6aeef74 100644 --- a/test/test_coverartprovider_caa.py +++ b/test/test_coverartprovider_caa.py @@ -3,7 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2020 Laurent Monin -# Copyright (C) 2020 Philipp Wolfer +# Copyright (C) 2020-2021 Philipp Wolfer # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/test/test_dataobj.py b/test/test_dataobj.py index f02df82a0..84a153de1 100644 --- a/test/test_dataobj.py +++ b/test/test_dataobj.py @@ -3,7 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2018 Philipp Wolfer -# Copyright (C) 2020 Laurent Monin +# Copyright (C) 2020-2021 Laurent Monin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/test/test_mbjson.py b/test/test_mbjson.py index 12f668c32..eb72e08ca 100644 --- a/test/test_mbjson.py +++ b/test/test_mbjson.py @@ -3,7 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2017 Sambhav Kothari -# Copyright (C) 2017, 2019-2020 Laurent Monin +# Copyright (C) 2017, 2019-2021 Laurent Monin # Copyright (C) 2018 Wieland Hoffmann # Copyright (C) 2018-2021 Philipp Wolfer # Copyright (C) 2020 dukeyin diff --git a/test/test_similarity.py b/test/test_similarity.py index 2005a7154..7359a51ba 100644 --- a/test/test_similarity.py +++ b/test/test_similarity.py @@ -3,7 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2006 Lukáš Lalinský -# Copyright (C) 2013, 2018-2020 Laurent Monin +# Copyright (C) 2013, 2018-2021 Laurent Monin # Copyright (C) 2018 Wieland Hoffmann # # This program is free software; you can redistribute it and/or diff --git a/test/test_taggenrefilter.py b/test/test_taggenrefilter.py index 7128f4329..b7756d2ee 100644 --- a/test/test_taggenrefilter.py +++ b/test/test_taggenrefilter.py @@ -3,7 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2019 Wieland Hoffmann -# Copyright (C) 2019-2020 Laurent Monin +# Copyright (C) 2019-2021 Laurent Monin # Copyright (C) 2020 Philipp Wolfer # # This program is free software; you can redistribute it and/or diff --git a/test/test_track.py b/test/test_track.py index e246641a2..cd8af9fac 100644 --- a/test/test_track.py +++ b/test/test_track.py @@ -18,6 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + from collections import Counter from test.picardtestcase import PicardTestCase diff --git a/test/test_util_script_detector_weighted.py b/test/test_util_script_detector_weighted.py index 7e64d0d08..eaf7aef4c 100644 --- a/test/test_util_script_detector_weighted.py +++ b/test/test_util_script_detector_weighted.py @@ -3,6 +3,7 @@ # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2021 Bob Swift +# Copyright (C) 2021 Laurent Monin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/test/test_util_uniqnum_title.py b/test/test_util_uniqnum_title.py index f05f19520..16a3bc2ed 100644 --- a/test/test_util_uniqnum_title.py +++ b/test/test_util_uniqnum_title.py @@ -2,6 +2,7 @@ # # Picard, the next-generation MusicBrainz tagger # +# Copyright (C) 2021 Bob Swift # Copyright (C) 2021 Laurent Monin # # This program is free software; you can redistribute it and/or