Commit Graph

268 Commits

Author SHA1 Message Date
Stein Magnus Jodal
78f71794e1 Fix tests broken by knutz3n's search improvements, and sync GstreamerBackend's find_exact() and search() 2010-08-09 12:05:08 +02:00
Johannes Knutsen
2897f8e5f6 merge master branch 2010-08-09 09:49:07 +02:00
Stein Magnus Jodal
a6d06a6c4b Remove Track.id usage from de-/libspotify integration tests 2010-08-08 18:38:29 +02:00
Stein Magnus Jodal
22b6a3df8b Remove Track.id usage in Gstreamer backend 2010-08-08 17:15:47 +02:00
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
Stein Magnus Jodal
770e1fa85e Don't use GStreamer's fakesink, since two tests fails using it 2010-06-28 23:27:52 +02:00
Stein Magnus Jodal
873e387618 Temporarily disable GStreamer tests for Win32 2010-06-24 18:13:51 +02:00
Stein Magnus Jodal
f2547199a0 Gstreamer tests: use fakesink for audio output 2010-06-16 22:07:35 +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
d70d60deed Add deactivated integration tests for DespotifyBackend and LibspotifyBackend 2010-05-03 23:17:52 +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
Thomas Adamcik
590aea4b89 Add FIXME and correct test class name 2010-05-01 21:03:51 +02:00
Thomas Adamcik
9bf1ecede8 Deploy path_to_uri all over 2010-05-01 20:31:00 +02:00
Thomas Adamcik
e1c40fbc0b Rollback skipping gstreamer tests on windows 2010-05-01 17:22:22 +02:00
Thomas Adamcik
cf8584c769 Rename some tests classes, ie. s/Backend// 2010-05-01 17:20:25 +02:00
Thomas Adamcik
2b743e4157 Skip gstreamer tests on windows 2010-05-01 17:19:56 +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
9e798916bd Convert gstreamer_test to use data folder helper 2010-04-29 22:51:18 +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
53bc3cec6a Ensure the files don't exist before in playlist tests 2010-04-29 20:03:08 +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
Thomas Adamcik
c93d8470ce Substitute file: with file:// all over 2010-04-27 20:03:00 +02:00
Thomas Adamcik
d24a81425c Convert uri handler to file:// 2010-04-27 20:02:08 +02:00