Johannes Knutsen
e7a87d0375
Merge branch 'master' of git://github.com/jodal/mopidy
2010-08-02 14:28:38 +02:00
Stein Magnus Jodal
80df6d1fea
CurrentPlaylistCtl.add() returns the cp_track that was added to the current playlist
2010-08-02 14:24:12 +02:00
Johannes Knutsen
26ebdda214
merge jodal master
2010-08-02 14:08:02 +02:00
Stein Magnus Jodal
6d5d4d857d
Make test match test name
2010-07-31 23:25:25 +02:00
Stein Magnus Jodal
64544a0b71
Use cp_track in CurrentPlaylistCtl and PlaybackCtl
...
A new data structure called ``cp_track`` is now used in the current
playlist controller and the playback controller. A ``cp_track`` is a
two-tuple of (CPID integer, mopidy.models.Track), identifying an
instance of a track uniquely within the current playlist.
This fixes issues with using playlists with multiple instances of the
same track.
2010-07-31 19:51:03 +02:00
Johannes Knutsen
be949d45df
merge implementation of multi-word search
2010-07-26 10:48:30 +02:00
Johannes Knutsen
9c08f54514
implemented multi-word search by making a query as a list of (field, what)-tuples.
2010-07-26 10:44:21 +02:00
Stein Magnus Jodal
affd1799d6
Use CPID in MPD formats.
...
This makes it possible to handle multiple identical songs in the same
playlist.
2010-07-01 03:15:43 +02:00
Stein Magnus Jodal
8c3d3603e2
Add lookup by CPID to CurrentPlaylistController.get()
2010-07-01 01:54:11 +02:00
Stein Magnus Jodal
e6843e8b4d
CurrentPlaylistController.tracks is now read-only
2010-06-30 23:47:18 +02:00
Stein Magnus Jodal
1e0a5e5bb3
CurrentPlaylistController.load() reuse add() logic
2010-06-30 00:31:49 +02:00
Stein Magnus Jodal
93b606af3e
Fix tests broken by the two previous cherry-picked commits
2010-06-30 00:23:28 +02:00
Stein Magnus Jodal
4ba30f80e4
CurrentPlaylistController.load() takes a list of tracks instead of a Playlist object
2010-06-29 23:53:52 +02:00
Thomas Adamcik
98f2f67663
Library needs to set id
2010-05-06 00:50:22 +02:00
Thomas Adamcik
bfd34eb9e0
Fix gstreamer stored playlist controller with respect to tracks that don't exist in library (and test stub for issue)
2010-05-05 23:05:22 +02:00
Thomas Adamcik
8875e054d0
Rename MUSIC_FOLDER, PLAYLIST_FOLDER and TAG_CACHE with LOCAL_ prefix
2010-05-05 20:28:51 +02:00
Thomas Adamcik
65c8dbc906
Fix tests with respect to dependecies between backends
2010-05-05 20:16:41 +02:00
Stein Magnus Jodal
3047aeb14a
Merge remote branch 'adamcik/gstreamer'
2010-05-04 00:27:02 +02:00
Stein Magnus Jodal
39959a6edf
Rename playlist_position to current_playlist_position
2010-05-03 22:52:49 +02:00
Thomas Adamcik
d873fd62de
pylint tests written for gstreamer
2010-05-01 21:53:52 +02:00
Stein Magnus Jodal
59ada1bb28
Merge tests/backends/get_test into tests/backends/base
2010-05-01 14:55:05 +02:00
Thomas Adamcik
7773e8eba3
Test and impl. search in library
2010-04-30 22:25:19 +02:00
Thomas Adamcik
d5b80c7885
Test and implement library.find_exact
2010-04-30 21:57:01 +02:00
Thomas Adamcik
f1453732dc
Find exact with no hits test and impl.
2010-04-30 21:13:32 +02:00
Thomas Adamcik
fa362ce936
Handle missing tag cache better
2010-04-30 20:46:30 +02:00
Thomas Adamcik
437f7fb6e7
Add lookup tests for library
2010-04-30 20:42:08 +02:00
Thomas Adamcik
3bc9a0a60c
Update library tests
2010-04-29 22:20:18 +02:00
Thomas Adamcik
7183cfd561
More placeholders for tests
2010-04-29 22:09:55 +02:00
Thomas Adamcik
c612edd205
Merge branch 'master' into gstreamer
2010-04-29 21:11:42 +02:00
Thomas Adamcik
a0fae47e90
Ensure that renamed playlists aren't created
2010-04-29 20:01:35 +02:00
Thomas Adamcik
42e96ebdcd
Add placeholders for library tests
2010-04-28 23:04:39 +02:00
Thomas Adamcik
074da2e542
Add minimal BaseLibraryControllerTest
2010-04-28 22:56:10 +02:00
Thomas Adamcik
7158056c26
Test id() for equality, not playlists them selves due to eq changes
2010-04-28 21:57:53 +02:00
Stein Magnus Jodal
cf0986a3a0
Add test to ensure that the last track in a playlist also is consumed
2010-04-27 15:27:58 +02:00
Thomas Adamcik
827d450211
Add FIXME
2010-04-26 23:07:31 +02:00
Thomas Adamcik
4f3b2cd45a
Fix test_save test
2010-04-26 23:07:01 +02:00
Thomas Adamcik
3b5e94b4a4
Use temporary playlist folder for stored playlist tests
2010-04-26 23:06:43 +02:00
Thomas Adamcik
221d5901fd
Add save test
2010-04-26 21:14:00 +02:00
Thomas Adamcik
c16dd17484
Add rename and rename tests
2010-04-26 21:10:01 +02:00
Thomas Adamcik
516bfac991
SkipTest for lookup and refresh tests
2010-04-26 21:04:34 +02:00
Thomas Adamcik
2ff19745bf
Add search tests for stored playlists
2010-04-26 21:02:22 +02:00
Thomas Adamcik
6ae2b9c018
Add a bunch of get tests for stored playlists
2010-04-26 20:58:26 +02:00
Thomas Adamcik
ed87fee4cd
Ensure that we tear down stored playlist tests
2010-04-26 20:50:35 +02:00
Thomas Adamcik
f4eae3af94
Add test_delete_non_existant_playlist and test_delete_playlist
2010-04-26 20:49:46 +02:00
Thomas Adamcik
54694f63c4
Add test_playlists_empty_to_start_with test
2010-04-26 20:42:36 +02:00
Thomas Adamcik
2316df7ddc
Add test_create_in_playlists test
2010-04-26 20:41:22 +02:00
Thomas Adamcik
cf205d0eae
Add GStreamerBackendStoredPlaylistsControllerTest
2010-04-26 20:34:14 +02:00
Thomas Adamcik
b025d360e8
Set __all__ for tests.backends.base
2010-04-26 20:33:31 +02:00
Thomas Adamcik
5bd6bf455b
Init time for backend varies, so longer sleep is required in test_time_position_when_playing
2010-04-14 16:05:08 +02:00
Thomas Adamcik
d639a58188
Convert callback test to threading.Event
2010-04-14 14:56:42 +02:00