Commit Graph

5715 Commits

Author SHA1 Message Date
Thomas Kemmer
380223bb96 local: Return multiple tracks from lookup() 2014-08-30 14:02:43 +02:00
Stein Magnus Jodal
c6f88feb00 Merge branch 'release/v0.19.x' into develop 2014-08-30 00:27:07 +02:00
Stein Magnus Jodal
83e779eaaf http: Guard against double close of WebSocket 2014-08-30 00:25:43 +02:00
Stein Magnus Jodal
fc94d0789e Merge branch 'release/v0.19.x' into develop 2014-08-29 21:28:58 +02:00
Stein Magnus Jodal
f1096d332c local: Move constant to Library class
Related to #833
2014-08-29 21:28:42 +02:00
Stein Magnus Jodal
c50641230d Merge branch 'release/v0.19.x' into develop 2014-08-29 14:03:11 +02:00
Stein Magnus Jodal
69c3e107a2 local: Add ROOT_DIRECTORY_URI constant
Related to #833
2014-08-29 14:02:08 +02:00
Stein Magnus Jodal
0e60730704 backends: Update browse() signature and docs to match core implementation
Fixes #833
2014-08-29 13:50:12 +02:00
Stein Magnus Jodal
2830784703 Merge pull request #827 from trygveaa/fix/network-thread-issue
network: disable_recv before telling actor to close connection
2014-08-29 13:36:48 +02:00
Stein Magnus Jodal
b40409141f docs: Add sponsors page 2014-08-22 00:02:11 +02:00
Stein Magnus Jodal
dc65a08e3b docs: Unbreak API autodocs 2014-08-20 00:48:12 +02:00
Stein Magnus Jodal
1dfd14615a docs: Include mixers in concepts 2014-08-20 00:46:30 +02:00
Stein Magnus Jodal
a244761abc mpd: Replace / with | instead of whitespace in playlist names 2014-08-17 23:25:09 +02:00
Stein Magnus Jodal
1484514224 main: Log uncaught exceptions
(cherry picked from commit 027b7a53fe)
2014-08-16 23:20:43 +02:00
Stein Magnus Jodal
027b7a53fe main: Log uncaught exceptions 2014-08-16 23:04:01 +02:00
Stein Magnus Jodal
3c3fce0187 Merge branch 'release/v0.19.x' into develop 2014-08-15 22:52:11 +02:00
Trygve Aaberge
15597b3c60 tests: Test call order in test_recv_callback_gets_no_data 2014-08-14 12:43:42 +02:00
schinken
c230a0f64c #818 Remove mopidy lux from documentation
(cherry picked from commit 06d7d650f8)
2014-08-14 09:00:53 +02:00
Trygve Aaberge
265951bf00 network: disable_recv before telling actor to close connection
As of d62ad96, when the connection can't receive more data from the
client, it tells the actor to stop the connection and calls
disable_recv(). The actor operates in it's own thread and when it stops
the connection, disable_recv is being called again from a different
thread. Since the actor is told to stop the connection before
disable_recv is called, the two calls to disable_recv may happen
simultaneously.

This causes a race condition issue where both threads can reach past the
check that recv_id is not None before either of them set it to None. If
one of them set it to None before the other one tries to use it, an
error is raised.

This commit calls disable_recv before telling the actor to stop the
connection. Since disable_recv is a blocking call, this ensures that
recv_id is being set to None before the actor thread begins to stop the
connection.

Fixes #781
2014-08-14 01:58:48 +02:00
Trygve Aaberge
f0b66bdfcb main: Ensure that exit_status_code always is assigned
KeyboardInterrupts are not always catched in commands.py. As far as I
have seen, if I/O operations are ongoing, a KeyboardInterrupt may be
raised there instead of in commands.py. In some cases, this may cause
loop.run() to return, which previously resulted in exit_status_code
being referenced before assignment.
2014-08-13 01:21:03 +02:00
Stein Magnus Jodal
ae3a932ed3 Merge branch 'release/v0.19.x' into develop
Conflicts:
	mopidy/config/__init__.py
2014-08-12 23:54:14 +02:00
Stein Magnus Jodal
d2eb7fdd10 Merge branch 'trygveaa/feature/mopidy-config-dirs' into release/v0.19.x
Conflicts:
	docs/changelog.rst
2014-08-12 23:39:36 +02:00
Trygve Aaberge
7b99c2fbae docs: Fix grammar 2014-08-12 16:45:26 +02:00
Trygve Aaberge
d776ada30a docs: Add directories to --config in man page 2014-08-11 16:27:19 +02:00
Trygve Aaberge
584484379a config: Only load .conf-files when loading directories 2014-08-11 16:21:34 +02:00
Trygve Aaberge
4ea5271362 docs: Return exit status 1 on initialization error 2014-08-11 16:13:40 +02:00
Trygve Aaberge
9e41eff187 config: Support passing directories to mopidy --config 2014-08-11 14:48:04 +02:00
Trygve Aaberge
0863a813fa main: Return status code 1 if {Backend,Frontend,Mixer}Error is raised 2014-08-11 13:43:18 +02:00
Stein Magnus Jodal
0c21a2945c Merge branch 'release/v0.19.x' into develop
Conflicts:
	docs/changelog.rst
2014-08-11 13:01:17 +02:00
Trygve Aaberge
44c7951520 docs: Use :confval:-syntax, add fixes for logging issue
(cherry picked from commit 524043f6b7)

Conflicts:
	docs/changelog.rst
2014-08-11 13:00:36 +02:00
Trygve Aaberge
bac3bfb7a2 log: Don't disable loggers when loading fileConfig
The default when loading config for logging from a file is to disable
existing loggers. Since some loggers are created before logging is set
up, these loggers were disabled if logging/config_file is set.

(cherry picked from commit cb0387c46d)

Conflicts:
	docs/changelog.rst
2014-08-11 13:00:01 +02:00
Trygve Aaberge
524043f6b7 docs: Use :confval:-syntax, add fixes for logging issue 2014-08-11 12:52:55 +02:00
Trygve Aaberge
cb0387c46d log: Don't disable loggers when loading fileConfig
The default when loading config for logging from a file is to disable
existing loggers. Since some loggers are created before logging is set
up, these loggers were disabled if logging/config_file is set.
2014-08-11 01:42:30 +02:00
Stein Magnus Jodal
e1fda35351 config: Only log existing config files 2014-08-07 11:36:25 +02:00
Stein Magnus Jodal
eadb7e3cdc Merge pull request #821 from schinken/remove-mopidy-lux
#818 Remove mopidy lux from documentation
2014-08-06 14:19:39 +02:00
schinken
06d7d650f8 #818 Remove mopidy lux from documentation 2014-08-06 14:06:44 +02:00
Stein Magnus Jodal
4c60c6b68c docs: Add note Debian package distro support (fixes #820)
(cherry picked from commit 9b7bcd37b3)
2014-08-06 00:03:09 +02:00
Stein Magnus Jodal
9b7bcd37b3 docs: Add note Debian package distro support (fixes #820) 2014-08-06 00:02:49 +02:00
Trygve Aaberge
19f96f7944 docs: Fix formatting
(cherry picked from commit 26cfd24e11)
2014-08-05 23:53:29 +02:00
Trygve Aaberge
73982f0455 docs: Add the mpd list command fix to the changelog
(cherry picked from commit 92fa75325d)

Conflicts:
	docs/changelog.rst
2014-08-05 23:53:14 +02:00
Trygve Aaberge
210e1705e7 mpd: Fix list commands with 3 arguments (fixes #817)
List commands with 3 arguments should return albums, not artists.

(cherry picked from commit ec413126f1)
2014-08-05 23:52:46 +02:00
Trygve Aaberge
c798257f00 mpd: Test that "list album foo" responds correctly
Previously, test_list_album_with_artist_name would only test that the
command didn't fail. Now it also checks that the response is correct.
That is, that the response contains albums.

This makes the test detect the error reported in #817.

(cherry picked from commit 9771eda230)
2014-08-05 23:52:40 +02:00
Trygve Aaberge
26cfd24e11 docs: Fix formatting 2014-08-05 19:50:06 +02:00
Trygve Aaberge
92fa75325d docs: Add the mpd list command fix to the changelog 2014-08-05 19:44:50 +02:00
Trygve Aaberge
ec413126f1 mpd: Fix list commands with 3 arguments (fixes #817)
List commands with 3 arguments should return albums, not artists.
2014-08-05 18:46:16 +02:00
Trygve Aaberge
9771eda230 mpd: Test that "list album foo" responds correctly
Previously, test_list_album_with_artist_name would only test that the
command didn't fail. Now it also checks that the response is correct.
That is, that the response contains albums.

This makes the test detect the error reported in #817.
2014-08-05 18:34:08 +02:00
Stein Magnus Jodal
9182278bc6 Merge pull request #814 from adamcik/feature/audio-actor-refactor
mopidy.audio.actor refactoring and cleanups
2014-08-04 00:46:47 +02:00
Thomas Adamcik
fd9100a5f3 audio: Annotate code with more TODOs and questions 2014-08-03 23:57:22 +02:00
Thomas Adamcik
6b88b4f685 audio: Group playbin teardown/setup
This makes it possible to see that we setup and teardown the same things. Also
fixes disconnect on a signal we no longer listen to.
2014-08-03 23:57:22 +02:00
Thomas Adamcik
b8a0ca59cd audio: Refactor softwaremixer and audio interactions
This rips the mixer bits and pieces that have been hiding in the audio actor to
it's own class. The software mixer now only knows about this and nothing else
from audio.
2014-08-03 23:57:22 +02:00