diff --git a/modules/grooveshark/backend.py b/modules/grooveshark/backend.py index f5c3f96445c01d1dcb6e30379b7ee1502f6d8025..3791c14c2dacabe4adb35de99ac7cb25ca1e4fa3 100644 --- a/modules/grooveshark/backend.py +++ b/modules/grooveshark/backend.py @@ -118,11 +118,12 @@ def get_playlist(self, _id): def iter_resources(self, objs, split_path): with self.browser: - if Playlist in objs: - self._restrict_level(split_path) - if self.browser.is_logged(): - for item in self.browser.get_all_user_playlists(): - yield item + if len(split_path) == 0: + if Playlist in objs: + self._restrict_level(split_path) + if self.browser.is_logged(): + for item in self.browser.get_all_user_playlists(): + yield item def validate_collection(self, objs, collection): if collection.path_level == 0: