diff --git a/docs/ext/mopify.jpg b/docs/ext/mopify.jpg new file mode 100644 index 00000000..1ac060b7 Binary files /dev/null and b/docs/ext/mopify.jpg differ diff --git a/docs/ext/mopify.png b/docs/ext/mopify.png deleted file mode 100644 index 94ca9d17..00000000 Binary files a/docs/ext/mopify.png and /dev/null differ diff --git a/docs/ext/web.rst b/docs/ext/web.rst index 9f45e3d2..5abf5b15 100644 --- a/docs/ext/web.rst +++ b/docs/ext/web.rst @@ -64,12 +64,13 @@ Mopidy-Mopify https://github.com/dirkgroenen/mopidy-mopify -An web client that mainly targets using Spotify through Mopidy. Made by Dirk -Groenen. +A web client that uses external web services to provide additional features and +a more "complete" Spotify music experience. It's currently targeted at people +using Spotify through Mopidy. Made by Dirk Groenen. -.. image:: /ext/mopify.png - :width: 720 - :height: 424 +.. image:: /ext/mopify.jpg + :width: 800 + :height: 416 To install, run:: diff --git a/mopidy/audio/playlists.py b/mopidy/audio/playlists.py index 8f8232b2..c0e66aa9 100644 --- a/mopidy/audio/playlists.py +++ b/mopidy/audio/playlists.py @@ -76,7 +76,7 @@ def parse_pls(data): for section in cp.sections(): if section.lower() != 'playlist': continue - for i in xrange(cp.getint(section, 'numberofentries')): + for i in range(cp.getint(section, 'numberofentries')): yield cp.get(section, 'file%d' % (i + 1))