diff --git a/mopidy/utils/zeroconf.py b/mopidy/utils/zeroconf.py index c69fb950..62545e27 100644 --- a/mopidy/utils/zeroconf.py +++ b/mopidy/utils/zeroconf.py @@ -1,17 +1,21 @@ from __future__ import unicode_literals +import logging +import re + +logger = logging.getLogger('mopidy.utils.zerconf') + try: import dbus except ImportError: dbus = None -import re - _AVAHI_IF_UNSPEC = -1 _AVAHI_PROTO_UNSPEC = -1 _AVAHI_PUBLISHFLAGS_NONE = 0 + def _filter_loopback_and_meta_addresses(host): # TODO: see if we can find a cleaner way of handling this. if re.search(r'(?