diff --git a/mopidy_cd/cdrom.py b/mopidy_cd/cdrom.py index ed5cdf4..2e041b9 100644 --- a/mopidy_cd/cdrom.py +++ b/mopidy_cd/cdrom.py @@ -5,7 +5,11 @@ import musicbrainzngs -from collections import Mapping, namedtuple +try: + from collections.abc import Mapping +except ImportError: + from collections import Mapping # Backwards compatibility +from collections import namedtuple from datetime import timedelta from mopidy.audio.scan import Scanner