Commit Graph

441 Commits

Author SHA1 Message Date
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
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
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
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
Stein Magnus Jodal
d093e498d8 'command_list_end' before 'command_list_start' now returns 'unknown command' error instead of crashing 2010-06-24 19:47:44 +02:00
Stein Magnus Jodal
873e387618 Temporarily disable GStreamer tests for Win32 2010-06-24 18:13:51 +02:00
Stein Magnus Jodal
a8672eb87b MPD: Remove some commands from the 'commands' output, as MPD does not list them and GMPC fails if 'idle' is present in the list 2010-06-24 12:55:49 +02:00
Stein Magnus Jodal
bcc133a079 MPD: More correct date format in listplaylists output 2010-06-24 12:50:59 +02:00
Stein Magnus Jodal
2f9775250a Return 'incorrect arguments' instead of 'unknown command' for known commands that don't match any patterns 2010-06-23 22:53:27 +02:00
Stein Magnus Jodal
af30db91e1 Update all MpdAckErrors thrown by request handlers. Three tests intentionally left failing. 2010-06-23 22:23:42 +02:00
Stein Magnus Jodal
a234d41d77 MPD-compliant ACK error messages
Started work on MPD-compliant ACK error messages. 14 tests are
intentionally left broken.
2010-06-22 23:52:35 +02:00
Stein Magnus Jodal
11b8ab89c9 Fix support for IPv4 addresses in SERVER_HOSTNAME which was broken by new IPv6 support 2010-06-20 23:00:52 +02:00
Stein Magnus Jodal
3c3d2728ad MPD: Don't crash when receiving invalid data 2010-06-20 21:51:15 +02:00
Stein Magnus Jodal
d00c47ec88 MPD: Implement 'commands' command 2010-06-20 21:25:46 +02:00
Stein Magnus Jodal
f2547199a0 Gstreamer tests: use fakesink for audio output 2010-06-16 22:07:35 +02:00
Stein Magnus Jodal
a9923fcb23 Merge remote branch 'adamcik/gstreamer'
Conflicts:
	mopidy/mpd/frontend.py
	tests/mpd/frontend_test.py

GstreamerBackend now raises LookupError where the other backends just
returns None. We'll probably move in the direction of using LookupError
all over, but the changes to DummyBackend and generic tests was reverted
until BaseBackend, the backend API docs and the other backends are
updated to all raise LookupError.
2010-06-06 22:15:25 +02:00
Stein Magnus Jodal
d135066b0d addid should ACK, and not crash or be silent on error conditions 2010-06-06 22:04:50 +02:00
Stein Magnus Jodal
6623007448 Ready for 0.1.0a3 development 2010-06-02 21:45:22 +02:00
Thomas Adamcik
98f2f67663 Library needs to set id 2010-05-06 00:50:22 +02:00
Thomas Adamcik
e0ffd7e7a1 Add test_add_uri_that_triggers_lookup_error 2010-05-06 00:11:23 +02:00
Thomas Adamcik
c8b3c91c7c Test that playlistinfo -1 == playlistinfo and add FIXMEs for rest of playlistinfo tests 2010-05-05 23:55:28 +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
c8b6e4728d MPD: Handle 'play "-1"' in same way as 'playid "-1"' 2010-05-05 14:37:58 +02:00
Stein Magnus Jodal
b408751520 MPD: Handle 'lsinfo ""' in the same way as 'lsinfo' and 'lsinfo "/"' 2010-05-05 12:54:49 +02:00
Stein Magnus Jodal
5449374fa2 Ready for 0.1.0a2 development 2010-05-04 22:23:15 +02:00
Stein Magnus Jodal
3047aeb14a Merge remote branch 'adamcik/gstreamer' 2010-05-04 00:27:02 +02:00