Stein Magnus Jodal
dbd8051df4
mpd: Add missing .get() in test
...
(cherry picked from commit 0ec4efc3f52266aa3285b6d7e5d934754ced6fd1)
2019-06-10 01:41:44 +02:00
Stein Magnus Jodal
52a035d217
flake8: Fix new warnings from flake8 2.4.0
2018-12-02 00:28:25 +01:00
Nick Steel
e87599a2d3
Explicitly check for None (core playlists API future proofing).
2018-04-15 21:21:59 +01:00
Nick Steel
627684ec7b
Updated playlistclear to use playlist lookup helper and added save failure tests.
2018-04-15 21:19:01 +01:00
nsteel
52a90a5a06
MPD's load and listplaylistinfo lookup track metadata. Fixes #1511 .
...
Includes tests and refactored all playlist lookups to use helper.
2018-04-15 21:19:01 +01:00
Btjones711
03b763172a
-Edited Test to reflect Idle bug fix
2017-01-26 21:07:54 -06:00
ismailof
fc26b7304c
chmod correction
2016-06-06 23:22:40 +02:00
ismailof
19818d3f68
Add MPD nextsong/nextsongid test case
2016-06-06 23:20:13 +02:00
Benjamin Chrétien
37cd296552
mpd: fix protocol for replay_gain_status
2016-05-31 16:36:37 +02:00
Stein Magnus Jodal
adb260af05
Merge branch 'release-1.1' into develop
...
Fixes #1400
2016-01-31 07:47:47 +01:00
Stein Magnus Jodal
14444fe24f
mpd: Add volume command
2016-01-17 22:28:23 +01:00
Stein Magnus Jodal
f15b4e7327
mpd: Move setvol tests to its own test case
2016-01-17 22:28:12 +01:00
Stein Magnus Jodal
6afd5b0c70
Fix tests and update changelog
2016-01-01 23:13:42 +01:00
Stein Magnus Jodal
3e259f1c00
Merge pull request #1347 from adamcik/feature/mpd-idle-cleanup
...
MPD idle cleanup
2015-12-05 21:36:11 +01:00
Thomas Adamcik
00b52da6ab
mpd: Make sure rename error handling is correct
2015-12-05 14:30:18 +01:00
Thomas Adamcik
9ac1760dd1
mpd: Update playlistmove to check names and indexes
2015-12-05 14:11:27 +01:00
Thomas Adamcik
5de9495eaa
mpd: Update playlistdelete to handle unknown names and indexes
2015-12-05 14:01:43 +01:00
Thomas Adamcik
b21debf6ee
mpd: Sanity check stored playlist names
2015-12-05 13:51:36 +01:00
Thomas Adamcik
c3393d3d85
mpd: Refresh mapping when name is not present ( Fixes #1348 )
2015-12-05 12:49:45 +01:00
Thomas Adamcik
98e19e803b
mpd: Deleting unkown playlist should return not found
2015-12-05 12:48:14 +01:00
Thomas Adamcik
07328e7dd2
mpd: Map playlists_loaded to idle event stored_playlist
2015-12-05 11:08:33 +01:00
Thomas Adamcik
19daa89e15
mpd: Add missing seeked event handling for idle
2015-12-04 22:11:55 +01:00
Thomas Adamcik
7d4da4ac8c
mpd: Add integration test for core events and idle
2015-12-04 22:10:27 +01:00
Thomas Adamcik
7ab2665292
mpd: Switch MpdSession to using on_event and re-use listener helper.
2015-12-04 21:20:24 +01:00
Stein Magnus Jodal
8aeb9841c5
mpd: Final cleanup of PR #1187 , #1308 and #1322
...
Fixes #1014 , fixes #1322
2015-10-29 20:50:23 +01:00
Alex Malone
7aa8aa2967
mpd: fix flake8 errors
2015-10-29 15:03:41 +01:00
Jelle van der Waa
d6afcf0abf
mpd: playlist addition / creation
...
- Rename _playlist_create to _create_playlist
- Change short variables to abbreviations
- Use double quoting when a string contains a single quote
- Use playlist_deleted event
2015-10-29 15:03:41 +01:00
kozec
cb4c6909f9
mpd: Added default_playlist_scheme to configuration
2015-10-29 15:03:41 +01:00
kozec
3a13bc2358
mpd: Added tests for stored playlists modifying commands
2015-10-29 15:03:41 +01:00
Stein Magnus Jodal
93899c8599
Merge pull request #1288 from adamcik/feature/implement-gapless
...
Gapless part 1
2015-10-07 23:32:31 +02:00
Stein Magnus Jodal
22264071e4
core, mpd: Start tlid/songid counting at 1
...
The original MPD server starts at 1. upmpdcli has issues with Mopidy
starting at 0 instead, as 0 is special in its context.
As noone should care exactly what core's TLIDs are, I opted to start
counting both core TLID and MPD songid from 1, instead of just
increasing TLID with 1 in the MPD frontend to get a valid songid. This
also keeps it easier to debug across the MPD/core boundary.
2015-09-24 22:35:59 +02:00
Thomas Adamcik
c1d21bd6c9
tests: Make sure mpd tests wait for core when changing state.
2015-09-16 23:38:15 +02:00
Thomas Adamcik
7201f2cb10
tests: Make dummy backend use real playback provider if audio is passed in
...
This is needed in order to make audio events propagate, to core and trigger
async state changes in tests.
2015-09-04 15:34:40 +02:00
Stein Magnus Jodal
a16a2c5a1b
tests: Fix test made flaky by lsinfo Last-Modified change
2015-08-07 15:35:07 +02:00
Stein Magnus Jodal
c8d31e94b7
mpd: Faster playlist listing
2015-08-06 01:06:43 +02:00
Mark Greenwood
9649dc0777
list order in python is not deterministic, hence had to change the test
2015-07-26 13:57:46 +01:00
Mark Greenwood
310fcdf0ef
Unexpected test failure fixed
2015-07-26 13:04:33 +01:00
Mark Greenwood
8106399598
Simplify the whole thing by using taglist types and not bothering with the
...
config option or command to switch it on
2015-07-26 12:55:46 +01:00
Stein Magnus Jodal
70cfc0b33a
mpd: PR #1235 tweaks, add changelog
2015-07-26 12:12:15 +02:00
EricJahn
e0dc26f958
Fix #1045
...
Filter all empty tagtypes in MPD protocol handlers.
In addition return the tagtype list from the mpd protocol command.
2015-07-25 16:56:34 +02:00
Stein Magnus Jodal
6cb48f29ce
mpd: Simplify Last-Modified test, update changelog
2015-07-22 11:21:04 +02:00
Stein Magnus Jodal
1d77bc74e2
Merge pull request #1219 from fatg3erman/fix/1218-last-modified-for-mpd
...
Fix #1218
2015-07-22 11:12:30 +02:00
Mark Greenwood
eab3076235
Add test for track.last_modified = 0
2015-07-21 21:13:38 +01:00
Mark Greenwood
6ed9b07aaa
Fix #1218
...
Output the last_modified timestamp from mopidy's track model to mpd clients
in the same format as mpd uses - yyyy-mm-ddTHH:MM:SS
Outputs nothing for Last-Modified if last_modified is None or zero
This commit uses UTC time, adds a 'Z' to end, and updates the test accordingly
2015-07-21 18:20:17 +01:00
Stein Magnus Jodal
c88cf5ee82
mpd: Add listfiles command skeleton
2015-07-21 15:04:29 +02:00
Stein Magnus Jodal
2135b1372a
mpd: Add mount/unmount/listmounts/listneighbors command skeletons
2015-07-21 14:50:51 +02:00
Stein Magnus Jodal
21a3b74e9b
mpd: Add addtagid/cleartagid command skeleton
2015-07-21 14:30:18 +02:00
Stein Magnus Jodal
0a662c42b0
mpd: Add prio/prioid command skeleton
2015-07-21 14:18:28 +02:00
Stein Magnus Jodal
7b711e4dac
mpd: Add rangeid command skeleton
2015-07-21 14:12:01 +02:00
Thomas Adamcik
1a967d3d22
mpd: Add tests for stream title handling
2015-07-20 19:25:39 +02:00