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
Thomas Adamcik
aeb4815fb6
Update lint task and gitignore to exlude tmp/
2015-03-01 23:58:11 +01:00
Thomas Adamcik
ffeb78c2cb
Only lint mopidy and tests dir
2015-03-01 22:29:22 +01:00
Thomas Adamcik
1de032be07
Merge pull request #1018 from ZenithDK/fix/no_resume_on_seek
...
core: Don't change to playing state when seeking in paused state
2015-03-01 21:09:22 +01:00
Thomas Adamcik
ec65a2ee8e
Merge pull request #1010 from RonaldZ/feature/scan_force_arg
...
local: Add --force flag to 'mopidy local scan' command
2015-03-01 21:05:42 +01:00
ronaldz
713c55321f
Updated the changelog
2015-03-01 14:56:38 -05:00
ronaldz
b2976dccb6
Trailing white space and expected blank line fix
2015-03-01 14:40:08 -05:00
Lasse Bigum
fbd534efbf
Don't change to playing state when seeking in paused state
...
Do not switch state from paused to playing when seeking
2015-03-01 15:50:17 +01:00
Thomas Adamcik
47911f24ea
Merge pull request #1013 from tkem/fix/get_images
...
backend: Improve default get_images() implementation with album/artist URIs.
2015-02-28 12:35:16 +01:00
Thomas Kemmer
f65195a676
More pythonic implementation.
2015-02-27 22:39:25 +01:00
Thomas Kemmer
301f732047
Improve default get_images() implementation with album/artist URIs.
2015-02-27 22:22:28 +01:00
ronaldz
87ea3c9745
Added a --force argument. Related to issue #910
2015-02-26 21:32:31 -05:00
ronaldz
961aafff45
Maximum was miss-spelled in the local Scan command's help text
2015-02-25 21:19:47 -05:00
Stein Magnus Jodal
635ee6e4eb
Merge pull request #1002 from adamcik/fix/694
...
config: Debug log ignored sections (fixes : #694 )
2015-02-25 23:36:13 +01:00
Thomas Adamcik
4a3dfdd415
docs: Update changelog
2015-02-25 23:28:56 +01:00
Stein Magnus Jodal
5536c79be5
Merge pull request #1005 from adamcik/fix/808
...
Add per logger colors
2015-02-25 23:18:08 +01:00
Thomas Adamcik
57012670b7
config: Fixing review comments
2015-02-25 22:58:46 +01:00
Thomas Adamcik
3b41b26880
config: Fix review comments
2015-02-25 22:57:49 +01:00
Thomas Adamcik
5c833e106b
logging: Add support for per logger colors ( fixes : #808 )
2015-02-25 22:16:30 +01:00
Thomas Adamcik
b11d89d72f
config: Convert the loglevel schema to a generic map schema
2015-02-25 21:36:59 +01:00
Thomas Adamcik
0829f34a90
Merge pull request #999 from tkem/fix/998
...
Fix #998 : Remove event already sent by PlaylistsController.
2015-02-25 21:05:53 +01:00
Thomas Adamcik
84334760e1
Merge pull request #1000 from tkem/fix/937
...
Fix #937 : Local playlists refactoring.
2015-02-25 21:04:01 +01:00
Thomas Adamcik
0ea3969427
config: Debug log ignored sections ( fixes : #694 )
2015-02-25 21:02:57 +01:00
Thomas Kemmer
dd54fdb086
Fix #937 : Local playlists refactoring.
2015-02-25 18:50:29 +01:00
Thomas Kemmer
96a3cb6ef5
Remove obsolete unit test.
2015-02-25 17:48:41 +01:00
Thomas Kemmer
2ae68d971a
Fix #998 : Remove event already sent by PlaylistsController.
2015-02-25 17:35:06 +01:00
Thomas Adamcik
7520b13aa1
mpd: Update listall/info docs
2015-02-18 22:35:49 +01:00
Stein Magnus Jodal
255d92f21f
Merge pull request #992 from adamcik/feature/default-get-images-fallback
...
backend: Add a default get_images impl.
2015-02-18 22:13:10 +01:00
Thomas Adamcik
2ff2a3719e
backend: Add test for get_images fallback
2015-02-18 21:55:39 +01:00
Stein Magnus Jodal
b7d46d3247
Merge pull request #990 from adamcik/feature/mpd-blacklist-commands
...
mpd: Support blacklisting MPD commands in the server.
2015-02-18 21:25:50 +01:00
Thomas Adamcik
19b7daed32
mpd: Fix typos in previous commit.
2015-02-18 21:14:24 +01:00
Thomas Adamcik
88c978bdca
backend: Add a default get_images impl.
2015-02-18 21:13:25 +01:00
Thomas Adamcik
52814715b4
mpd: Fix review comments for commands blacklist
2015-02-18 20:57:22 +01:00
Thomas Adamcik
e4ba4b3e5f
mpd: Support blacklisting MPD commands in the server.
...
Default blacklist set to listall and listallinfo.
This change has been done to avoid clients being able to call "bad" MPD
commands which are often misused to try and keep a client db. Note that
this change will break some MPD clients, but the blacklist can be controlled
via config to allow opting out for now.
2015-02-18 00:13:24 +01:00
Trygve Aaberge
b6110de186
Merge pull request #989 from jaksi/patch-1
...
Change yaourt command to update packages from AUR.
2015-02-17 00:28:55 +01:00