Commit Graph

2110 Commits

Author SHA1 Message Date
Thomas Adamcik
801b3d1155 Switch to event probe based solution to removing outputs.
Based on http://lists.freedesktop.org/archives/gstreamer-devel/2009-August/023708.html
2011-05-17 01:21:50 +02:00
Thomas Adamcik
82bd77e24b Fixed use of callbacks to prevent removeall of broken output from stopping playback 2011-05-16 23:14:53 +02:00
Thomas Adamcik
2ef550eb7b Add error handling code for shoutcast errors 2011-05-16 22:01:30 +02:00
Thomas Adamcik
a4b03aa292 Cleanup some of output code api 2011-05-16 21:57:23 +02:00
Thomas Adamcik
94efb083ee Fixed list outputs method in GStreamer class 2011-05-16 21:55:00 +02:00
Thomas Adamcik
2174723620 Add conditional to message handler so that attached handlers can take over 2011-05-16 21:53:53 +02:00
Thomas Adamcik
943645aecf Add methods to register and register message handlers to GStreamer 2011-05-16 21:53:01 +02:00
Thomas Adamcik
fae784b71e Add on_remove and on_connect hooks to BaseOutput 2011-05-16 21:51:38 +02:00
Thomas Adamcik
64a6202ea1 Add gst MESSAGE_* constansts to BaseOutput 2011-05-16 21:50:02 +02:00
Thomas Adamcik
f7f26403af Move stop playback in error handler to after the error is logged to make cause and effect more obvious 2011-05-16 21:49:19 +02:00
Thomas Adamcik
09a1d646f2 Refactor BaseOutput to prepare for better error handling 2011-05-16 21:08:01 +02:00
Thomas Adamcik
3f35e9b391 Add method to determine output name 2011-05-16 00:14:33 +02:00
Thomas Adamcik
743235b09d Add basic remove_output code 2011-05-15 23:50:52 +02:00
Thomas Adamcik
fe3f5338dd Store outputs that have been added in gstreamer class 2011-05-14 23:55:41 +02:00
Thomas Adamcik
0ec662db63 Move output connection code to gstreamer 2011-05-14 23:46:51 +02:00
Thomas Adamcik
d136984f9f Split outputs into seperate files 2011-05-13 20:13:36 +02:00
Thomas Adamcik
d98e218baa Explain a bit more about why prepare_change is needed 2011-05-10 22:24:23 +02:00
Thomas Adamcik
1c83fe236d Remove unused import 2011-05-10 17:38:34 +02:00
Stein Magnus Jodal
9d3a5aa054 Fix error due to including BaseOutput twice in the docs 2011-05-09 23:47:11 +02:00
Stein Magnus Jodal
3dd9fc8564 Should be :command:, not :cmd: 2011-05-09 23:37:56 +02:00
Stein Magnus Jodal
b6c1f5fc15 Update changelog with fix for #95 2011-05-09 23:25:29 +02:00
Stein Magnus Jodal
d605964dce Merge branch 'feature/95-fix-help-command' into develop 2011-05-09 23:25:13 +02:00
Stein Magnus Jodal
b796661dc1 List --help-gst in Mopidy's --help listing 2011-05-09 23:16:45 +02:00
Stein Magnus Jodal
f035ea31ef Allow GStreamer to process --help-gst 2011-05-09 23:13:06 +02:00
Thomas Adamcik
10e1f2abab Switch to using gst.TAG_* in scanner 2011-05-08 19:53:09 +02:00
Thomas Adamcik
3d705b3e02 restify docstrings of CustomOutput 2011-05-08 17:01:05 +02:00
Stein Magnus Jodal
644c87128b Naive workaround for #95 2011-05-08 01:41:30 +02:00
Stein Magnus Jodal
ebee962020 Test that --help returns the options we expect it to 2011-05-08 01:38:04 +02:00
Thomas Adamcik
65db8c4a7b Kill off *_OUTPUT_OVERRIDEs in favour of just having CustomOutput to handle corner cases 2011-05-07 23:18:31 +02:00
Stein Magnus Jodal
35b6556694 Merge branch 'master' into develop 2011-05-06 00:27:39 +02:00
Stein Magnus Jodal
254d955385 Merge branch 'hotfix/0.4.1' into develop
Conflicts:
	docs/changes.rst
	mopidy/__init__.py
	tests/version_test.py
2011-05-06 00:25:06 +02:00
Stein Magnus Jodal
ddd70c622f Release v0.4.1 2011-05-06 00:21:52 +02:00
Stein Magnus Jodal
ffb2985fda Update changelog for 0.4.1 release 2011-05-06 00:21:24 +02:00
Stein Magnus Jodal
eb13a8abd1 Add credits and issue reference to changelog 2011-05-06 00:14:09 +02:00
Stein Magnus Jodal
5e5f4bb69e Merge branch 'bugfix/do-not-create-unused-pykka-proxies' into develop
Conflicts:
	mopidy/core.py
2011-05-06 00:03:29 +02:00
Stein Magnus Jodal
79fc6a11da Update changelog with removal of redundant Pykka proxy creation 2011-05-06 00:01:03 +02:00
Stein Magnus Jodal
a2d08e7f52 Merge branch 'bugfix/do-not-create-unused-pykka-proxies' into hotfix/0.4.1 2011-05-05 23:59:06 +02:00
Stein Magnus Jodal
9b0499bc1a Update changelog with UnicodeDecodeError fix from bok 2011-05-05 23:59:02 +02:00
Stein Magnus Jodal
df11f0523d Do not create Pykka proxies we do not use. The underlying actor may already be dead. 2011-05-05 23:57:20 +02:00
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
76a33f37db Add some more tests 2011-05-04 23:42:14 +02:00
Thomas Adamcik
9998a0e80f Update gstreamer test 2011-05-04 23:35:50 +02:00
Thomas Adamcik
d0e0594a78 s/PAUSE/PAUSED/ in pause_playback 2011-05-04 23:35:32 +02:00