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
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
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
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
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
6ffc61e9c9
core,mpd: Trigger tracklist_changed() instead of playlist_changed() on tracklist change
2012-11-16 11:46:04 +01:00
Stein Magnus Jodal
476df7a14d
core: Add tracklist_changed() event
2012-11-16 11:43:49 +01:00
Stein Magnus Jodal
cbc08f398c
core: Update tracklist docstrings
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
02b225eb6e
tests: Update dummy backend's playlists provider implementation
2012-11-16 09:26:17 +01:00
Stein Magnus Jodal
6fe6fa4811
Merge pull request #243 from adamcik/feature/eot-prep-work
...
Prep work for #231 EOT fixes
2012-11-15 23:48:43 -08:00
Thomas Adamcik
d516e9023a
Store active appsrc and refuse data when it is not set.
...
We use the new source flag and the about to finish flags to set and unset the
current appsrc. In emit data we now return false if the appsrc is not set.
Also note that we need to use b'' for Gstreamer properties as it can't convert
unicode to the correct type. I also added the signal disconnect code for about
to finish.
2012-11-15 22:49:44 +01:00
Thomas Adamcik
f2b975cc37
Update emit_data to return true if data was delivered.
...
This is probably not needed, but for the sake of correctnes it doesn't hurt.
2012-11-15 22:38:27 +01:00
Thomas Adamcik
0a96e5dccb
Update emit_data to take buffers.
...
Simplify emit data method to take Gstreamer buffers. This allows us to more
concisely give it buffers with duration, timestamp and other relevant data set.
2012-11-15 22:34:20 +01:00
Stein Magnus Jodal
4aa23e3306
docs: A small changelog cleanup
2012-11-15 09:16:01 +01:00
Stein Magnus Jodal
684586dd18
mpris: Update for MPRIS 2.2 compliance
2012-11-15 09:04:21 +01:00
Stein Magnus Jodal
b3fd9d8b40
deps: Pykka version check doesn't need to work with < 1.0
2012-11-15 08:48:43 +01:00
Thomas Adamcik
4d4c560882
Merge pull request #240 from jodal/feature/audio-state-events
...
Audio state events
2012-11-14 15:00:09 -08:00
Stein Magnus Jodal
326970e5ad
core: Explain reason behind temporary state syncing hack
2012-11-14 23:42:33 +01:00
Stein Magnus Jodal
36a14bd8d6
audio: Make log message more useful
2012-11-14 23:40:09 +01:00
Stein Magnus Jodal
f0c8c2287f
audio: Fix typo
2012-11-14 23:37:27 +01:00
Thomas Adamcik
7a4d54fbad
Merge pull request #242 from jodal/feature/scanner-multiple-tag-sets
...
scanner: Support multiple tag sets per track (fixes #236 )
2012-11-14 14:28:53 -08:00
Stein Magnus Jodal
bcaeca7acc
scanner: Support multiple tag sets per track ( fixes #236 )
2012-11-14 22:51:12 +01:00
Stein Magnus Jodal
8a292bce58
scanner: Move main() function from bin/ to mopidy.scanner
2012-11-14 20:45:24 +01:00
Stein Magnus Jodal
8a440fff3f
network: Server send buffer should be bytes, not unicode ( #241 )
2012-11-14 18:12:52 +01:00