diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index cfc94a6..ea9e9e4 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -92,6 +92,8 @@ def parse_path(client, path): ''' if len(path.split('/')) != client.folderdepth: return None + if not isinstance(path, unicode): + path = path.decode('utf-8') info = ox.movie.parse_path(path) if client.folderdepth == 3: info['director'] = []