Commit Graph

2744 Commits

Author SHA1 Message Date
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
5258dddb89 Change boolean arg to kwarg to make it selfdocumenting 2012-09-03 22:53:41 +02:00
Stein Magnus Jodal
4c94c45c25 Fix merge bummer 2012-09-03 22:52:40 +02:00
Thomas Adamcik
ceda421510 Cleanup error handling of bad GStreamer settings.
No need to have a GStreamerError, we can just let the GErrors bubble now that
we are initialising in the main thread.

Conflicts:

	mopidy/gstreamer.py
2012-09-03 22:38:13 +02:00
Stein Magnus Jodal
5f8374a174 Use same wording in setting validation and docs 2012-09-03 22:32:57 +02:00
Stein Magnus Jodal
252984138f Map old settings GSTREAMER_AUDIO_SINK and LOCAL_OUTPUT_OVERRIDE to the new OUTPUT setting 2012-09-03 22:32:44 +02:00
Stein Magnus Jodal
7866d62300 Improve docstring 2012-09-03 22:32:19 +02:00
Stein Magnus Jodal
763d09b172 Tweak OUTPUT docs 2012-09-03 22:15:43 +02:00
Stein Magnus Jodal
6b41806eea Merge remote-tracking branch 'adamcik/feature/simplify-outputs' into develop
Conflicts:
	docs/changes.rst
	mopidy/utils/settings.py
2012-09-03 22:08:52 +02:00
Stein Magnus Jodal
09b02f0558 Reraise exception without losing the traceback (fixes #173) 2012-09-03 16:09:14 +02:00
Stein Magnus Jodal
1c77f9178b Update changelog with did-you-mean setting matching 2012-09-01 13:33:06 +02:00
Stein Magnus Jodal
fbc9aef828 Merge remote-tracking branch 'adamcik/feature/settings-did-you-mean' into develop 2012-09-01 13:29:13 +02:00
Stein Magnus Jodal
5c6dc96f9d Fix typo 2012-09-01 13:07:14 +02:00
Thomas Adamcik
e4d425d37a Add did you mean tests for settings.
- Checks varying degrees of typos until the edit distance becomes to large.
- Also updated did you mean to always uppercase it's input so we catch caps
  errors.
2012-09-01 12:28:32 +02:00
Thomas Adamcik
1f8289a256 Switch to only importing modules in settings_test. 2012-09-01 12:22:41 +02:00
Thomas Adamcik
4e4a209ec3 Fix existing settings tests that did_you_mean broke. 2012-09-01 12:15:08 +02:00
Thomas Adamcik
03a7f03bb8 Style fixes to levenshtein and did_you_mean. 2012-09-01 12:11:09 +02:00
Thomas Adamcik
3c2576a629 Guess what setting you meant based on levenshtein. 2012-09-01 11:46:58 +02:00
Thomas Adamcik
387da58425 Deprecate and remove shoutcast settings.
I've also verfied that the examples provided will actually work.
2012-09-01 11:22:05 +02:00
Thomas Adamcik
0a86afbe31 Add audioresample and queue to pipeline, fixes #159
- Audioresample should perform as a noop in cases where no conversion is
  needed. In cases where the sink requires a fixed sample rate this will
  prevent output from breaking.

- The queue is needed to ensure that our outputs play nicely and is simply a
  continuation of the queue that was in our old Output abstraction.
2012-09-01 11:19:46 +02:00
Thomas Adamcik
703141c15b Make sure bad data to OUTPUT does not deadlock.
- Moves GStreamer initialization out of on-start as it is not obvious to me how
  to stop rest of setup on other ways.

- Note that gst.GError != gobject.GError as far as except is concerned.
2012-09-01 01:35:51 +02:00
Thomas Adamcik
fc4dcc3529 Merge pull request #167 from jodal/feature/list-deps
Add --list-deps option
2012-08-31 15:53:50 -07:00
Stein Magnus Jodal
f6cea72bf7 Print 'OK' or 'not found' instead of True/False 2012-09-01 00:49:47 +02:00
Stein Magnus Jodal
a452c49bd3 We're only considering a small subset of the Gstreamer elements 2012-09-01 00:49:12 +02:00
Stein Magnus Jodal
45086fb11d Update changelog with --list-deps option (fixes #74) 2012-09-01 00:21:07 +02:00
Stein Magnus Jodal
d712551c3f Add list of Gstreamer elements to checck in --list-deps 2012-09-01 00:16:39 +02:00
Stein Magnus Jodal
41853dd3d8 Add platform adapter for --list-deps 2012-09-01 00:00:14 +02:00
Stein Magnus Jodal
05c935bc4c Add Python impl adapter for --list-deps 2012-08-31 23:59:53 +02:00
Stein Magnus Jodal
44b6307046 Add pyserial adapter for --list-deps 2012-08-31 23:13:15 +02:00
Stein Magnus Jodal
240ab0d226 Add dbus adapter for --list-deps 2012-08-31 22:58:47 +02:00
Stein Magnus Jodal
6e01b320d7 Skip tests for unavailable optional deps 2012-08-31 22:57:29 +02:00
Stein Magnus Jodal
a661b6d848 Add pylast adapter for --list-deps 2012-08-31 22:49:59 +02:00
Stein Magnus Jodal
4284e08d69 Strip file name from printed import paths 2012-08-31 22:46:18 +02:00
Stein Magnus Jodal
4c6a6af487 Add Gstreamer adapter for --list-deps 2012-08-31 22:40:08 +02:00
Stein Magnus Jodal
a25e7d9530 Add pyspotify adapter for --list-deps 2012-08-31 22:17:54 +02:00
Stein Magnus Jodal
5fcc4e67aa Add --list-deps command with Pykka adapter 2012-08-31 21:55:01 +02:00
Thomas Adamcik
e840bce233 Fix comments from review. 2012-08-26 18:00:53 +02:00
Thomas Adamcik
d112dc668b Merge branch 'develop' into feature/simplify-outputs
Conflicts:
	docs/changes.rst
2012-08-26 12:44:48 +02:00
Thomas Adamcik
343207ebe2 Update docs with latest OUTPUT changes and fix issues raised in review of pull request. 2012-08-26 12:37:23 +02:00
Thomas Adamcik
7948921510 Make settings.OUTPUT a GStreamer bin description. 2012-08-26 12:18:28 +02:00
Stein Magnus Jodal
2262bf91d5 Fix crash in 'playlistinfo' when called with a songpos not matching an CPID (fixes #162) 2012-08-24 00:21:03 +02:00
Stein Magnus Jodal
6e9dd194df Use current_playlist.length instead of len(current_playlist.tracks) 2012-08-24 00:16:33 +02:00
Thomas Adamcik
c565e274a5 Replace OUTPUTS with OUTPUT and switch to simple outputs that return a gst.Bin 2012-08-23 23:44:05 +02:00
Thomas Adamcik
5790d0ba07 Add removal of multiple outsputs support to changelog. 2012-08-23 01:13:08 +02:00
Thomas Adamcik
5769ec6910 Merge branch 'develop' into feature/simplify-outputs 2012-08-23 01:11:50 +02:00
Thomas Adamcik
f995b2f1de Continue ripping out multi output support. 2012-08-23 01:07:22 +02:00
Stein Magnus Jodal
8849c99675 Use recommended shebang for Python scripts 2012-08-23 00:24:13 +02:00
Thomas Adamcik
74a58be60c Merge branch 'develop' into feature/simplify-outputs
Conflicts:
	docs/changes.rst
	mopidy/gstreamer.py
2012-08-23 00:06:01 +02:00
Stein Magnus Jodal
935382bf35 Merge pull request #157 from adamcik/feature/debug-proxy 2012-08-22 14:58:47 -07:00
Thomas Adamcik
1649abc410 Add debug-proxy to 0.8 changelog. 2012-08-22 23:42:57 +02:00