Commit Graph

3520 Commits

Author SHA1 Message Date
Stein Magnus Jodal
1c4ee46c4c Move GStreamer setup back into the actor thread
Make sure to terminate the whole process on GError exceptions, so that we fail
quickly on non-working output pipelines.
2012-09-10 00:33:42 +02:00
Stein Magnus Jodal
94fdac04a1 Cleanup after GStreamer actor
Unregister callbacks and release pipeline resources when GStreamer actor shuts
down.

Fixes #185.
2012-09-10 00:33:15 +02:00
Thomas Adamcik
4c3e69df0f Merge pull request #180 from adamcik/feature/spotify-track-proxy
Create a Track proxy for spotify (Fixes #72)
2012-09-09 15:00:34 -07:00
Thomas Adamcik
ee599b6235 Add changelog entry for #72 and remove old comments. 2012-09-09 23:57:06 +02:00
Thomas Adamcik
e01e5ff576 Merge branch 'develop' into feature/spotify-track-proxy 2012-09-09 23:55:28 +02:00
Thomas Adamcik
911b45dce8 Document debug-proxy's existance. 2012-09-09 23:31:54 +02:00
Thomas Adamcik
88f0ffb9f2 Add a debug thread that dumps tracebacks.
Start and extra thread that blocks on a threading event until SIGUSR1 is
received. Then dump the tracebacks for all threads except itself. This
is only really useful as a debug tool for deadlocks, so we might want to
hide it behind a flag?
2012-09-09 22:48:08 +02:00
Thomas Adamcik
db3a201795 Fix tests and update docs with #150 fix. 2012-09-09 22:09:23 +02:00
Thomas Adamcik
ab7d0c4cc2 Don't block gobject event thread, fixes #150. 2012-09-09 21:36:52 +02:00
Thomas Adamcik
ccd3f9d1cb Merge pull request #183 from jodal/feature/nad-hardware-mixer
Port NAD hardware mixer to the GStreamer mixer API
2012-09-09 07:55:44 -07:00
Stein Magnus Jodal
297b8db3cd Titlecase source and speaker settings 2012-09-09 13:07:50 +02:00
Stein Magnus Jodal
affe779569 Cleanup log messages 2012-09-09 13:07:33 +02:00
Stein Magnus Jodal
ccf2c12a18 Reuse set-and-check logic 2012-09-09 13:07:33 +02:00
Stein Magnus Jodal
975c79c1e6 Remove invalid Sphinx text role 2012-09-08 23:50:28 +02:00
Stein Magnus Jodal
fd4d5b2f62 Update autodoc dependency mock 2012-09-08 23:48:55 +02:00
Stein Magnus Jodal
652f970548 Remove old output docs 2012-09-08 23:48:25 +02:00
Stein Magnus Jodal
e948a51310 Remove duplicate tearDown() 2012-09-08 23:05:31 +02:00
Stein Magnus Jodal
e57a71729a Don't fail on GStreamer EOS if no backend is running
This removes the printed AssertionError when running
ScannerTest.test_data_is_set()
2012-09-08 23:01:08 +02:00
Stein Magnus Jodal
e741b4db75 Prefer the word 'amplifier' over too generic 'device' in docs and log messages 2012-09-08 22:24:48 +02:00
Stein Magnus Jodal
5368f75f3a Fix set_mute() implementation 2012-09-08 22:22:05 +02:00
Stein Magnus Jodal
1ccdb08420 Use create_track() from new location 2012-09-08 22:18:23 +02:00
Stein Magnus Jodal
b3f177fff4 Merge branch 'develop' into feature/nad-hardware-mixer 2012-09-08 22:17:50 +02:00
Stein Magnus Jodal
f97ce0f06a Add note about how to avoid cyclic imports 2012-09-08 22:17:09 +02:00
Stein Magnus Jodal
cd021cc819 Move create_track() out of the fakemixer as it is useful for other mixers 2012-09-08 22:03:30 +02:00
Stein Magnus Jodal
641f8d2e2d Port NAD hardware mixer to the GStreamer mixer API
Fixes #179
2012-09-08 01:48:05 +02:00
Stein Magnus Jodal
e3ba389996 Make MPRIS frontend handle unknown volume 2012-09-08 01:24:48 +02:00
Stein Magnus Jodal
ebead0d0d2 Fix typo in variable name 2012-09-08 01:22:40 +02:00
Thomas Adamcik
0aeb11b22e Create a Track proxy for spotify (Fixes #72) 2012-09-07 00:54:01 +02:00
Stein Magnus Jodal
21a85c0898 Merge pull request #178 from adamcik/feature/serialize
Imutable object serialization support
2012-09-05 16:57:24 -07:00
Stein Magnus Jodal
1bb13b8c1b Merge pull request #163 from adamcik/feature/switch-to-gst-mixers 2012-09-05 16:40:44 -07:00
Thomas Adamcik
776a5040b1 Review nitpicks. 2012-09-06 00:10:24 +02:00
Thomas Adamcik
59dc48e982 Merge branch 'develop' into feature/serialize 2012-09-06 00:03:33 +02:00
Thomas Adamcik
753070d1db Merge branch 'develop' into feature/switch-to-gst-mixers
Conflicts:
	tests/gstreamer_test.py
2012-09-06 00:02:37 +02:00
Stein Magnus Jodal
857c302bb5 Merge branch 'feature/travis' into develop 2012-09-05 23:59:51 +02:00
Stein Magnus Jodal
d8f895fd38 Add Travis CI build status badge to README 2012-09-05 23:58:52 +02:00
Stein Magnus Jodal
8b4302e388 Add Travis CI description to development docs 2012-09-05 23:58:30 +02:00
Thomas Adamcik
6805c16b1a Add .serialize() method to ImutableObjects.
Should be useful for things like dumping to json.
2012-09-05 23:54:37 +02:00
Thomas Adamcik
7e934401fb Removed refrences to old mixers from docs. 2012-09-05 22:55:57 +02:00
Thomas Adamcik
b0d6dc3e0c Remove injected gstreamer settings. 2012-09-05 22:42:09 +02:00
Thomas Adamcik
fd3bbc899f Merge branch 'develop' into feature/switch-to-gst-mixers
Conflicts:
	mopidy/core.py
2012-09-05 22:32:22 +02:00
Thomas Adamcik
8c038bbae6 Review cleanup. 2012-09-05 20:48:00 +02:00
Thomas Adamcik
562c25043a Remove comment about get/set_volume. 2012-09-05 20:34:53 +02:00
Thomas Adamcik
1255b87877 Try running with fakesink for gstreamer test. 2012-09-05 01:26:05 +02:00
Thomas Adamcik
4b1595ce97 Attempt at running on travis-ci.
- Installs our apt-repo to worker.
- Installs all mopidy deps listed in apt.
- Runs our tests with site-packages, thus we can only test the main python
  verision travis uses.
2012-09-05 01:19:27 +02:00
Stein Magnus Jodal
4ce88faed4 Fix deprecation warning by using str(ex) instead of ex.message (fixes #175) 2012-09-04 14:04:55 +02:00
Thomas Adamcik
8281128a2e Move mixers out of gstreamer module.
Mixers now live in mopidy.mixers.<shortname>. Futhermore mopidy.mixers should
now import each of the mixers so that doing import mopidy.mixers is enough to
install the gstreamer elements.
2012-09-04 01:04:59 +02:00
Thomas Adamcik
c71202c2be Remove all of mopidy.mixers and tests.mixers modules. 2012-09-04 00:54:28 +02:00
Thomas Adamcik
4ffd06736e Update MPD frontend to use playback volume API. 2012-09-04 00:52:12 +02:00
Thomas Adamcik
14eeb20226 Update MPRIS to use playback.volume API. 2012-09-04 00:30:02 +02:00
Thomas Adamcik
4c509c2e2c Add volume to playback API of backends.
- Add volume get/setter to the playback provider.
- Add volume property to the playback controller.
2012-09-04 00:21:00 +02:00