Commit Graph

5732 Commits

Author SHA1 Message Date
Thomas Adamcik
d049b07fa9 Merge branch 'develop' into feature/audio-message-handler 2014-09-07 21:38:19 +02:00
Thomas Adamcik
e744a6da87 audio: Resolve review comments 2014-09-07 21:38:13 +02:00
Thomas Adamcik
c129cd4b24 audio: s/Triggering/Audio event/ 2014-09-07 21:36:31 +02:00
Stein Magnus Jodal
12ae25d438 Merge branch 'release/v0.19.x' into develop 2014-09-07 10:59:43 +02:00
Stein Magnus Jodal
b269694f80 docs: Rewrite 'getting help' section
(cherry picked from commit 13c92dae65)
2014-09-07 10:59:05 +02:00
Stein Magnus Jodal
b11ea225d8 docs: Add Discuss link to readme
(cherry picked from commit 61e724eb0e)
2014-09-07 10:58:56 +02:00
Stein Magnus Jodal
333da5befd docs: Fix syntax error
(cherry picked from commit cf5660e8e5)
2014-09-07 10:58:44 +02:00
Stein Magnus Jodal
13c92dae65 docs: Rewrite 'getting help' section 2014-09-06 23:40:29 +02:00
Stein Magnus Jodal
61e724eb0e docs: Add Discuss link to readme 2014-09-06 23:40:20 +02:00
Stein Magnus Jodal
cf5660e8e5 docs: Fix syntax error 2014-09-04 23:35:02 +02:00
Stein Magnus Jodal
d41deb1844 Merge branch 'release/v0.19.x' into develop
Conflicts:
	docs/changelog.rst
2014-09-01 23:17:00 +02:00
Stein Magnus Jodal
f93a1c2f0b Release v0.19.4 2014-09-01 23:15:12 +02:00
Stein Magnus Jodal
e1ab70e1e9 Bump version to 0.19.4 2014-09-01 23:08:59 +02:00
Stein Magnus Jodal
ca44ff3947 docs: Update changelog 2014-09-01 23:07:44 +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
950cbb00cc docs: Add sponsors page
(cherry picked from commit b40409141f)
2014-08-22 00:09:50 +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
schinken
f0f5e65a9a #818 Remove mopidy lux from documentation
(cherry picked from commit 06d7d650f8)
(cherry picked from commit c230a0f64c)
2014-08-19 08:21:21 +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
Thomas Adamcik
ac5bf9af17 audio: Move most of event handling out of audio.
Some of the signal handling still needs to be moved.
2014-08-11 22:33:49 +02:00
Thomas Adamcik
101b2a9817 audio: Make stream-changed correctly handle tee setup
For the purposes of this event we consider the outputs sink the final element.
If we don't do this we would get one event per branch, and we don't want to
track when each of them actually switches any way. So just tracking when the
tee/outputs bin gets the event is good enough for us.

As part of this I've also added 'testoutput' as a special cased output value.
This is now needed as outputs are always synced to the clock, making testing
a lot less practical.
2014-08-11 22:33:49 +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