From 6ec9bd787c7745bc5210ffad44e471179d27df28 Mon Sep 17 00:00:00 2001 From: Nick Steel Date: Fri, 24 Apr 2015 00:45:43 +0100 Subject: [PATCH] Fixed buggy release. --- README.rst | 5 +++++ mopidy_tunein/__init__.py | 2 +- mopidy_tunein/actor.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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