Commit Graph

216 Commits

Author SHA1 Message Date
Stein Magnus Jodal
52c52da33e libspotify: Check is_loaded() on all Spotify objects before using them 2010-02-13 01:25:36 +01:00
Stein Magnus Jodal
3784bee583 Library search should return Playlist, not list 2010-02-13 01:20:27 +01:00
Stein Magnus Jodal
e3e5f0c9bb Add tests to get full test coverage of MpdHandler 2010-02-12 23:33:28 +01:00
Stein Magnus Jodal
80b1f377b6 Fix broken MpdHandler tests 2010-02-12 22:59:59 +01:00
Stein Magnus Jodal
c8fa0c4dcf libspotify: Fix typo in field name 2010-02-12 22:49:06 +01:00
Stein Magnus Jodal
379694ac4e despotify: search() should always return a Playlist 2010-02-12 22:47:23 +01:00
Stein Magnus Jodal
ac13b20667 next_track/previous_track should be None if current_track is None 2010-02-10 17:43:35 +01:00
Stein Magnus Jodal
200d6a22ca DummyLibraryController.search() should return a Playlist 2010-02-10 17:40:53 +01:00
Stein Magnus Jodal
45e5b3fd3e Refer to the Track class in next_track/previous_track docs 2010-02-10 17:38:21 +01:00
Stein Magnus Jodal
09b8319f0a Give BaseBackend's _next() and _previous() a default implementation 2010-02-10 13:39:54 +01:00
Stein Magnus Jodal
10534793ae libspotify: Rewrite backend to use new API 2010-02-10 13:14:13 +01:00
Stein Magnus Jodal
580fca2cb6 Add a couple of spaces 2010-02-10 13:09:31 +01:00
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