Commit Graph

717 Commits

Author SHA1 Message Date
Stein Magnus Jodal
4b1ceb025d 'is' is for identity comparision and not for string comparision 2010-08-08 20:50:33 +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
de5f100e62 Remove Track.id usage in despotify and libspotify backends 2010-08-08 17:12:05 +02:00
Stein Magnus Jodal
9ff3175b44 Exit early if not Python >= 2.6, < 3 2010-08-03 15:13: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
Stein Magnus Jodal
01cd597321 MPD: Use CPID in 'delete' 2010-08-02 23:02:03 +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
c3a228fbfd Despotify: Catch and log SpytifyError 2010-07-31 23:13:45 +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
d500e7a372 Fix docs typo 2010-07-31 09:44:15 +02:00
Stein Magnus Jodal
a6d8ea74ba Merge branch 'cpc'
Conflicts:
	docs/changes.rst
2010-07-01 03:19:47 +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
8c3d3603e2 Add lookup by CPID to CurrentPlaylistController.get() 2010-07-01 01:54:11 +02:00
Stein Magnus Jodal
fa72049e9d Merge remote branch 'knutz3n/master' 2010-07-01 01:42:35 +02:00
Johannes Knutsen
f2c28cb403 use blocking alsa mode to avoid skipping in playback 2010-07-01 01:27:04 +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
730ca2648c Remove duplicate method 2010-07-01 01:02:39 +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
98ed2d8f48 Backend: Assign CPID to all tracks added to current playlist 2010-07-01 00:16:30 +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
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
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
6ae2ce5772 MPD: Update MpdFrontend to use remove() with criterias 2010-06-30 00:17:04 +02:00
Stein Magnus Jodal
5eabc5a423 CurrentPlaylistController.remove() takes criterias 2010-06-30 00:13:46 +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
04c7fe9e5c Add missing param doc for Playlist.last_modified 2010-06-26 23:37:47 +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
196b3d24a2 Despotify: Fix crash when spotify_track is None 2010-06-24 21:45:18 +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
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
b7b1b864b0 Clearify logic in MpdFrontend.handle_request 2010-06-24 18:07:10 +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