Thomas Adamcik
cd579ff7bb
audio: Going to NULL already handles the flushing for us
2015-03-12 22:11:50 +01:00
Thomas Adamcik
ccd3753b30
audio: Switch to decodebin2 in scanner and handle our own sources
...
This is needed to be able to put in our own typefind and catch playlists before
they make it to the decoder.
2015-03-12 22:11:50 +01:00
Thomas Adamcik
cee73b5501
audio: Add support for checking seekable state in scanner
...
Return type of scanner changed to a named tuple with (uri, tags, duration,
seekable). This should help with #872 and the related "live" issues.
Tests, local scan and stream metadata lookup have been updated to account for
the changes.
2015-03-12 22:11:50 +01:00
Thomas Adamcik
f4e6956bb7
audio: Catch missing plugins in scanner for better error messages
2015-03-12 22:11:50 +01:00
Thomas Adamcik
40c7225cb7
local: Fix remainder display in local scan
2015-03-12 22:11:33 +01:00
Stein Magnus Jodal
9a507e17df
docs: Improve pointer to contribution page
2015-03-11 19:42:33 +01:00
Stein Magnus Jodal
20e95eac07
docs: Fix rST syntax error
2015-03-10 18:34:49 +01:00
Thomas Adamcik
29b00cabf9
Merge pull request #1028 from tkem/fix/1026
...
Fix #1026 : Sort local playlists by name.
2015-03-08 23:53:04 +01:00
Stein Magnus Jodal
af87a17ff5
docs: Fix all warnings
2015-03-08 21:43:09 +01:00
Stein Magnus Jodal
714ff0d64a
docs: Fix real name of four contributors
2015-03-08 21:16:34 +01:00
Thomas Kemmer
0f52316d77
docs: Add PR #1028 to changelog
2015-03-08 19:04:57 +01:00
Stein Magnus Jodal
2b6d3dd984
Merge pull request #1029 from ZenithDK/fix/tests_for_current_track
...
Add tests for PlaybackController get_current_(tl_)track
2015-03-08 10:42:47 +01:00
Lasse Bigum
cf0b666a0a
Add tests for PlaybackController get_current_(tl_)track
...
Add some more test cases for PlaybackController
2015-03-08 04:10:02 +01:00
Thomas Adamcik
a279285609
Merge pull request #1025 from tkem/fix/1023
...
Fix #1023 : Remove support for local album images from coverartarchive.org
2015-03-08 00:10:21 +01:00
Thomas Kemmer
94c418d5e6
Fix #1026 : Sort local playlists by name.
2015-03-07 22:42:22 +01:00
Thomas Kemmer
8d2cedcc69
Remove changelog entry for #802 .
2015-03-06 19:31:54 +01:00
Thomas Kemmer
9150c34053
Fix #1023 : Remove support for local album images from coverartarchive.org
2015-03-06 10:02:08 +01:00
Stein Magnus Jodal
733732405f
tox: Use better coverage report
2015-03-05 22:59:42 +01:00
Stein Magnus Jodal
51fb2e2242
docs: Add PR #1024 to changelog
2015-03-05 22:14:16 +01:00
Thomas Adamcik
a760833ab2
Merge pull request #1024 from jodal/feature/pytest
...
Use py.test as test runner
2015-03-05 20:50:08 +01:00
Stein Magnus Jodal
67a41b980a
tox: Run tests with 4 processes in parallel
2015-03-05 12:28:31 +01:00
Stein Magnus Jodal
1119555809
core: Remove deprecated property warnings
...
Their use of inspect (I think) made parallel test execution slower than
serial test execution.
2015-03-05 12:27:20 +01:00
Stein Magnus Jodal
d89041e1d3
tox: Pass args to py.test, include pytest-xdist
2015-03-05 09:16:58 +01:00
Stein Magnus Jodal
c916fcb421
tox: Use env specific tmpdir for py.test
2015-03-05 09:16:32 +01:00
Stein Magnus Jodal
2280a533c0
Use py.test as test runner
2015-03-05 00:35:20 +01:00
Stein Magnus Jodal
9e967f7997
docs: Add section on Deb package availability
2015-03-04 23:16:26 +01:00
Nick Steel
a6f021cc4f
docs: Troubleshooting link to discuss, not google group
2015-03-03 15:03:13 +00:00
Stein Magnus Jodal
6dddf34333
docs: Fix review comments
2015-03-03 15:28:30 +01:00
Stein Magnus Jodal
0f9fcc62cb
docs: Add missing ext troubleshooting to Debian docs
...
Fixes #879
2015-03-03 01:53:36 +01:00
Stein Magnus Jodal
1e41a1192f
docs: Add section on ext installation from source
2015-03-03 01:36:47 +01:00
Stein Magnus Jodal
6ff85aed29
docs: Add section on ext installation on Debian
2015-03-03 01:36:47 +01:00
Stein Magnus Jodal
c3f6016388
docs: Add section on ext installation on Arch
2015-03-03 01:36:47 +01:00
Stein Magnus Jodal
3283beba69
docs: Add section on starting Mopidy at login
...
Fixes #887
2015-03-03 01:22:02 +01:00
Stein Magnus Jodal
88ddcc7d35
docs: Add section on ext installation on OS X
2015-03-03 01:09:48 +01:00
Stein Magnus Jodal
8b59c4dc87
docs: Update authors
2015-03-03 00:48:11 +01:00
Thomas Adamcik
c0d4626360
docs: Update changelog based on all merges since last 0.19.x merge
2015-03-03 00:00:42 +01:00
Thomas Adamcik
319c1fc1e3
local: Readd support for search without limit for get_distinct support
2015-03-02 23:39:06 +01:00
Thomas Adamcik
8c7c275f3a
docs: Add changelog for issue #917 & PR #947
2015-03-02 23:21:14 +01:00
Thomas Adamcik
7c2c4c1c45
Merge branch 'fix/local-json-limit-offset' of https://github.com/ali/mopidy into develop
2015-03-02 23:18:39 +01:00
Stein Magnus Jodal
2179bf06d3
Merge pull request #1022 from adamcik/fix/913
...
Add list_distinct command for more effective library lookups.
2015-03-02 22:55:42 +01:00
Thomas Adamcik
8cc9c9bbc0
core: Rename list_distinct to get_distinct
2015-03-02 22:41:09 +01:00
Nick Steel
45baeb9974
Fixed OpenHome link for upmpdcli
2015-03-02 11:26:05 +00:00
Thomas Adamcik
fdab423a49
Setup flake8 exclude in setup.cfg
2015-03-02 00:29:46 +01:00
Thomas Adamcik
5fd2afa7ca
mpd: Switch list command to using list_distinct
2015-03-02 00:26:51 +01:00
Thomas Adamcik
ba8fc51f86
local: Add support for list_distinct and implement for json backend
2015-03-02 00:26:06 +01:00
Thomas Adamcik
00b2b9538e
core: Add library.list_distinct for getting distinct field values
2015-03-02 00:26:06 +01:00
Stein Magnus Jodal
0634de6e28
Merge pull request #1020 from adamcik/feature/fix-ws-disconnect-race
...
Fix WS disconnect race
2015-03-02 00:16:09 +01:00
Thomas Adamcik
6c5970ffc3
http: Make sure to decode exceptions for logging
2015-03-02 00:06:02 +01:00
Thomas Adamcik
0fb6c620df
docs: Add changelog entry for broadcast race
2015-03-02 00:05:58 +01:00
Thomas Adamcik
4ee7dd73bd
http: Make WS broadcast more robust against disconnect race
...
Adds some WebSocketHandler tests that actually connect using a WS client and
plugs a potential race condition.
Any call to write_message could fail, either due to WebSocketClosedError like
in the log below, or simply due to socket errors. To play it safe we catch all
errors and debug log that a broadcast failed.
2015-02-26 21:24:02,266 ERROR [HttpServer] /home/adamcik/dev/mopidy/mopidy/http/handlers.py:116
mopidy.http.handlers WebSocket request error: deque index out of range
2015-02-26 21:24:10,098 ERROR [HttpFrontend-11] build/bdist.linux-x86_64/egg/pykka/actor.py:268
pykka Unhandled exception in HttpFrontend (urn:uuid:e376bd95-c32e-4e17-ad20-7d0b3c0cf2b2):
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "build/bdist.linux-x86_64/egg/pykka/actor.py", line 294, in _handle_receive
return callee(*message['args'], **message['kwargs'])
File ".../dev/mopidy/mopidy/http/actor.py", line 77, in on_event
on_event(name, **data)
File ".../dev/mopidy/mopidy/http/actor.py", line 84, in on_event
handlers.WebSocketHandler.broadcast(message)
File ".../dev/mopidy/mopidy/http/handlers.py", line 78, in broadcast
client.write_message(msg)
File ".../dev/mopidy-virtualenv/local/lib/python2.7/site-packages/tornado/websocket.py", line 183, in write_message
raise WebSocketClosedError()
WebSocketClosedError
2015-03-02 00:05:21 +01:00