Commit Graph

1460 Commits

Author SHA1 Message Date
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
Thomas Adamcik
6375a246a1 Merge branch 'master' into gstreamer 2010-02-07 21:10:31 +01:00
Thomas Adamcik
bc7b13ec8c Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-07 21:10:22 +01:00
Thomas Adamcik
8aff6a01f5 Reset version when load is called 2010-02-07 20:57:18 +01:00
Thomas Adamcik
6b99572dc8 Increment version for every timeplaylist is set 2010-02-07 20:55:32 +01:00
Thomas Adamcik
ae9c63580e Handle shuffeling of subset 2010-02-07 20:48:34 +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
Thomas Adamcik
aafde26643 Add test shuffle and shuffle method 2010-02-07 20:34:43 +01:00
Stein Magnus Jodal
300e23bf11 Change play(id, position) to play(track) 2010-02-07 20:14:03 +01:00
Thomas Adamcik
94017550df Add test remove and remove method 2010-02-07 20:13:27 +01:00
Thomas Adamcik
57cba2c100 Add move group test 2010-02-07 20:09:24 +01:00
Thomas Adamcik
a8d1330343 Add move singe test and implement move function on controller 2010-02-07 20:07:02 +01:00
Stein Magnus Jodal
3302c185a0 Do not include the end position in slices 2010-02-07 20:06:31 +01:00
Thomas Adamcik
f8c29c1dfd Use self.playback in controller test 2010-02-07 19:51:38 +01:00
Thomas Adamcik
968a25c4fd Use self.controller in controller test 2010-02-07 19:50:30 +01:00
Thomas Adamcik
032202ffcb Rewrite populate playlist to decorator 2010-02-07 19:47:46 +01:00
Thomas Adamcik
44446985e3 Add populate playlists to playlist controller test 2010-02-07 19:45:13 +01:00
Thomas Adamcik
0618b85bff Add test for CurrentPlaylistController load and implement on base class 2010-02-07 19:41:50 +01:00
Thomas Adamcik
1bc2a28ec4 Add stop method to satisfy clear when playing test 2010-02-07 19:37:45 +01:00
Thomas Adamcik
9993b64983 Test clearing playlist during playback 2010-02-07 19:36:36 +01:00
Thomas Adamcik
79b0c19354 Add test_clear 2010-02-07 19:33:34 +01:00
Thomas Adamcik
a724d8f0ff Fix next method so that test passes 2010-02-07 19:25:08 +01:00
Thomas Adamcik
b510d8fdae Create populate playlist helper for tests 2010-02-07 19:20:45 +01:00
Thomas Adamcik
ac2b9d90bd Fix state code in gstreamer 2010-02-07 19:15:35 +01:00
Stein Magnus Jodal
9542223f35 Switch 'make public' from using html to dirhtml 2010-02-07 13:40:38 +01:00
Thomas Adamcik
2ba4889cd7 Use property for state in gstreamer 2010-02-07 06:09:09 +01:00
Thomas Adamcik
e57709b0b4 Update play code and next test 2010-02-07 06:03:57 +01:00
Thomas Adamcik
8b6a5184d8 Update play tests 2010-02-07 06:03:37 +01:00