diff --git a/README.rst b/README.rst index 4501505..c260269 100644 --- a/README.rst +++ b/README.rst @@ -74,6 +74,11 @@ Project resources Changelog ========= +v0.2.2 (2015-04-24) +------------------- + +- Fix infinite loop when adding some stations, again (my bad). + v0.2.1 (2015-04-24) ------------------- diff --git a/mopidy_tunein/__init__.py b/mopidy_tunein/__init__.py index 6f0336d..aba936f 100644 --- a/mopidy_tunein/__init__.py +++ b/mopidy_tunein/__init__.py @@ -4,7 +4,7 @@ from mopidy import config, ext -__version__ = '0.2.1' +__version__ = '0.2.2' class Extension(ext.Extension): diff --git a/mopidy_tunein/actor.py b/mopidy_tunein/actor.py index 2d2d8c4..8cf1107 100644 --- a/mopidy_tunein/actor.py +++ b/mopidy_tunein/actor.py @@ -118,7 +118,7 @@ def translate_uri(self, uri): except exceptions.ScannerError as se: logger.debug('Mopidy scan failed: %s.' % se) new_uris = self.backend.tunein.parse_stream_url(uri) - if uri in new_uris and not stream_uris: + if new_uris == [uri]: logger.debug( 'Last attempt, play stream anyway: %s.' % uri) return uri