Commit Graph

184 Commits

Author SHA1 Message Date
kingosticks
0d74be0b1e Empty MPD commands should return an error instead of OK, just like the original MPD server. Includes tests. 2014-01-06 12:33:20 +00:00
Stein Magnus Jodal
0fb7c79524 log: Use loggers named after __name__ 2014-01-01 13:31:20 +01:00
Stein Magnus Jodal
1ee534126e mpd: Move mopidy.{frontends => }.mpd 2013-12-31 14:11:16 +01: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
e2ed3b2d61 Log search queries 2010-08-09 13:17:09 +02:00
Stein Magnus Jodal
8997c08595 Try to fix non-string kwargs keys on OSX/Windows. Try 2. 2010-08-09 12:33:16 +02:00
Stein Magnus Jodal
4a3c2476fa Try to fix non-string kwargs keys on OSX/Windows 2010-08-09 12:29:58 +02:00
Stein Magnus Jodal
d2aa7c9d21 Fix formatting 2010-08-09 12:20:59 +02:00
Johannes Knutsen
9d628eefb7 change search to use kwargs with value lists as search queries 2010-08-09 09:46:31 +02:00
Johannes Knutsen
b9a7ed5ec6 Merge branch 'master' of github.com:knutz3n/mopidy 2010-08-05 19:55:16 +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
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
01cd597321 MPD: Use CPID in 'delete' 2010-08-02 23:02:03 +02:00
Johannes Knutsen
ceb54deae3 updated call to correct method name in music db list function 2010-08-02 21:18:07 +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
Johannes Knutsen
26ebdda214 merge jodal master 2010-08-02 14:08:02 +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
2b5c532e12 added extra underscore to helper methods and moved music_db_list* below music_db_list in frontend 2010-07-27 09:46:03 +02:00
Johannes Knutsen
9a943bf593 list album return a (u'Album', albumName)-tuple set instead of a string set 2010-07-27 09:45:09 +02:00
Johannes Knutsen
95cb214bd4 convert a response to list if instance of set 2010-07-27 00:53:36 +02:00
Johannes Knutsen
6231c86750 removed one level of indentation in frontend 2010-07-26 17:54:08 +02:00
Johannes Knutsen
1ff6fda156 return a (Artist, artist.name)-tuple list instead of a list of strings in _music_db_list_artist 2010-07-26 15:47:41 +02:00
Johannes Knutsen
45e335b594 break too long comment line 2010-07-26 15:46:27 +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
Johannes Knutsen
7176a8db0e implemented command: list album artist 2010-07-26 10:42:15 +02:00
Johannes Knutsen
4cfb8717f3 implement command: list artist 2010-07-26 10:38:37 +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
6b72ceec4b MpdFrontend: Rename all occurences of songid to cpid 2010-07-01 01:58:56 +02:00
Stein Magnus Jodal
454d304953 Extract tracks_to_mpd_format from playlist_to_mpd_format 2010-07-01 01:08:01 +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
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
61ac0e5e01 Add example for list album artist "someartist" to doc 2010-06-30 20:40:57 +02:00
Kristian Klette
699385b613 Support list album artist "someartist" 2010-06-30 20:40:20 +02:00
Stein Magnus Jodal
22f011d57f MPD: Use AF_INET instead of AF_INET6 if the host does not have IPv6 support 2010-06-30 20:18:22 +02:00
Kristian
7922795d2f Return OK on noidle 2010-06-30 20:08:53 +02:00
Stein Magnus Jodal
1966bb457c MPD: A new way GMPC uses 'list' 2010-06-30 12:53:39 +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
93b606af3e Fix tests broken by the two previous cherry-picked commits 2010-06-30 00:23:28 +02:00
Stein Magnus Jodal
6ae2ce5772 MPD: Update MpdFrontend to use remove() with criterias 2010-06-30 00:17:04 +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
4fbe0605b4 MPD: Clearify what happens when 'playid "-1"' is issued by GMPC 2010-06-24 22:10:48 +02:00
Stein Magnus Jodal
b6b6db6f99 MPD: Clearify what SONGID in playlistmove is 2010-06-24 21:15:47 +02:00
Stein Magnus Jodal
4e29754ce6 Remove 'ack' command added by Mopidy 2010-06-24 20:00:58 +02:00