Commit Graph

665 Commits

Author SHA1 Message Date
Stein Magnus Jodal
a68bd4b475 Ready for 0.3.0 development 2010-10-24 22:28:50 +02:00
Stein Magnus Jodal
c9535ffe10 Setting the state to STOPPED right before starting a track makes the test fail as it should 2010-10-24 20:40:47 +02:00
Stein Magnus Jodal
24015cafa8 Merge branch 'develop' into feature/playid-minus-one-should-resume 2010-10-24 20:15:34 +02:00
Stein Magnus Jodal
1734a2e2f0 Next version will be 0.2.0 2010-10-21 23:56:26 +02:00
Stein Magnus Jodal
37426c6b54 Formatting 2010-10-21 23:32:36 +02:00
Stein Magnus Jodal
1d25a2ddea Remove redundant calls to playback.on_current_playlist_change() 2010-10-21 23:25:52 +02:00
Stein Magnus Jodal
3cfc282acc Add regression test for GH-22 2010-10-21 23:11:36 +02:00
Stein Magnus Jodal
abe54aacb0 Merge branch 'release/0.1.1' into develop
Conflicts:
	docs/changes.rst
2010-10-21 22:30:39 +02:00
Stein Magnus Jodal
e2a4aaada7 Add regression test for GH-17 2010-10-21 22:11:24 +02:00
Stein Magnus Jodal
51065c5e0a Merge branch 'hotfix/GH-18' into develop
Conflicts:
	mopidy/backends/base/playback.py
2010-10-19 12:43:20 +02:00
Stein Magnus Jodal
e4c3a73f8f Merge branch 'hotfix/GH-18' into release/0.1.1 2010-10-19 12:42:26 +02:00
Stein Magnus Jodal
3a951ca948 Seed the random function to make the test predictable 2010-10-19 12:41:18 +02:00
Stein Magnus Jodal
5cdfbce122 Add regression test for GH-18 2010-10-04 23:18:32 +02:00
Stein Magnus Jodal
6dbb550f98 Merge branch 'feature/fix-mpd-list' into develop 2010-10-04 22:27:18 +02:00
Stein Magnus Jodal
8fe261322f Add test to check that "playid -1" resume playback
The problem is, the test shouldn't pass, but it does.
2010-10-04 22:17:03 +02:00
Stein Magnus Jodal
9b73cbb18d Add more tests to prove the new 'list' query hendling 2010-08-28 16:27:28 +02:00
Stein Magnus Jodal
4b4c4b709e Rewrite list command to support more advanced queries 2010-08-28 16:07:44 +02:00
Stein Magnus Jodal
d6798ac870 Fix GH-16: 'addid ""' crashes with SpotifyError 2010-08-26 19:04:13 +02:00
Stein Magnus Jodal
c89d58fccf Fix 'add ' and 'addid ' 2010-08-24 23:11:22 +02:00
Stein Magnus Jodal
6930e7a9ad Merge 'develop' into 'feature/encapsulate-queues' 2010-08-24 01:13:00 +02:00
Stein Magnus Jodal
abce165aa3 Extend output API with all methods needed for GStreamerOutput 2010-08-24 01:06:20 +02:00
Stein Magnus Jodal
9fe5874069 Skip another backend test that does not work with DummyOutput 2010-08-24 01:04:43 +02:00
Stein Magnus Jodal
64b760bf96 Ignore tests which uses time.sleep (and that don't work with DummyOutput+LocalBackend) 2010-08-24 00:50:12 +02:00
Thomas Adamcik
405d411464 Update tests to clear runtime settings 2010-08-24 00:19:05 +02:00
Stein Magnus Jodal
efe14032ce Fix three more tests 2010-08-23 23:49:59 +02:00
Stein Magnus Jodal
a62a6e01a7 Use DummyOutput in tests 2010-08-23 23:45:42 +02:00
Stein Magnus Jodal
f099161e24 Never block without timeout in a test 2010-08-23 23:45:21 +02:00
Thomas Adamcik
947b91aa5c Add basic runtime setting support 2010-08-23 23:30:20 +02:00
Stein Magnus Jodal
f541724ff9 Skip GStreamer tests on Windows 2010-08-23 21:01:29 +02:00
Stein Magnus Jodal
2a582a924f Ready for 0.2 development 2010-08-23 19:15:26 +02:00
Stein Magnus Jodal
00cec3375f Add TODO on testing playlist repeat 2010-08-23 15:16:38 +02:00
Stein Magnus Jodal
9e7723f8ca Update version tests for 0.1.0 2010-08-22 22:08:40 +02:00
Stein Magnus Jodal
4722828c8f Split backend tests into multiple files 2010-08-22 20:40:15 +02:00
Stein Magnus Jodal
d4f8cdadd5 Rename tests.backend.{base => base.backend} 2010-08-22 19:50:14 +02:00
Stein Magnus Jodal
421e1f2ab1 Rename libspotify_integrationtest => libspotify.backend_integrationtest 2010-08-22 19:45:08 +02:00
Stein Magnus Jodal
df22256f09 Review gstreamer-local-backend branch 2010-08-21 23:25:38 +02:00
Stein Magnus Jodal
7062e3c8ee Merge branch 'develop' into gstreamer-local-backend 2010-08-21 23:08:37 +02:00
Stein Magnus Jodal
d43ddab590 Fix import in test 2010-08-20 01:24:33 +02:00
Thomas Adamcik
ef03bbe19e Add tests to check return value of seek 2010-08-20 00:17:08 +02:00
Stein Magnus Jodal
10c1cab0c7 Reorganize mopidy.frontends.mpd
- Rename .frontend.MpdFrontend to .dispatcher.MpdDispatcher, as it
  dispatches requests.
- Move exceptions into .exceptions.
- Move .server.MpdSession to .session.MpdSession.
- Move handle_pattern to .protocol.handle_pattern.
2010-08-19 23:51:46 +02:00
Thomas Adamcik
cf24089137 Renable some output tests 2010-08-19 00:52:42 +02:00
Thomas Adamcik
a20251daac Ensure that backend tests setup right backend in setting 2010-08-18 23:41:44 +02:00
Thomas Adamcik
94ef06ac78 Nuke local settings to ensure test consistency 2010-08-18 23:41:13 +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
Thomas Adamcik
28e1a15ac7 Remove SkipTest 2010-08-18 00:38:54 +02:00
Stein Magnus Jodal
7d04550f53 Remove unused imports 2010-08-17 02:38:55 +02:00
Stein Magnus Jodal
14b7b080dc Merge remote branch 'knutz3n/gstreamer' into gstreamer 2010-08-17 02:35:55 +02:00
Stein Magnus Jodal
9cb84002bc Report multiple settings errors at once 2010-08-17 01:58:31 +02:00
Stein Magnus Jodal
12e5bc39e3 Add settings validation 2010-08-17 01:45:58 +02:00
Stein Magnus Jodal
e4edd70c6d Split mopidy.utils into smaller pieces 2010-08-17 00:32:31 +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
Stein Magnus Jodal
148612d842 Merge remote branch 'knutz3n/add_invalid_url_fix' into gstreamer 2010-08-16 22:38:08 +02:00
Johannes Knutsen
7674775718 Don't call lookup on backends with uris they don't support 2010-08-16 22:34:00 +02:00
Stein Magnus Jodal
73258d6f9d Reimplement 'load' using SPC.get() instead of search() 2010-08-16 22:33:04 +02:00
Stein Magnus Jodal
d7bf31bab4 Rename CurrentPlaylistController.{load => append} 2010-08-16 21:34:06 +02:00
Johannes Knutsen
ffd4bebba3 Merge branch 'gstreamer' of git://github.com/jodal/mopidy into singlerepeat 2010-08-16 21:01:32 +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
Stein Magnus Jodal
8e8d840767 Modify changes done in gstreamer-output-testing to keep appsrc working 2010-08-16 19:44:35 +02:00
Stein Magnus Jodal
997bffa9d2 Merge remote branch 'adamcik/gstreamer-output-testing' into gstreamer 2010-08-16 19:38:56 +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
b7030b127a MPD: Fix 'play[id] -1' behaviour when current track is set 2010-08-14 21:58:39 +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
Stein Magnus Jodal
4bea82c2f1 Shrink audio test data 2010-08-14 19:03:37 +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
f5b6d0e994 Switch to using playbin in order to get simple base case working 2010-08-14 18:29:33 +02:00
Thomas Adamcik
48dc3137d5 Merge branch 'gstreamer' of git://github.com/jodal/mopidy into gstreamer-local-backend 2010-08-14 18:20:36 +02:00
Stein Magnus Jodal
074976d9f3 Test MIXER_MAX_VOLUME and fix detected bugs 2010-08-14 18:18:15 +02:00
Thomas Adamcik
8950385815 Update local backend tests to setup output and queues 2010-08-14 17:27:26 +02:00
Thomas Adamcik
77fde2fce7 Remove skip test for local backend 2010-08-14 17:26:25 +02:00
Thomas Adamcik
d04b4c3181 Skip local backend tests as they break new gso tests due to gst usage 2010-08-14 16:24:28 +02:00
Thomas Adamcik
8824227b19 Merge branch 'gstreamer' into gstreamer-output-testing 2010-08-14 16:08:04 +02:00
Thomas Adamcik
9196140999 Add placeholder for possible set_state test 2010-08-14 16:07:46 +02:00
Johannes Knutsen
00f59e590b test seek with songpos 2010-08-14 16:00:06 +02:00
Johannes Knutsen
8599bcd491 test seekid updates cpid 2010-08-14 15:59:46 +02:00
Thomas Adamcik
7db0bd25fd Add basic volume tests for gstreamer output 2010-08-14 15:56:00 +02:00
Johannes Knutsen
fe9ad74e1b fixed test_seek and test_seekid 2010-08-14 15:44:05 +02:00
Thomas Adamcik
7ed8563347 Attempt to setup both appsrc and uridecodebin in same pipeline 2010-08-14 15:36:47 +02:00
Thomas Adamcik
419de169c6 Add test_play_uri_non_existing_file for output 2010-08-14 15:26:57 +02:00
Thomas Adamcik
e2bdec5a4b Start adding gstreamer output tests 2010-08-14 15:23:27 +02:00
Stein Magnus Jodal
5d9fd5b625 MPD: Update tests and fix 'playlistfind' 2010-08-14 14:42:44 +02:00
Stein Magnus Jodal
908ad5016f Merge master into gstreamer 2010-08-14 14:30:12 +02:00
Stein Magnus Jodal
abcc9c1007 MPD: Improve seek impl and add seekid impl. Add tests which fails. 2010-08-14 14:10:44 +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
Thomas Adamcik
ec67d43fc9 Test both case where class and/or module does not exist for get_class 2010-08-13 22:29:45 +02:00
Thomas Adamcik
e4bdacbb61 Add test_import_error_message_contains_complete_class_path test for get_class 2010-08-13 22:28:02 +02:00
Thomas Adamcik
059f96814d Add basic tests for get_class util 2010-08-13 22:16:11 +02:00
Johannes Knutsen
e1f8a0bf72 Rename mopidy.frontends.mpd.{serializer => translator} to match naming in backends. 2010-08-13 20:48:38 +02:00
Thomas Adamcik
acd0437193 Remove despotify backend as library is no longer maintained 2010-08-13 20:44:24 +02:00
Stein Magnus Jodal
635791cf0e MPD: Support missing quotes for 'consume', 'random', 'repeat', and
'single' to work with BitMPC.
2010-08-13 13:33:15 +02:00
Stein Magnus Jodal
9f71c1533a MPD: Support 'play' without quotes to work with BitMPC 2010-08-13 13:09:03 +02:00
Stein Magnus Jodal
5393407571 MPD: Support 'plchanges' without quotes to work with BitMPC 2010-08-13 13:04:56 +02:00
Stein Magnus Jodal
a3fb8a1f72 MPD: Support 'pause' without args to work with MPDroid 2010-08-13 12:26:34 +02:00
Stein Magnus Jodal
255d70d1ae MPD: Support 'plchanges "-1"' to work better with MPDroid 2010-08-13 12:20:51 +02:00
Stein Magnus Jodal
46177f65f1 Rename mopidy.backends.{gstreamer => local} 2010-08-10 21:45:01 +02:00
Stein Magnus Jodal
d0aac71cfb MPD: Split protocol implementation into 11 modules 2010-08-10 02:08:59 +02:00
Stein Magnus Jodal
b4c91af7d7 Relocate MPD frontend to 'mopidy.frontends.mpd' 2010-08-09 21:17:36 +02:00
Stein Magnus Jodal
3339fb7de0 Fix 'play/playid "-1"' behaviour when playlist is empty 2010-08-09 20:44:01 +02:00
Stein Magnus Jodal
d2aa7c9d21 Fix formatting 2010-08-09 12:20:59 +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
a6d06a6c4b Remove Track.id usage from de-/libspotify integration tests 2010-08-08 18:38:29 +02:00
Stein Magnus Jodal
96ac806d8f Remove Track.id field 2010-08-08 17:17:38 +02:00
Stein Magnus Jodal
22b6a3df8b Remove Track.id usage in Gstreamer backend 2010-08-08 17:15:47 +02:00
Stein Magnus Jodal
8c1e5d5c69 Remove Track.id usage in MPD tests 2010-08-08 17:14:07 +02:00
Johannes Knutsen
dc7353694b Merge branch 'master' of git://github.com/jodal/mopidy 2010-08-05 18:49:37 +02:00
Stein Magnus Jodal
1cfddf3d90 Ready for v0.1.0a4 development 2010-08-03 14:55:08 +02:00
Stein Magnus Jodal
c83ac35758 MPD: Add more docs and tests to 'playlistsearch' 2010-08-03 09:07:33 +02:00
Stein Magnus Jodal
999de87d07 MPD: Use CPID in 'plchangesposid' output 2010-08-02 23:02:51 +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
44309345db Update 'addid' to return CPID instead of GID 2010-08-02 14:27:57 +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
b4c80fdc2f tests: Remove unused imports 2010-07-31 20:21:36 +02:00
Stein Magnus Jodal
04304dafd8 tests: Split mpd/frontend_test into 11 files 2010-07-31 20:19:24 +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
15f1ada66b removed print statement from test 2010-07-26 17:51:38 +02:00
Johannes Knutsen
4236b8b58b removed wrongly commited swo file 2010-07-26 17:50:47 +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
d65c76c528 Merge branch 'master' into cpc 2010-07-01 01:03:35 +02:00
Stein Magnus Jodal
dd494107d3 Extract mpd_format from models to mopidy.mpd.serializers 2010-07-01 00:39:50 +02:00
Stein Magnus Jodal
e6843e8b4d CurrentPlaylistController.tracks is now read-only 2010-06-30 23:47:18 +02:00
Stein Magnus Jodal
6005086a7f Merge remote branch 'klette/master' 2010-06-30 23:42:15 +02:00
Stein Magnus Jodal
5916646eca Format IP address to bind to according to available protocol family 2010-06-30 21:50:49 +02:00
Kristian Klette
699385b613 Support list album artist "someartist" 2010-06-30 20:40:20 +02:00
Kristian
7922795d2f Return OK on noidle 2010-06-30 20:08:53 +02:00
Stein Magnus Jodal
81503df2ad Merge branch 'master' into cpc 2010-06-30 12:45:01 +02:00
Stein Magnus Jodal
b3bff400e6 MPD: Accept list without quotes around field arg 2010-06-30 12:44:46 +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
4e29754ce6 Remove 'ack' command added by Mopidy 2010-06-24 20:00:58 +02:00
Stein Magnus Jodal
1aa5963697 MPD: Add correct index to error message when error happens while processing a command list 2010-06-24 19:59:21 +02:00
Stein Magnus Jodal
95f83c8102 Rename MpdAckError.position to MAE.index 2010-06-24 19:57:06 +02:00