Commit Graph

3166 Commits

Author SHA1 Message Date
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
Stein Magnus Jodal
75f7fc273a spotify: Fix GStreamer warning on seek (fixes #227)
Don't call audio.{prepare_change,start_playback}() before/after seek. This does
not seem to have any effect on functionality, and avoids Gstreamer failing to
disconnect the "notify::source" signal handler, which again causes a warning.
2012-11-14 10:58:04 +01:00
Stein Magnus Jodal
6b7256a955 audio: Explicitly disconnect signal handles on teardown 2012-11-14 10:51:52 +01:00
Stein Magnus Jodal
cee6894ff6 Update changelog 2012-11-14 09:27:03 +01:00
Stein Magnus Jodal
3a24deaec3 Rename 'stored playlists' to 'playlists' 2012-11-14 09:23:19 +01:00
Stein Magnus Jodal
9168982a61 core: Pause playback if audio is paused and playback isn't (fixes #232) 2012-11-14 01:56:46 +01:00
Stein Magnus Jodal
87ce7bbe11 audio: Maintain state and trigger events based on GStreamer state changes 2012-11-14 01:49:17 +01:00
Stein Magnus Jodal
f9bd0d00b3 audio: Move PlaybackState from core to audio so audio can use it 2012-11-14 00:35:17 +01:00
Stein Magnus Jodal
76b1fa8e1b audio: Add state_changed(old_state, new_state) event 2012-11-13 20:31:38 +01:00
Stein Magnus Jodal
42fdaf3ff0 audio: Move tests to make room for more audio tests 2012-11-13 20:26:05 +01:00
Stein Magnus Jodal
1eef3f6c0e audio: Make software mixer volume be an int, not a float 2012-11-13 20:25:43 +01:00
Stein Magnus Jodal
e793be6e18 distutils doesn't like unicode in its package lists 2012-11-13 20:01:57 +01:00
Stein Magnus Jodal
dc356a81fd Merge branch 'feature/rename-cp-to-tracklist' into develop
Conflicts:
	docs/changes.rst
	mopidy/frontends/mpd/protocol/current_playlist.py
2012-11-13 19:09:18 +01:00
Stein Magnus Jodal
0dd09bce82 spotify: Support search by track URI (fixes #233) 2012-11-13 11:56:04 +01:00
Stein Magnus Jodal
7ec156e373 mpd: Don't lowercase search queries 2012-11-13 11:55:54 +01:00
Stein Magnus Jodal
487503b51c mpd: Remove URI scheme check, as core handles that 2012-11-13 11:53:47 +01:00
Stein Magnus Jodal
cc39853638 mpd: Normalize file/filename filters to uri filters 2012-11-13 11:53:47 +01:00
Stein Magnus Jodal
4f0a708411 mpd: Allow 'file' key to 'search' and 'find' 2012-11-13 11:34:48 +01:00
Stein Magnus Jodal
bba9548b27 Rename 'current playlist' to 'tracklist' 2012-11-13 10:59:48 +01:00
Stein Magnus Jodal
344d5bd49d Merge pull request #238 from jodal/feature/optional-backend-providers
Make all three backend provider types optional
2012-11-13 01:41:18 -08:00
Stein Magnus Jodal
1b5b7abfdd Allow settings prefixed with 'CUSTOM_' (fixes #204) 2012-11-13 00:44:07 +01:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
a2d7f2f504 spotify: Update stored playlists interface 2012-11-12 23:11:32 +01:00
Stein Magnus Jodal
92bd599ecf Update stored playlists controller to support backends without playlists 2012-11-12 22:38:49 +01:00
Stein Magnus Jodal
d748c07daf Update playback controller to support backends without playback support 2012-11-12 22:19:27 +01:00
Stein Magnus Jodal
6f32d72792 Update the library controller to support backends without a library 2012-11-12 21:41:48 +01:00
Stein Magnus Jodal
429e87fe6e Extend Backends class to filter backends by capabilties 2012-11-12 21:41:02 +01:00
Stein Magnus Jodal
0b25a6f11f Extend the backends API to support optional providers 2012-11-12 21:40:14 +01:00
Stein Magnus Jodal
adb8dd23bb Merge pull request #237 from erlingbo/develop
docs: Fix typo in gst-launch command
2012-11-11 05:11:23 -08:00
Erling Børresen
bd7c713fbf Docs: Fix typo in gst-launch command 2012-11-11 14:05:26 +01:00
Stein Magnus Jodal
515bc450d6 travis: Don't break the build when apt-get update fails 2012-11-08 23:23:55 +01:00
Stein Magnus Jodal
c23baf859e docs: Formatting 2012-11-08 23:15:13 +01:00
Thomas Adamcik
f5dc6d6069 Merge pull request #190 from adamcik/feature/dump-thread-tracebacks
Add a debug thread that dumps tracebacks
2012-11-08 14:08:23 -08:00