Commit Graph

126 Commits

Author SHA1 Message Date
Thomas Adamcik
ef03bbe19e Add tests to check return value of seek 2010-08-20 00:17:08 +02:00
Thomas Adamcik
70dd200365 Merge branch 'develop' into gstreamer-local-backend 2010-08-18 23:32:45 +02:00
Stein Magnus Jodal
a87f7f9381 Remove tests as it is a duplicate of test_end_of_song_with_single_and_repeat_starts_same 2010-08-18 12:36:47 +02:00
Thomas Adamcik
8203d45559 Merge branch 'gstreamer' into gstreamer-local-backend
Conflicts:
	mopidy/backends/local/__init__.py
	tests/backends/base.py
2010-08-18 00:55:24 +02:00
Thomas Adamcik
785ef04e7b Rename load to append in tests 2010-08-18 00:53:29 +02:00
Thomas Adamcik
c0e4454e67 Remove obsolete search tests 2010-08-18 00:49:26 +02:00
Thomas Adamcik
d01813b72c Rename previous_track in tests 2010-08-18 00:42:26 +02:00
Thomas Adamcik
0db797bc12 Rename next_track in tests 2010-08-18 00:39:10 +02:00
Johannes Knutsen
b32dfee65e rename end_of_track_callback to on_end_of_track 2010-08-17 00:18:46 +02:00
Johannes Knutsen
b502643910 added the same tests for end_of_track_callback as was for next 2010-08-17 00:01:20 +02:00
Johannes Knutsen
87e489a26d rearranged test_next tests 2010-08-16 23:55:00 +02:00
Thomas Adamcik
5c632116b8 Merge branch 'gstreamer' of git://github.com/jodal/mopidy into gstreamer-local-backend
Conflicts:
	mopidy/outputs/gstreamer.py
2010-08-16 23:39:51 +02:00
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
Thomas Adamcik
cc9de4eff1 Add extra backend test that check that pause resumes correct song 2010-08-14 19:14:52 +02:00
Thomas Adamcik
504802b02d Update test_end_of_track_callback_gets_called to check that end_of_track is in core_queue 2010-08-14 19:06:08 +02:00
Johannes Knutsen
ca52dd6363 added tests for next track in single and repeat mode 2010-08-14 18:30:22 +02:00
Thomas Adamcik
8950385815 Update local backend tests to setup output and queues 2010-08-14 17:27:26 +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