Stein Magnus Jodal
|
56c4892f46
|
Merge branch 'develop' into feature/http-frontend
|
2012-11-20 00:27:19 +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
|
f83c595e3a
|
models: Support deserialization of any ImmutableObject
|
2012-11-19 23:02:08 +01:00 |
|
Stein Magnus Jodal
|
78dec9717d
|
mpd: Ignore search/find/list with empty filter values (fixes #246)
|
2012-11-19 22:20:51 +01:00 |
|
Stein Magnus Jodal
|
6aa1ee7f5c
|
network: The recieve buffer should be a bytestring
|
2012-11-19 22:18:51 +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
|
62bfb9376a
|
core: Refer to TlTrack instead of two-tuples in docstrings
|
2012-11-19 19:54:51 +01:00 |
|
Stein Magnus Jodal
|
9159491d85
|
spotify: Search should return list of tracks
|
2012-11-19 19:19:35 +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
|
968de84b93
|
http: Broadcast all events over the WebSocket
|
2012-11-18 19:02:36 +01:00 |
|
Stein Magnus Jodal
|
d8a1a1205b
|
http: Log content of incoming WebSocket messages
|
2012-11-18 18:36:05 +01:00 |
|
Stein Magnus Jodal
|
fd47d19ff4
|
http: Bundle jQuery
|
2012-11-18 18:31:49 +01:00 |
|
Stein Magnus Jodal
|
e87a73298c
|
http: Include data dir in distribution packages
|
2012-11-18 18:31:22 +01:00 |
|
Stein Magnus Jodal
|
02360ae9c0
|
http: Move static files to its own dir
|
2012-11-18 18:27:50 +01:00 |
|
Stein Magnus Jodal
|
62530be8b4
|
Merge branch 'feature/model-serialization' into feature/http-frontend
|
2012-11-18 17:31:13 +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
|
7e3fba0155
|
Merge branch 'develop' into feature/http-frontend
|
2012-11-18 09:45:44 +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
|
2ff362a7f0
|
mpris: Fix typo
|
2012-11-17 17:14:40 +01: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
|
5368c5fade
|
mpd: Docstring formatting
|
2012-11-17 16:49:23 +01:00 |
|
Stein Magnus Jodal
|
b8c7703c79
|
mpris: Implement the playlists interface (fixes #229)
|
2012-11-17 01:45:24 +01:00 |
|
Stein Magnus Jodal
|
a7be82463a
|
spotify: Add playlists.lookup(uri) for looking up loaded playlists
|
2012-11-17 01:40:46 +01:00 |
|
Stein Magnus Jodal
|
4e4c887fb1
|
spotify: Trigger BackendListener.playlists_loaded() when playlists loads
|
2012-11-17 01:22:25 +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
|
9fbb797607
|
core: flake8 1.5 style fix
|
2012-11-17 01:20:54 +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
|
1d9a2a23b1
|
core: Flake8 1.5 formatting fixes
|
2012-11-16 23:50:01 +01:00 |
|
Stein Magnus Jodal
|
97ca863c5d
|
http: Pass core to WebSocket handler
|
2012-11-16 22:35:00 +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
|
f4cddc0ce5
|
core: Hide internal variables in tracklist
|
2012-11-16 15:47:51 +01:00 |
|
Stein Magnus Jodal
|
811c508c80
|
core: No need to copy immutable TlTrack objects
|
2012-11-16 15:03:05 +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
|
533b46987d
|
core: Document which methods triggers tracklist_changed()
|
2012-11-16 13:56:30 +01:00 |
|
Stein Magnus Jodal
|
0e7f867d67
|
core: Test tracklist event trigging
|
2012-11-16 13:54:55 +01:00 |
|