Stein Magnus Jodal
2ba05f9405
Add PlaybackState enum
2012-09-14 01:17:55 +02:00
Stein Magnus Jodal
0559213da3
Move backend controllers to mopidy.core
2012-09-13 23:41:20 +02:00
Thomas Adamcik
4ffd06736e
Update MPD frontend to use playback volume API.
2012-09-04 00:52:12 +02:00
Thomas Adamcik
f6b96680ae
Fix MPD volume command.
...
The command should return -1 when the volume is not known.
2012-09-01 22:07:15 +02:00
Stein Magnus Jodal
6f6e2c7fd7
Let track{,s}_to_mpd_format() understand CpTrack objects
...
Thus the cpid and cpids kwargs can be removed, and lots of code doing
formatting of MPD responses can be simplified. This also reduces the
need for making full copies of the current playlist, which improves
performance.
2011-12-28 00:31:27 +01:00
Stein Magnus Jodal
c5a4bb0e22
Rename tracks_len to length, and add test
2011-12-27 22:31:50 +01:00
sandos
fab020f2d0
performance of playlistinfo <id> and status not dependent on playlist length
2011-12-12 22:22:03 +01:00
Thomas Adamcik
709fc59e43
Extract our clearifications to the mpd doc
2011-07-27 00:28:18 +02:00
Thomas Adamcik
fcaaa5e645
Remove workaround from last to commits in favor of fix of root cause. Problem was that 'elapsed' should be returned in seconds, not milliseconds
2011-07-27 00:08:17 +02:00
Stein Magnus Jodal
02713d0b5c
Work around high start time position in ncmpcpp and mpc
2011-07-26 10:52:25 +02:00
Thomas Adamcik
451b52fde5
Make sure we prevent timeouts when in idle mode
2011-07-24 01:59:32 +02:00
Thomas Adamcik
0e58d771cd
Make tests check that response only has values once, fixes double OK bug
2011-07-23 03:58:26 +02:00
Thomas Adamcik
63dba5553f
Move idle code from dispatcher to protocol.status module
2011-07-23 03:32:45 +02:00
Thomas Adamcik
08d486785d
Basic working version of idle command
2011-07-23 02:23:20 +02:00
Stein Magnus Jodal
3f97f3f78b
Convert cp_track from tuple to namedtuple, to get more readable code
2011-06-04 20:46:34 +02:00
Stein Magnus Jodal
958983113d
Improve 'status' performance by about 30% by sending requests for all needed data at once, block for all of them to arrive, and then return the result. This reduces the number of thread switches needed.
2011-06-04 20:25:02 +02:00
Stein Magnus Jodal
e68d715d3e
Rename handle_pattern decorator to handle_request
2011-06-04 18:51:18 +02:00
Stein Magnus Jodal
76d0314eff
Replace 'frontend' with 'context' in MPD protocol impl
2011-06-03 16:08:53 +02:00
Stein Magnus Jodal
4087675334
Remove unused imports
2011-03-20 01:14:51 +01:00
Stein Magnus Jodal
0de8d1b4b8
Update MPD/status
2011-03-20 00:56:43 +01:00
Stein Magnus Jodal
21153dd52b
Update MPD/regression tests
2011-03-20 00:29:43 +01: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
Stein Magnus Jodal
d0aac71cfb
MPD: Split protocol implementation into 11 modules
2010-08-10 02:08:59 +02:00