Commit Graph

83 Commits

Author SHA1 Message Date
Thomas Adamcik
1daf830741 Remove try catch that can never be triggered (go code coverage) 2010-04-15 00:12:07 +02:00
Thomas Adamcik
ca752c8d94 Fix BasePlaybackController with respect to test_playing_track_that_isnt_in_playlist 2010-04-11 03:29:55 +02:00
Thomas Adamcik
3934c44295 Log internal shuffling for debug 2010-04-09 07:28:28 +02:00
Thomas Adamcik
a7f1f8a6a4 Fix tests so that we don't fail silently in those cases 2010-04-07 02:34:44 +02:00
Thomas Adamcik
a036d22b56 Ensure that reaching end resets current_track 2010-04-07 02:13:45 +02:00
Thomas Adamcik
03dfde1d19 Add FIXME 2010-04-07 02:03:07 +02:00
Thomas Adamcik
ea315900c3 Really fix BasePlaybackController with respect to test_played_track_during_random_not_played_again 2010-04-07 01:49:25 +02:00
Thomas Adamcik
e6b8e1545a Fix BasePlaybackController with respect to test_played_track_during_random_not_played_again 2010-04-07 01:45:15 +02:00
Thomas Adamcik
f1ac153258 Fix BasePlaybackController with respect to test_current_track_after_completed_playlist 2010-04-07 01:35:44 +02:00
Thomas Adamcik
3f6f3fdaec Ensure that next, previous and resume don't start playback 2010-04-07 01:19:55 +02:00
Thomas Adamcik
2671bab2f1 Add FIXME conccerning volume in playback backend 2010-04-07 00:03:43 +02:00
Thomas Adamcik
acbe116494 Fix BasePlaybackController with respect to test_next_track_with_random_after_load_playlist 2010-04-06 23:48:33 +02:00
Thomas Adamcik
928e5e1c21 Fix BasePlaybackController with respect to test_played_track_during_random_not_played_again and test_random_until_end_of_playlist 2010-04-06 23:34:32 +02:00
Thomas Adamcik
50941b481c Fix BasePlaybackController with respect to test_next_track_with_random and test_play_with_random 2010-04-06 22:45:37 +02:00
Thomas Adamcik
d1e5bafc5b Fix BasePlaybackController with respect to test_next_with_consume 2010-04-06 22:38:39 +02:00
Thomas Adamcik
b77311e162 Fix BasePlaybackController with respect to test_next_track_at_end_of_playlist_with_repeat 2010-04-06 22:36:35 +02:00
Thomas Adamcik
ef56004031 Fix BasePlaybackController with respect to test_previous_track_with(repeat,consume,random) 2010-04-06 22:32:38 +02:00
Thomas Adamcik
c2d6f3ab89 Cleaup next_track somewhat 2010-04-06 22:20:26 +02:00
Thomas Adamcik
f34507cc29 Fix BasePlaybackController with respect to test_seek_when_paused_triggers_play 2010-04-06 22:12:44 +02:00
Thomas Adamcik
98a545d9e5 Fix BasePlaybackController with respect to test_play_when_playing 2010-04-06 22:09:07 +02:00
Thomas Adamcik
7e9c0ada05 Make next() stop playing when next_track is None 2010-04-06 21:42:10 +02:00
Thomas Adamcik
acbb2bd7bf Refactor common sanity checks for seek into base class and expect _seek from subclasses 2010-04-06 21:40:29 +02:00
Thomas Adamcik
e77bfef196 Fix BasePlaybackController with respect to test_resume_when_stopped 2010-04-06 21:36:13 +02:00
Thomas Adamcik
3957a2c9d7 Fix BasePlaybackController with respect to test_new_playlist_loaded_callback_when_paused 2010-04-06 21:23:30 +02:00
Thomas Adamcik
37abe08d31 Fix BaseCurrentPlaylistController with respect to test_new_playlist_loaded_callback_gets_called 2010-04-06 21:07:09 +02:00
Thomas Adamcik
9c3473e578 Don't hardcode which track we should start playing 2010-04-06 20:56:58 +02:00
Thomas Adamcik
9b6bbb1ad3 Fix BasePlaybackController with respect to test_play_sets_current_track 2010-04-06 17:13:29 +02:00
Thomas Adamcik
50085d5db5 Fix BasePlaybackController with respect to test_next_track_before_play 2010-04-06 17:12:14 +02:00
Thomas Adamcik
878ef7af50 Dont return self.resume() in def play 2010-04-06 17:05:49 +02:00
Thomas Adamcik
eb538f46be Add destroy method to all backend pieces 2010-04-06 15:50:34 +02:00
Thomas Adamcik
48acbf701c Add FIXMEs 2010-04-06 15:02:15 +02:00
Thomas Adamcik
3cb382e495 Fix BaseCurrentPlaylistController with respect to test_move_single 2010-04-05 21:31:55 +02:00
Thomas Adamcik
5623e26cc7 Fix BaseCurrentPlaylistController with respect to test_add_at_position (at_position can be zero) 2010-04-05 20:36:34 +02:00
Thomas Adamcik
e82a15ee9c Fix BaseCurrentPlaylistController with respect to test_removing_from_empty_playlist 2010-04-05 20:29:22 +02:00
Stein Magnus Jodal
6d46d77b7a Update CPC.get() to match behaviour of SPC.get() 2010-03-31 23:42:03 +02:00
Stein Magnus Jodal
89346aa76b Refactor BaseStoredPlaylistsController.get_by_name to take multiple criteria 2010-03-31 23:28:10 +02:00
Stein Magnus Jodal
96ddf9a881 Improve BCPC.get() docstring 2010-03-31 21:11:58 +02:00
Stein Magnus Jodal
c24c7818e5 Refactor BaseCurrentPlaylistController.get_by_{id,uri} into a generic get(**criteria) 2010-03-31 20:48:03 +02:00
Johannes Knutsen
5a9b141657 set current_track to None on clear commands - required by Sonata 2010-03-30 02:34:58 +02:00
Stein Magnus Jodal
b4bc81e19e Move utility functions to mopidy.utils 2010-03-20 03:22:44 +01:00
Stein Magnus Jodal
b83406afd1 Add 'mopidy' as logger name prefix all over 2010-03-20 02:59:44 +01:00
Stein Magnus Jodal
dda49dde43 If no next track, stop at end of track. 2010-03-20 01:28:17 +01:00
Stein Magnus Jodal
be76965282 Add end_of_track supportto despotify 2010-03-20 01:20:51 +01:00
Stein Magnus Jodal
aa8b67a327 Make core_queue available for backends 2010-03-20 01:20:21 +01:00
Stein Magnus Jodal
d9a71ca6f9 Make mixer injectable again to make the tests happy 2010-03-19 23:07:06 +01:00
Stein Magnus Jodal
194f0e543e Move mixer initialization from main() into backend 2010-03-19 22:05:43 +01:00
Stein Magnus Jodal
523216d0fd Add mixer API and rewrite ALSA mixer hack 2010-03-07 23:48:50 +01:00
Stein Magnus Jodal
e0b65b9603 Add support for 'any' type to search in all backends. Search works in GMPC :-D 2010-03-07 19:53:49 +01:00
Stein Magnus Jodal
b641a47c66 Fix 'time' and 'elapsed' in status output 2010-03-07 18:22:46 +01:00
Stein Magnus Jodal
04ceb83c94 Implement _playback_single and add 'single' field to BasePlaybackController 2010-02-28 23:22:12 +01:00