@@ -45,7 +45,7 @@ def get_mode(url):
return 'track'
if path.startswith('/album/'):
return 'album'
- if path == '/':
+ if path == '/' or path == '':
return 'artist'
raise ValueError('unsupported url: "{}"'.format(path))