Commit Graph

204 Commits

Author SHA1 Message Date
Stein Magnus Jodal
a3ca1bf82f despotify: Remove unused import 2010-02-10 13:08:21 +01:00
Stein Magnus Jodal
f8f46d4691 despotify: Use shortest path to self.playlists 2010-02-10 13:00:22 +01:00
Stein Magnus Jodal
fe4956ee48 despotify: Remove unused arguments 2010-02-10 13:00:09 +01:00
Stein Magnus Jodal
a56e6fcd6e Rename id variable to this_id to not shadow global id() function 2010-02-10 12:45:06 +01:00
Stein Magnus Jodal
f4c133b4d2 Rewrite DespotifyBackend to use new backend API 2010-02-10 12:23:44 +01:00
Stein Magnus Jodal
9e59ef54e1 Do not set initial state to STOPPED twice 2010-02-10 12:20:44 +01:00
Stein Magnus Jodal
a6cd24cc49 BaseBackend's next(), play() and previous() should not call stop(). Wheter to stop before playing a new track is up to the backend to decide. 2010-02-10 12:18:29 +01:00
Stein Magnus Jodal
32afe4c103 Add next_track and previous_track to BasePlaybackController API. Pass track object to internal _next() and _previous() methods. 2010-02-10 12:14:45 +01:00
Stein Magnus Jodal
52aface886 Update MpdHandler._search() to do MPD output formatting 2010-02-10 12:09:23 +01:00
Stein Magnus Jodal
82e7d0b9ac Do not reset playlist version when loading a new playlist 2010-02-08 13:12:25 +01:00
Stein Magnus Jodal
c4cb47df6c Move Backend API docs from docs/ to docstrings 2010-02-08 12:11:34 +01:00
Stein Magnus Jodal
63eba83dd0 Add Thomas Adamcik to AUTHORS.rst 2010-02-08 09:39:36 +01:00
Stein Magnus Jodal
13819b62b3 Test full currentsong output 2010-02-08 00:20:25 +01:00
Stein Magnus Jodal
46af63ab7e Update MpdHandler to use new backend API 2010-02-08 00:12:05 +01:00
Stein Magnus Jodal
98e333bafa Update DummyBackend to adhere to new backend API 2010-02-08 00:11:36 +01:00
Stein Magnus Jodal
e981edc2cc Fix error in BasePlaybackController.playlist_position() 2010-02-08 00:10:50 +01:00
Stein Magnus Jodal
acdfff5b61 Add get_by_id() and get_by_uri() to BaseCurrentPlaylistController 2010-02-07 23:36:53 +01:00
Stein Magnus Jodal
2a30d40ed5 Fix typo in BaseStoredPlaylistsController class name 2010-02-07 23:17:22 +01:00
Stein Magnus Jodal
3d7fc78010 Fix old use of state constants 2010-02-07 23:16:40 +01:00
Stein Magnus Jodal
0eaee6b70d Reorder classes 2010-02-07 23:10:25 +01:00
Stein Magnus Jodal
035e43b4f5 Replace BaseBackend with new API, keeping the existing logic. MPD formatting moved to MpdHandler. 2010-02-07 22:56:22 +01:00
Stein Magnus Jodal
969beea69b Document arguments to Playlist.mpd_format() 2010-02-07 22:36:47 +01:00
Stein Magnus Jodal
21019740b1 Add two new methods for the backend API 2010-02-07 22:36:08 +01:00
Stein Magnus Jodal
682b14c13c Rename to with_() since with is reserved in Python >=2.6 2010-02-07 21:24:57 +01:00
Stein Magnus Jodal
b6bceacc0f Add Playlist.with() 2010-02-07 21:23:32 +01:00
Stein Magnus Jodal
5779932917 Merge commit 'adamcik/master' 2010-02-07 20:40:08 +01:00
Stein Magnus Jodal
027c273442 pip needs sudo 2010-02-07 20:37:30 +01:00
Stein Magnus Jodal
300e23bf11 Change play(id, position) to play(track) 2010-02-07 20:14:03 +01:00
Stein Magnus Jodal
3302c185a0 Do not include the end position in slices 2010-02-07 20:06:31 +01:00
Stein Magnus Jodal
9542223f35 Switch 'make public' from using html to dirhtml 2010-02-07 13:40:38 +01:00
Thomas Adamcik
8fb7a364d1 Add test for next 2010-02-07 04:34:18 +01:00
Thomas Adamcik
3f0d2028c3 Add basic BasePlaybackControllerTest 2010-02-07 04:32:30 +01:00
Thomas Adamcik
4c44176103 Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-07 04:22:03 +01:00
Thomas Adamcik
2950984b5a Add basic BaseCurrentPlaylistControllerTest 2010-02-07 04:20:43 +01:00
Stein Magnus Jodal
1aeec4e75c Use remove(track) instead of remove(position) 2010-02-07 04:20:28 +01:00
Thomas Adamcik
7cb3e8e7da Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-07 03:52:26 +01:00
Stein Magnus Jodal
922662bff9 First draft of backend API 2010-02-07 03:34:43 +01:00
Stein Magnus Jodal
554c0b4e52 Add Track.bitrate field 2010-02-07 02:28:41 +01:00
Stein Magnus Jodal
06720e2764 Remove method which was defined twice 2010-02-06 15:14:31 +01:00
Stein Magnus Jodal
931ff06613 Add Sphinx nature theme CSS taken from the pip documentation 2010-02-06 14:27:44 +01:00
Stein Magnus Jodal
ea45b4d5e7 Add API doc of mopidy.models 2010-02-06 13:59:50 +01:00
Stein Magnus Jodal
16d7986610 Create docs/_static dir 2010-02-06 13:02:27 +01:00
Stein Magnus Jodal
19bd58f342 When loading a new playlist, reset the current song pos, and if state==PLAY play the first song in the new list 2010-02-06 03:37:58 +01:00
Stein Magnus Jodal
1c75716a39 Remove end_of_track hack 2010-02-06 03:29:49 +01:00
Stein Magnus Jodal
c0ee95777b Fix crash in despotify search 2010-02-06 03:26:10 +01:00
Stein Magnus Jodal
62429d6781 Fix typo 2010-02-06 02:51:07 +01:00
Thomas Adamcik
ca889e14fd Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-06 02:43:40 +01:00
Thomas Adamcik
135664da4d Add logging of which backend is loaded 2010-02-06 02:35:57 +01:00
Stein Magnus Jodal
ea1737cca2 despotify r503 is now the recommended version as it has one known error less 2010-02-06 02:35:20 +01:00
Stein Magnus Jodal
a0988d4733 Remove unused import 2010-02-06 02:32:00 +01:00