Commit Graph

7702 Commits

Author SHA1 Message Date
Thomas Adamcik
183ff30fa5 Fix test_load_triggers_playing_of_new_playlist 2010-02-13 22:44:50 +01:00
Thomas Adamcik
827305ad00 Handle next at end of playlist properly 2010-02-13 22:36:42 +01:00
Thomas Adamcik
83e8fba854 Add tests that checks that next triggers playback 2010-02-13 22:27:02 +01:00
Thomas Adamcik
6d1a0b3449 Add self.playback to playback tests 2010-02-13 22:26:00 +01:00
Thomas Adamcik
f3d7b54382 Add test that ensures that initial state is stoped 2010-02-13 22:23:28 +01:00
Thomas Adamcik
7c2accf2bc Add test_clear_empty_playlist 2010-02-13 22:05:45 +01:00
Thomas Adamcik
2434408e60 Add get_by_ tests 2010-02-13 21:57:42 +01:00
Thomas Adamcik
4b7da52e3a Move part of test at position to seperate more specific test 2010-02-13 21:41:03 +01:00
Thomas Adamcik
4f5e8b3d51 Add a ton of empty tests that fail 2010-02-13 21:31:15 +01:00
Thomas Adamcik
7ff7c57d55 Update tests to match spec with respect to version handling 2010-02-13 21:21:34 +01:00
Thomas Adamcik
f4f283e741 Move test of precondition for tests to assert in setup 2010-02-13 21:19:04 +01:00
Thomas Adamcik
2f49abcd9c Improve test_remove test 2010-02-13 21:17:01 +01:00
Thomas Adamcik
f03a8238b1 Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-13 20:56:42 +01:00
Stein Magnus Jodal
f59a0a042d libspotify: Implement search 2010-02-13 20:30:33 +01:00
Stein Magnus Jodal
01a6751ce6 Add support for 'outputs' MPD command 2010-02-13 20:11:42 +01:00
Stein Magnus Jodal
552b3ac723 Fix tests and coverage for track status output 2010-02-13 19:58:19 +01:00
Stein Magnus Jodal
0a3341063b Format search results correctly 2010-02-13 17:41:22 +01:00
Stein Magnus Jodal
e72166ad78 libspotify: Remove again redundant _next and _previous overrides. Let _play call stop instead of _stop. 2010-02-13 16:14:13 +01:00
Stein Magnus Jodal
8adbacae09 libspotify: Stored playlists are refreshed when we get the updated metadata callback 2010-02-13 16:03:37 +01:00
Stein Magnus Jodal
a098704334 Remove redundant docstring end 2010-02-13 15:50:18 +01:00
Stein Magnus Jodal
94b100d7af Simplify models by changing __setattr__ instead of having tons of property getters 2010-02-13 15:42:17 +01:00
Stein Magnus Jodal
837e7c361c Test that all model fields are immutable 2010-02-13 14:43:28 +01:00
Stein Magnus Jodal
902953d992 Fix bugs in mopidy.models revealed by new tests 2010-02-13 14:10:50 +01:00
Stein Magnus Jodal
81c7f56b5b Add tests for mopidy.models 2010-02-13 14:10:30 +01:00
Stein Magnus Jodal
5386a8102e libspotify: Play next track on end of track. Stop playback when losing play token. 2010-02-13 01:29:19 +01:00
Stein Magnus Jodal
ba7a3a51e3 libspotify: Improve playback controls by stopping before playing new track. Fix a couple of bugs. 2010-02-13 01:28:39 +01:00
Stein Magnus Jodal
051b79e7cb libspotify: Add dummy library search 2010-02-13 01:27:24 +01:00
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