Commit Graph

111 Commits

Author SHA1 Message Date
Johannes Knutsen
5524b1a011 test next() keeps skipped cp track, but end_of_track removes track 2010-08-16 21:00:31 +02:00
Johannes Knutsen
6905b81009 merged jodal gstreamer with knutz3n singlerepeat branch 2010-08-16 18:36:37 +02:00
Stein Magnus Jodal
187d3544c4 Play next track at play error 2010-08-14 23:08:42 +02:00
Stein Magnus Jodal
fb6b196646 Fix 'load' so one can append a playlist to the current playlist 2010-08-14 21:24:39 +02:00
Johannes Knutsen
ca52dd6363 added tests for next track in single and repeat mode 2010-08-14 18:30:22 +02:00
Stein Magnus Jodal
da2a44fd17 Fix 400 or so tests broken by changing the mixer constructor 2010-08-14 04:07:50 +02:00
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
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
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