Commit Graph

306 Commits

Author SHA1 Message Date
Stein Magnus Jodal
6345022cfc Move frontend/backend import into methods 2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
49c8062ba6 mpris: Add discNumber support 2013-03-23 20:58:22 +01:00
Stein Magnus Jodal
50cce23d82 mpris: Add artUrl support 2013-03-23 20:46:43 +01:00
Stein Magnus Jodal
a1cfc74d29 Merge branch 'develop' into feature/mpd-album-artist-search-results
Conflicts:
	docs/changes.rst
2012-12-23 18:49:51 +01:00
Stein Magnus Jodal
58cbbe8cb3 Merge pull request #287 from jodal/feature/search-result-model
Add SearchResult model
2012-12-23 09:47:11 -08:00
Stein Magnus Jodal
ce318316a3 mpd: Don't restart current track before seek 2012-12-23 12:20:34 +01:00
Stein Magnus Jodal
54662479ef mpd: Limit use of fake tracks in 'find` responses
If searching for exact artist, don't include fake artist tracks.
If searching for exact album, don't include fake album tracks.

This makes sure that ncmpcpp's media library doesn't include the magic
artist-track in an artist's album listing, and that it doesn't include the
magic album-track in an album's track listing.
2012-12-22 12:49:27 +01:00
Stein Magnus Jodal
04be75ed97 mpd: Add album date to 'fake' tracks 2012-12-22 02:12:07 +01:00
Stein Magnus Jodal
4f4754c573 mpd: Test 'list' response content 2012-12-22 01:40:51 +01:00
Stein Magnus Jodal
455f0145e7 mpd: Include artists and albums in search results 2012-12-21 23:10:20 +01:00
Stein Magnus Jodal
b0ba2040df Return SearchResult objects from find_exact() and search()
This applies to both backends and core.
2012-12-21 22:05:20 +01:00
Stein Magnus Jodal
242df28114 mpd: Support search by date (#272) 2012-12-20 21:34:06 +01:00
Stein Magnus Jodal
f9dc3e3d81 mpd: Rename test file to match src file 2012-12-20 00:48:04 +01:00
Stein Magnus Jodal
ea37cf1a44 core: Include the TlTrack in track_playback_* events 2012-12-19 17:06:04 +01:00
Stein Magnus Jodal
c5ac7aeb77 core: Include new volume level in volume_changed event 2012-12-19 16:31:58 +01:00
Stein Magnus Jodal
12942631bf mpd: Change name of output from 'None' to 'Default' 2012-12-18 23:18:51 +01:00
Stein Magnus Jodal
b43fc2ebe9 mpd: Stub channel commands 2012-12-15 01:44:20 +01:00
Stein Magnus Jodal
b95c8032de mpd: Add 'searchaddpl' command 2012-12-15 01:18:13 +01:00
Stein Magnus Jodal
9b1dfa6978 mpd: Add 'searchadd' command 2012-12-15 00:40:33 +01:00
Stein Magnus Jodal
6ac2c249b5 mpd: Add 'findadd' command 2012-12-15 00:39:52 +01:00
Stein Magnus Jodal
50cbe5f384 mpd: Add range support to 'load' command 2012-12-14 22:13:08 +01:00
Stein Magnus Jodal
49d585a97c mpd: Add 'config' command 2012-12-14 12:08:17 +01:00
Stein Magnus Jodal
ac537a63c7 mpd: Add 'seekcur' command 2012-12-14 11:53:44 +01:00
Stein Magnus Jodal
b76e27a62b mpd: Revert full URI in tag cache test as well 2012-12-12 15:54:04 +01:00
Stein Magnus Jodal
beac2e80ed mpd: Use file:// URIs in tag_cache
file:// URIs are uriencoded, and will thus conserve the encoding of the file
paths. We cannot just convert file paths in other encodings to UTF-8, because
then we won't find the files we point to.
2012-12-11 10:29:43 +01:00
Stein Magnus Jodal
3f8b5affe0 tests: Ignore http tests if ws4py is missing 2012-12-01 17:24:34 +01:00
Stein Magnus Jodal
ec66cae784 tests: Ignore http tests if cherrypy is missing 2012-12-01 10:48:54 +01:00
Stein Magnus Jodal
2edc884e76 http: Override CoreListener.on_event() instead of the specific event handlers 2012-11-30 22:41:13 +01:00
Stein Magnus Jodal
37164c6b04 http: Remove empty test file for the WebSocket
All the logic has been moved into mopidy.utils.jsonrpc, and all that remains of
mopidy.frontends.http.ws is simple wiring that isn't worth testing.
2012-11-27 23:25:16 +01:00
Stein Magnus Jodal
66d76d38b3 http: Unbreak tests 2012-11-25 09:12:22 +01:00
Stein Magnus Jodal
db5c671bd4 http: Remove the REST API 2012-11-21 02:10:32 +01:00
Stein Magnus Jodal
532a915db8 Merge branch 'develop' into feature/http-frontend 2012-11-21 02:02:58 +01:00
Stein Magnus Jodal
3af3eb5127 mpd: Make 'decoders' return an empty response to please ncmpcpp 2012-11-21 01:29:14 +01:00
Stein Magnus Jodal
39b9429dfc tests: Use track URIs matching the backend in use 2012-11-21 01:04:11 +01:00
Stein Magnus Jodal
dc24876f66 mpd: Allow bad 'search' requests 2012-11-21 00:49:11 +01:00
Stein Magnus Jodal
5fbb6328d6 mpd: list shouldn't return blank artist names, album names, or dates 2012-11-21 00:48:08 +01:00
Stein Magnus Jodal
72574c1ae0 mpd: listplaylists should not return playlists without a name 2012-11-21 00:32:46 +01:00
Stein Magnus Jodal
1ed56c9ed7 Use tracklist.add() instead of tracklist.append() 2012-11-20 21:55:51 +01:00
Stein Magnus Jodal
d107b13fcb core: Remove playback.current_tlid 2012-11-20 21:48:19 +01:00
Stein Magnus Jodal
bec91284be mpd: Allow bad 'find' requests 2012-11-20 00:38:53 +01:00
Stein Magnus Jodal
7da2058b65 mpd: Test response for bad 'list' requests 2012-11-20 00:31:41 +01:00
Stein Magnus Jodal
56c4892f46 Merge branch 'develop' into feature/http-frontend 2012-11-20 00:27:19 +01:00
Stein Magnus Jodal
32639ea8de Replace {tracklist,playlists}.get() with .filter() which always returns a list 2012-11-19 21:09:10 +01:00
Stein Magnus Jodal
3bd9d2096f tests: Formatting 2012-11-19 21:09:10 +01:00
Stein Magnus Jodal
6f0919bda8 style: Fix flake8 warnings 2012-11-19 18:01:31 +01:00
Stein Magnus Jodal
968de84b93 http: Broadcast all events over the WebSocket 2012-11-18 19:02:36 +01:00
Stein Magnus Jodal
7e3fba0155 Merge branch 'develop' into feature/http-frontend 2012-11-18 09:45:44 +01:00
Stein Magnus Jodal
b8c7703c79 mpris: Implement the playlists interface (fixes #229) 2012-11-17 01:45:24 +01:00
Stein Magnus Jodal
df4d7cd4c9 http: Update to use unicode literals and not cause warnings with flake8 2012-11-16 22:34:36 +01:00
Stein Magnus Jodal
cfac728def tests: Don't use indexes into TlTracks 2012-11-16 14:57:25 +01:00