Stein Magnus Jodal
|
40f4a8181d
|
jsonrpc: Wrapper takes a mapping between mounts and objects
This is analogous to how the inspector takes a mapping between mounts and
classes.
|
2012-11-25 08:03:26 +01:00 |
|
Stein Magnus Jodal
|
569ee6c5f3
|
jsonrpc: Add inspector that describes the available API
|
2012-11-24 00:57:08 +01:00 |
|
Stein Magnus Jodal
|
61d6de2378
|
jsonrpc: Support methods on the root object
|
2012-11-22 15:30:34 +01:00 |
|
Stein Magnus Jodal
|
6e2ffb0820
|
jsonrpc: Make dict returns from plain objects work
|
2012-11-22 12:11:22 +01:00 |
|
Stein Magnus Jodal
|
b038c4c2db
|
Add generic JSON-RPC 2.0 object wrapper
This can wrap multiple objects, which can be both plain objects and Pykka
actors. To my knowledge, everything in the spec is supported.
|
2012-11-21 23:51:05 +01:00 |
|
Stein Magnus Jodal
|
88eef7de49
|
Bump version number to 0.9.0
|
2012-11-21 01:42:51 +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
|
8f1b98b306
|
core: Don't fail when adding tracks after end of tracklist
|
2012-11-20 22:36:39 +01:00 |
|
Stein Magnus Jodal
|
ae9a257091
|
Make tracklist.add() only take and return lists
|
2012-11-20 22:12:09 +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
|
2f27167677
|
core: Remove playback.track_at_previous
|
2012-11-20 21:48:03 +01:00 |
|
Stein Magnus Jodal
|
70d4dba7aa
|
core: Remove playback.track_at_next
|
2012-11-20 21:47:44 +01:00 |
|
Stein Magnus Jodal
|
ee8c2ca589
|
tests: Rename populate_playlist() to populate_tracklist()
|
2012-11-20 09:24:37 +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
|
f82d3fca39
|
Merge branch 'feature/model-serialization' into develop
|
2012-11-20 00:21:34 +01:00 |
|
Stein Magnus Jodal
|
8c6f04a408
|
models: Change serialized type marker from '__type__' to '__model__'
|
2012-11-20 00:21:26 +01:00 |
|
Stein Magnus Jodal
|
693a3d3ec6
|
models: Model creation with kwarg matching method name should fail
|
2012-11-19 23:58:16 +01:00 |
|
Stein Magnus Jodal
|
34d444e563
|
models: Don't allow model deserialization to override methods
|
2012-11-19 23:35:05 +01:00 |
|
Stein Magnus Jodal
|
eab399357f
|
Make library.lookup() return a list of tracks
|
2012-11-19 21:09:10 +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
|
7df556c9b3
|
Return lists of tracks from search() and find_exact()
|
2012-11-19 18:13:14 +01:00 |
|
Stein Magnus Jodal
|
6f0919bda8
|
style: Fix flake8 warnings
|
2012-11-19 18:01:31 +01:00 |
|
Stein Magnus Jodal
|
3bc4126b45
|
models: Fix TlTrack deserialization
|
2012-11-18 17:28:37 +01:00 |
|
Stein Magnus Jodal
|
68e4b207cb
|
models: Support automatic serialization to and deserialization from JSON
|
2012-11-18 16:53:26 +01:00 |
|
Stein Magnus Jodal
|
f237736f87
|
models: Add '__type__' attribute to serialized models
|
2012-11-18 16:53:09 +01:00 |
|
Stein Magnus Jodal
|
74a6589668
|
tests: Fix typo in class name
|
2012-11-18 16:51:33 +01:00 |
|
Stein Magnus Jodal
|
59919b279c
|
Merge pull request #244 from jodal/feature/mpris-playlists
mpris: Implement the playlists interface (fixes #229)
|
2012-11-17 13:37:06 -08:00 |
|
Stein Magnus Jodal
|
15cb291316
|
tests: Rename test file so that it's executed
|
2012-11-17 17:10:27 +01:00 |
|
Stein Magnus Jodal
|
5efce8ac76
|
local: Trigger playlists_loaded() event on playlist load/refresh
|
2012-11-17 17:09:27 +01:00 |
|
Stein Magnus Jodal
|
b8c7703c79
|
mpris: Implement the playlists interface (fixes #229)
|
2012-11-17 01:45:24 +01:00 |
|
Stein Magnus Jodal
|
330731a247
|
core: Forward playlists_loaded() event from backends to frontends
|
2012-11-17 01:22:25 +01:00 |
|
Stein Magnus Jodal
|
0f6c9a1673
|
backends: Add BackendListener interface with playlists_loaded() event
|
2012-11-17 01:22:25 +01:00 |
|
Stein Magnus Jodal
|
426d5aea16
|
core: Trigger playlists_loaded() after playlist refresh
|
2012-11-17 00:42:03 +01:00 |
|
Stein Magnus Jodal
|
5526ee5a95
|
core: Add CoreListener.playlists_loaded() event
|
2012-11-17 00:42:03 +01:00 |
|
Stein Magnus Jodal
|
4efff4a5a3
|
core: Trigger playlist_changed() event on create() and save()
|
2012-11-16 23:50:30 +01:00 |
|
Stein Magnus Jodal
|
fd86b7173c
|
core: Add playlist to playlist_changed() event
|
2012-11-16 23:50:01 +01:00 |
|
Stein Magnus Jodal
|
87ba412942
|
models: Make TlTrack an ImmutableObject
|
2012-11-16 15:01:37 +01:00 |
|
Stein Magnus Jodal
|
cfac728def
|
tests: Don't use indexes into TlTracks
|
2012-11-16 14:57:25 +01:00 |
|
Stein Magnus Jodal
|
0e7f867d67
|
core: Test tracklist event trigging
|
2012-11-16 13:54:55 +01:00 |
|
Stein Magnus Jodal
|
d378fd7160
|
tests: Move events tests from tests/backends/ to tests/core
|
2012-11-16 11:53:48 +01:00 |
|
Stein Magnus Jodal
|
476df7a14d
|
core: Add tracklist_changed() event
|
2012-11-16 11:43:49 +01:00 |
|
Stein Magnus Jodal
|
fff70c46a6
|
core: Make tracklist.append() return the appended TlTracks
|
2012-11-16 10:26:45 +01:00 |
|
Stein Magnus Jodal
|
684586dd18
|
mpris: Update for MPRIS 2.2 compliance
|
2012-11-15 09:04:21 +01:00 |
|