Commit Graph

1385 Commits

Author SHA1 Message Date
Thomas Adamcik
d536990ad4 Update _set_state docstring 2011-05-05 22:37:55 +02:00
Stein Magnus Jodal
49db06d249 No need for an instance of GStreamer before the actor is started 2011-05-05 22:28:27 +02:00
Thomas Adamcik
f34ab8761a Log async state changes 2011-05-05 21:50:40 +02:00
Thomas Adamcik
8922ebe0aa Log gst warnings as well 2011-05-05 21:45:42 +02:00
Thomas Adamcik
6f9be11594 Cleanup gstreamer. Simplified code and reduced get_by_name usage. 2011-05-05 21:39:26 +02:00
Thomas Adamcik
03c30369b3 Merge branch 'develop' into feature/encapsulate-gstreamer-state-changes
Conflicts:
	mopidy/gstreamer.py
2011-05-05 20:22:27 +02:00
Thomas Adamcik
b966c0fd1b Basic docstrings for new helpers 2011-05-05 20:21:17 +02:00
Thomas Adamcik
e1cc1dfe48 Rename prepare_playback to prepare_change 2011-05-05 20:17:28 +02:00
Thomas Adamcik
d0e0594a78 s/PAUSE/PAUSED/ in pause_playback 2011-05-04 23:35:32 +02:00
Thomas Adamcik
6feb4f4c41 Add pulsesink to docstring and mention gst-launch 2011-05-04 11:18:17 +02:00
Thomas Adamcik
173b5cfb82 Minor doc fixes for outputs 2011-05-04 00:23:21 +02:00
Thomas Adamcik
4df54ffdef Fix refrence to mopidy.outputs.CustomOutput 2011-05-04 00:00:38 +02:00
Thomas Adamcik
0a2a582b25 Remove last refrenceto GStreamerOutput 2011-05-03 23:57:38 +02:00
Thomas Adamcik
f69e01c501 docstrings for outputs 2011-05-03 23:56:24 +02:00
Thomas Adamcik
8e8a7cd037 Add docstring for BaseOutput 2011-05-03 23:41:01 +02:00
Thomas Adamcik
9b47870404 Make mopidy.ouputs a module again 2011-05-03 23:27:23 +02:00
Thomas Adamcik
32cf5588eb Recovered old BastOutput docstrings and added them to GStreamer class where apropriate 2011-05-03 23:25:33 +02:00
Thomas Adamcik
42547563ea Convert set_state to internal method 2011-05-03 23:08:31 +02:00
Thomas Adamcik
882ba520d8 Replace set_state with <action>_playback helpers 2011-05-03 23:04:15 +02:00
Stein Magnus Jodal
dc018024f9 Move BaseOutput from mopidy.gstreamer to mopidy.outputs 2011-05-03 10:04:20 +02:00
Thomas Adamcik
e57f3f39c4 Short circuit retrival of position when we are in stopped state, should fix #87 2011-05-02 23:49:39 +02:00
Thomas Adamcik
f39d98f505 Fix merge error in gstreamer.py 2011-05-02 21:55:11 +02:00
Thomas Adamcik
865d62e6e1 Merge branch 'develop' into feature/modularised-output
Conflicts:
	mopidy/gstreamer.py
2011-05-01 23:51:33 +02:00
Antoine Pierlot-Garcin
5a16b2ec55 Fix UnicodeDecodeError in MPD frontend on non-english locale 2011-04-29 20:46:34 -04:00
Stein Magnus Jodal
f894ee8572 Merge branch 'bugfix/85-fix-non-negotiated-appsrc' into develop 2011-04-29 23:48:13 +02:00
Thomas Adamcik
e3235e9620 Fix for #85 - appsrc wasn't being linked due to lack of default caps 2011-04-29 22:17:50 +02:00
Stein Magnus Jodal
c0b25a7e8d Merge branch 'hotfix/nad-mixer' into develop 2011-04-29 20:30:33 +02:00
Stein Magnus Jodal
1695507210 Remove eol kwarg that are only supported by pyserial.FileLike.readline, and not io.RawIOBase.readline 2011-04-29 20:25:07 +02:00
Stein Magnus Jodal
50aef50989 Ready for 0.5.0 development 2011-04-27 00:20:08 +02:00
Stein Magnus Jodal
a7e6596578 Pause playback on Spoticy connection errors (fixes #65) 2011-04-26 23:07:36 +02:00
Thomas Adamcik
9b9419fcb3 s/USER/USERNAME/ 2011-04-25 21:32:34 +02:00
Thomas Adamcik
bb8296ceb7 Fix stale documentation in settings.py 2011-04-25 21:30:15 +02:00
Thomas Adamcik
472e4d2790 Rename output to gstreamer in backends 2011-04-25 21:30:01 +02:00
Thomas Adamcik
e1ef4171b5 Merge branch 'develop' of http://github.com/mopidy/mopidy into develop 2011-04-25 20:37:50 +02:00
Thomas Adamcik
169fbae695 Fix outputs setting 2011-04-25 17:41:33 +02:00
Thomas Adamcik
eceba71273 Unify naming of output settings 2011-04-25 17:30:55 +02:00
Thomas Adamcik
5c19bf8434 Create set_properties helper for BaseOutput 2011-04-25 17:15:43 +02:00
Thomas Adamcik
1c233a3f8a Replace CustomOutput with override for LocalOutput 2011-04-25 17:14:31 +02:00
Stein Magnus Jodal
043338d3af Revert "Merge branch 'feature/multi-backend' into develop"
This reverts commit c8639f48da, reversing
changes made to 3e0a04ab91.
2011-04-25 15:14:00 +02:00
Stein Magnus Jodal
5f7988d974 Merge branch 'develop' into feature/multi-backend
Conflicts:
	mopidy/backends/local/__init__.py
	mopidy/outputs/gstreamer.py
	tests/frontends/mpd/audio_output_test.py
	tests/frontends/mpd/command_list_test.py
	tests/frontends/mpd/connection_test.py
	tests/frontends/mpd/current_playlist_test.py
	tests/frontends/mpd/dispatcher_test.py
	tests/frontends/mpd/music_db_test.py
	tests/frontends/mpd/playback_test.py
	tests/frontends/mpd/reflection_test.py
	tests/frontends/mpd/regression_test.py
	tests/frontends/mpd/status_test.py
	tests/frontends/mpd/stickers_test.py
	tests/frontends/mpd/stored_playlists_test.py
2011-04-25 15:05:33 +02:00
Thomas Adamcik
ebe9bba9a9 Use modify_bin and set_property to construct shoutcast output 2011-04-25 01:31:29 +02:00
Thomas Adamcik
4e232c981c Switch to modularised output for playback 2011-04-25 01:31:28 +02:00
Thomas Adamcik
f218bc060b Don't bother with album in taginject 2011-04-25 01:31:28 +02:00
Thomas Adamcik
c7ccd0c2d4 More fixes with respect to refactoring 2011-04-25 01:31:28 +02:00
Thomas Adamcik
4a1df118fb Move GStreamerOutput up one level to mopidy.gstreamer and rename to GStreamer 2011-04-25 01:31:28 +02:00
Thomas Adamcik
7016a20811 Kill of BaseOutput 2011-04-25 01:31:28 +02:00
Thomas Adamcik
f4db449f0e Add set_metadata to allow taginjection for shoutcast stream 2011-04-25 01:30:48 +02:00
Thomas Adamcik
85970dbc3b Switch to lame encoding for shoutcast 2011-04-25 01:30:48 +02:00
Thomas Adamcik
44316c7cfc Reduce number of get_by_name lookups 2011-04-25 01:30:48 +02:00
Thomas Adamcik
9f862fe1b1 Update settings docs for shoutcast 2011-04-25 01:30:48 +02:00
Thomas Adamcik
971132d539 Support just local or shoutcast audio output 2011-04-25 01:30:48 +02:00
Thomas Adamcik
b58436aaf3 Use audioconvert to ensure that volume element is handeled 2011-04-25 01:30:47 +02:00
Thomas Adamcik
700792f4a0 Add basic streaming support 2011-04-25 01:30:47 +02:00
Thomas Adamcik
a81113e1a7 Add _build_shoutcast_description to construct shoutcast bin 2011-04-25 01:30:47 +02:00
Thomas Adamcik
ecdf689301 Factor out method to add output bin 2011-04-25 01:30:47 +02:00
Thomas Adamcik
9f77f801ba Swith to tee based pipeline to allow for multiple outputs 2011-04-25 01:30:47 +02:00
Thomas Adamcik
aa0c309d23 Ignore tracks without uri as they are probably local files 2011-04-25 01:28:22 +02:00
Thomas Adamcik
b5b2319ac1 Use uridecodebin for all playblack 2011-04-24 18:32:45 +02:00
Stein Magnus Jodal
3e0a04ab91 Exit main thread if no actors are running 2011-04-24 01:25:10 +02:00
Thomas Adamcik
0b91b26910 Check if creation of IPv6 sockets works before using it (fixes #75) 2011-04-23 18:15:28 +02:00
Thomas Adamcik
f20b3b26f6 Add platform and python information to startup logging (fixes #73) 2011-04-23 15:08:03 +02:00
Stein Magnus Jodal
6708ab79de Reduce log level from warning to info (fix #71) 2011-04-11 21:19:28 +02:00
Stein Magnus Jodal
342c13f811 Fix 'song: None' in 'status' response 2011-04-06 22:40:50 +02:00
Stein Magnus Jodal
005260eb9c Add __repr__ to ImmutableObject to get better output from failed model comparisions in tests 2011-04-06 18:18:00 +02:00
Stein Magnus Jodal
037da6f460 Remove Playlist._tracks workaround 2011-04-06 18:01:33 +02:00
Stein Magnus Jodal
fce5964395 Remove Track._artists workaround 2011-04-06 17:54:12 +02:00
Stein Magnus Jodal
9499250a7f Remove Album._artists workaround 2011-04-06 17:51:36 +02:00
Stein Magnus Jodal
dec1643e7f Merge remote-tracking branch 'grunskis/develop' into develop 2011-04-05 21:37:21 +02:00
Stein Magnus Jodal
b0f92af157 Merge remote branch 'mopidy/develop' into feature/pykka-actors 2011-03-31 09:05:59 +02:00
Stein Magnus Jodal
4703783eed Upgrade to work with final release of Pykka 0.12 2011-03-30 23:28:54 +02:00
Stein Magnus Jodal
62f07cdd7f Sleep forever when main() is done to be able to catch KeyboardInterrupt 2011-03-30 23:08:36 +02:00
Antoine Pierlot-Garcin
e0b212a275 Spotify backend: better error handling. 2011-03-30 00:49:51 -04:00
Stein Magnus Jodal
4452957c10 Require Pykka 0.12 (not released yet) 2011-03-30 00:39:19 +02:00
Stein Magnus Jodal
5d6fc7b092 Avoid blocking forever waiting on search query responses from Spotify 2011-03-24 13:52:41 +01:00
Stein Magnus Jodal
be42217d3b Fix 'stored_playlists does not have "playlists" attribute' error 2011-03-24 06:58:22 +01:00
Stein Magnus Jodal
168d6ea434 Replace last multiprocessing.Connection with Queue.Queue 2011-03-23 23:05:20 +01:00
Stein Magnus Jodal
b07f37117f Fix Pylint error 2011-03-23 22:43:32 +01:00
Stein Magnus Jodal
a0805ba80f Remove unused imports 2011-03-23 22:37:36 +01:00
Stein Magnus Jodal
d7149d8ea0 Raise EnvironmentError instead of Exception to make pylint happy 2011-03-23 22:37:20 +01:00
Stein Magnus Jodal
4f546246f8 Fix sound with Spotify backend (YAY :-) ) 2011-03-23 22:24:04 +01:00
Stein Magnus Jodal
e79346b5c3 Remove unused import 2011-03-23 22:19:36 +01:00
Stein Magnus Jodal
af118a3f25 Fix future usage in LocalBackend 2011-03-21 00:18:12 +01:00
Stein Magnus Jodal
b5da3c3404 GStreamerOutput need a reference to the backend for notifying it on end of track 2011-03-20 01:37:06 +01:00
Stein Magnus Jodal
b67b579556 Spotify backend needs a reference to the output 2011-03-20 01:20:42 +01:00
Stein Magnus Jodal
4087675334 Remove unused imports 2011-03-20 01:14:51 +01:00
Stein Magnus Jodal
bcff80c714 Switch from multiprocessing.dummy to threading to fix startup issue 2011-03-20 01:14:33 +01:00
Stein Magnus Jodal
f0ebc24234 Update MPD/stored playlists 2011-03-20 01:04:18 +01:00
Stein Magnus Jodal
0de8d1b4b8 Update MPD/status 2011-03-20 00:56:43 +01:00
Stein Magnus Jodal
21153dd52b Update MPD/regression tests 2011-03-20 00:29:43 +01:00
Stein Magnus Jodal
2e1ea8080e Update MPD/reflection 2011-03-20 00:21:43 +01:00
Stein Magnus Jodal
cbe727d2bd Update MPD/playback 2011-03-20 00:19:30 +01:00
Stein Magnus Jodal
dad2422a96 MpdDispatcher requires a mixer to be running 2011-03-20 00:10:14 +01:00
Stein Magnus Jodal
7206d68648 Remove mixer from the Backend API as it is independent 2011-03-20 00:02:32 +01:00
Stein Magnus Jodal
517a2a9356 Update MPD/music_db 2011-03-19 18:05:09 +01:00
Stein Magnus Jodal
0d57a74cb3 Update MPD/current_playlist 2011-03-19 17:55:05 +01:00
Stein Magnus Jodal
462f9d3afb Make dummy library available through actor proxies 2011-03-19 17:55:04 +01:00
Stein Magnus Jodal
c67eb4b973 Make backend providers traversable so they can be set up for tests 2011-03-19 17:55:04 +01:00
Stein Magnus Jodal
a4a015af1d Update MPD/audio_output 2011-03-19 17:54:57 +01:00
Stein Magnus Jodal
49d62aecab Do not give MpdDispatcher an MpdSession object yet, as it is not needed to get current tests passing 2011-03-19 15:55:25 +01:00
Stein Magnus Jodal
46c6ee68df Fix ~200 backend tests 2011-03-10 23:19:44 +01:00