Stein Magnus Jodal
f313d9d446
spotify: Ignore playlists without a name
2012-11-21 00:23:10 +01:00
Stein Magnus Jodal
02345beb0e
docs: Add major docs changes to the changelog
2012-11-20 23:57:06 +01:00
Stein Magnus Jodal
174d38b790
docs: Clean changelog for v0.9
2012-11-20 23:34:21 +01:00
Thomas Adamcik
4d908b5bf2
Merge pull request #254 from jodal/feature/playback-options-cleanup
...
core: Add getters/setters for consume/random/repeat/single
2012-11-20 13:49:58 -08:00
Thomas Adamcik
87fea9e12b
Merge pull request #253 from jodal/feature/tracklist-cleanup
...
core: Tracklist cleanup
2012-11-20 13:46:47 -08: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
acbde530c2
core: Add getters/setters for consume/random/repeat/single
...
Also, the properties and methods was sorted alphabetically. The `state` and
`time_position` properties were out of order.
2012-11-20 22:23:48 +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
3dc1586213
core: Remove tracklist.append()
2012-11-20 21:55:51 +01:00
Stein Magnus Jodal
1ed56c9ed7
Use tracklist.add() instead of tracklist.append()
2012-11-20 21:55:51 +01:00
Stein Magnus Jodal
70dbf81191
mpd: Simplify 'addid' implementation using improved tracklist.add()
2012-11-20 21:55:51 +01:00
Stein Magnus Jodal
efe7247407
core: Merge functionality of tracklist.append into tracklist.add
2012-11-20 21:55:51 +01:00
Thomas Adamcik
52d643ed51
Merge pull request #252 from jodal/feature/playback-cleanup
...
core: Playback cleanup
2012-11-20 12:54:46 -08: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
4c19321500
core: Remove playback.track_at_eot
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
Thomas Adamcik
81466c0ab9
Merge pull request #251 from jodal/feature/core-getters-and-setters
...
core: Expose getters/setters for all properties
2012-11-20 12:36:50 -08:00
Stein Magnus Jodal
fd49faeed3
spotify: Fix resume which was broken by fix for #227
2012-11-20 15:11:29 +01:00
Stein Magnus Jodal
16518697c8
spotify: Only pause on connection error if playing
...
Spotify has availability issues today, which makes this easy to reproduce and
improve. Before this patch, the following was logged on a Spotify connection
error when not playing:
ERROR Spotify connection error: Can not connect to Spotify
WARNING Setting GStreamer state to GST_STATE_PAUSED failed
ERROR Resource not found. gstplaybin2.c(3824): setup_next_source ():
/GstPlayBin2:playbin20
With this patch, only the first and relevant error message is logged.
2012-11-20 15:08:17 +01:00
Stein Magnus Jodal
e87f6f70b1
docs: Add Spotify proxy support to changelog
2012-11-20 14:30:41 +01:00
Stein Magnus Jodal
4b62720371
settings: Tweak docstrings
2012-11-20 14:30:25 +01:00
Stein Magnus Jodal
6db50c4306
Merge pull request #248 from Dvad/develop
...
spotify: Add proxy support
2012-11-20 05:27:08 -08:00
Stein Magnus Jodal
f8bd291d5f
spotify: Require pyspotify 1.9
2012-11-20 14:26:06 +01:00
Stein Magnus Jodal
ee8c2ca589
tests: Rename populate_playlist() to populate_tracklist()
2012-11-20 09:24:37 +01:00
Stein Magnus Jodal
f588787ac3
core: Expose getters/setters for all properties
...
This will be useful when exposing the core API over various protocols, e.g.
JSON-RPC.
2012-11-20 09:13:34 +01:00
Stein Magnus Jodal
e9658453b0
core: Make tracklist.version read-only
2012-11-20 08:57:31 +01:00
Stein Magnus Jodal
d226db9039
docs: Fix docstring errors
2012-11-20 08:57:31 +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
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
David C
f17852c98f
Add proxy support
2012-11-19 16:06:50 +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