Thomas Scholtes
2b7ff237b8
Add tests for Audio buffering
2014-04-03 21:43:56 +02:00
Thomas Scholtes
1e16817e39
Don’t start playing automatically when buffer is full
...
Previously, when `Audio.pause_playback()` was called while buffering, the audio
actor would switch back to the playing state when the buffer was full.
2014-04-03 20:30:41 +02:00
Thomas Scholtes
d42ebd1fec
Set buffer properties of gstreamer pipeline
...
Manually set the `playbin2` buffer properties to their default values. The
default values are not documented but hard-coded in gstreamer [1].
This is a starting point for making these properties configurable. For example
we might want higher values on system with unsteady network connection.
[1]: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/playback/gsturidecodebin.c?h=0.10#n1714
2014-03-31 12:29:04 +02:00
Thomas Scholtes
4d287697e4
Pause gstreamer when buffering
...
When the `playbin2` pipeline is in `PLAYING` state and its buffer is empty the
pipeline will consume arriving data immediately. If the source is an HTTP
stream this leads to choppy playback. To fix this we pause playing when the
buffer is nearly empty and wait for it to fill up until we resume playing. This
approach is recommended in the gstreamer manual [1].
We might want to extract the hard-coded 10% mark and make it configurable.
[1]: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-buffering.html
2014-03-31 12:29:04 +02:00
Stein Magnus Jodal
ed918fc7ff
core: Fix shadowed import
...
Catched by new stricter flake8
2014-03-31 09:53:54 +02:00
Stein Magnus Jodal
adb817ecfe
docs: Fix typo
2014-03-31 09:49:34 +02:00
Stein Magnus Jodal
ae63cc633c
docs: Fix typo
2014-03-31 09:47:45 +02:00
Stein Magnus Jodal
9f6610a144
docs: Add page for the Debian package
2014-03-29 22:14:06 +01:00
Stein Magnus Jodal
afbd9895bf
docs: Make 'mopidy config' more prominent
2014-03-29 21:14:45 +01:00
Stein Magnus Jodal
5583ca5aba
New flake8 version with new checks to conform to
2014-03-29 20:47:42 +01:00
Stein Magnus Jodal
9db9def367
docs: Should install gstreamer0.10-alsa before using alsasink
2014-03-29 20:27:52 +01:00
Stein Magnus Jodal
95a051abf8
docs: Add Mopidy-Podcast-{gpodder.net,iTunes}
2014-03-23 09:26:35 +01:00
Stein Magnus Jodal
52b6676fb2
Merge remote-tracking branch 'dz0ny/patch-1' into develop
...
Conflicts:
docs/ext/external.rst
Fixes #710
2014-03-11 09:40:04 +01:00
Janez Troha
9b1ec31fd1
Add: YouTube extension
2014-03-07 12:02:15 +01:00
Stein Magnus Jodal
c267e0b740
docs: Update changelog
2014-03-02 09:04:45 +01:00
Stein Magnus Jodal
db7aff4512
utils: Tweak docstrings from PR#707
2014-03-02 09:00:47 +01:00
Stein Magnus Jodal
957036c899
Merge pull request #707 into develop
...
Improve scan performance for remote filesystems
2014-03-02 08:34:54 +01:00
Stein Magnus Jodal
061ff00a39
tests: Don't depend on the order of random sequences
2014-02-28 01:17:53 +01:00
Thomas Adamcik
7386dd30b6
utils: Remove old find_files
2014-02-26 23:53:12 +01:00
Thomas Adamcik
78f727b9be
local: Update how scanner work is done to improve remote FS support.
...
This changes the scanner to prefetch all the files+mtimes using our new
threaded finder. Hopefully making scanning against remote filesystems
somewhat less painful.
2014-02-26 23:31:11 +01:00
Thomas Adamcik
5b7a6065e7
util: Add find_mtimes helper
2014-02-26 23:27:44 +01:00
Thomas Adamcik
4e332da3ed
utils: Update find to be threaded.
...
This is needed to speedup searches when using network mounted directories where
we are heavily IO bound.
2014-02-26 23:10:08 +01:00
Stein Magnus Jodal
590ce19148
docs: Add Mopidy-TuneIn
2014-02-25 10:09:24 +01:00
Stein Magnus Jodal
ad86b0caef
package: Include tox.ini in packages
2014-02-17 14:25:35 +01:00
Stein Magnus Jodal
fbf932325f
docs: Update testing docs
2014-02-17 12:51:02 +01:00
Stein Magnus Jodal
be0f1ee704
docs: Add link to coveralls.io
2014-02-17 12:51:02 +01:00
Stein Magnus Jodal
daf07a8edc
travis: Use tox to run both tests, docs build, and flake8 linting
2014-02-17 12:51:02 +01:00
Stein Magnus Jodal
815b490206
tox: Add tox config file
...
This allows for testing across multiple environments, including Python 3 in
the not too distant future. The instant bonus is that this allows for testing
the docs build at Travis so I don't make more releases like 0.18.2 with broken
docs.
2014-02-17 12:51:02 +01:00
Stein Magnus Jodal
d069c3e311
docs: Fix syntax error
2014-02-17 12:51:02 +01:00
Stein Magnus Jodal
a67bb55428
Remove the mopidy-convert-config migration tool
...
It's almost a year since we changed configuration format and the tool is
barely maintained, probably not doing a perfect job any longer.
2014-02-17 11:57:30 +01:00
Stein Magnus Jodal
30dde4e593
ext: Remove old extension API
...
As far as I know, all extensions except Mopidy-Arcam (not currently
maintained) and Mopidy-VKontakte already use the new API. Both of the
remaining extensions got open pull requests with the needed changes to use the
new API.
2014-02-17 11:44:57 +01:00
Stein Magnus Jodal
ed1edb622c
backend: Remove old backends API
...
As far as I know, Mopidy-VKontakte is the only backend extension that hasn't
been updated to use the new API yet. They have a PR ready for merging that does
the update for them.
2014-02-17 10:27:39 +01:00
Stein Magnus Jodal
4e75126b22
docs: Update changelog
2014-02-16 23:29:27 +01:00
Stein Magnus Jodal
3dbf50fa5b
mpd: Fix typo, remove comment
2014-02-16 23:27:04 +01:00
Stein Magnus Jodal
daa6af6f1b
Merge pull request #654 from adamcik/feature/mpd-tokenized-requests
...
Tokenize MPD requests instead of regexp per command variant
2014-02-16 23:23:23 +01:00
Thomas Adamcik
79ce2ab902
Merge branch 'develop' into feature/mpd-tokenized-requests
...
Conflicts:
docs/changelog.rst
2014-02-16 23:22:07 +01:00
Thomas Adamcik
8756c2bff5
review: Type fixing
2014-02-16 23:17:46 +01:00
Stein Magnus Jodal
ffde67f882
Merge branch 'master' into develop
...
Conflicts:
docs/changelog.rst
2014-02-16 21:47:50 +01:00
Stein Magnus Jodal
4df730742d
Release v0.18.3
2014-02-16 21:46:21 +01:00
Stein Magnus Jodal
0f0344a87e
Merge branch 'master' into develop
2014-02-16 21:35:53 +01:00
Stein Magnus Jodal
871fbb0b2b
docs: Fix build
2014-02-16 21:35:44 +01:00
Stein Magnus Jodal
b73095de28
Merge branch 'master' into develop
...
Conflicts:
docs/changelog.rst
2014-02-16 21:33:24 +01:00
Stein Magnus Jodal
60a4a572bd
Release v0.18.2
2014-02-16 21:27:07 +01:00
Stein Magnus Jodal
d18e1aafe4
docs: Update changelog for v0.18.2
2014-02-16 21:26:16 +01:00
Stein Magnus Jodal
fa15e7a264
Bump version number to 0.18.2
2014-02-16 21:24:57 +01:00
Stein Magnus Jodal
d238ce617d
Use new URL with proper file name for mopidy==dev package
2014-02-16 20:17:32 +01:00
Stein Magnus Jodal
61200b24f0
docs: Update changelog
2014-02-16 18:52:05 +01:00
Thomas Adamcik
01bef27a4e
config/ext: Automatically disable extensions with bad config
...
Ensures config errors on extensions don't block mopidy startup. Also improves
error messages for config problems.
(cherry picked from commit 684bfcf301 )
2014-02-16 18:38:22 +01:00
Thomas Adamcik
684bfcf301
config/ext: Automatically disable extensions with bad config
...
Ensures config errors on extensions don't block mopidy startup. Also improves
error messages for config problems.
2014-02-16 18:29:57 +01:00
Stein Magnus Jodal
e255afb97f
config: Make keyring log messages explain more
...
...as a lot of users see debug-level errors from the keyring code and think
they explain some larger issue. These are currently *always* red herrings as
there is no command for setting configuration values in the keyring yet.
Fixes #681
2014-02-15 00:18:24 +01:00