Commit Graph

283 Commits

Author SHA1 Message Date
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
a244761abc mpd: Replace / with | instead of whitespace in playlist names 2014-08-17 23:25:09 +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
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
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
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
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
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
Stein Magnus Jodal
e9822117e5 Merge branch 'master' into develop
Conflicts:
	docs/changelog.rst
2014-08-03 23:40:18 +02:00
Stein Magnus Jodal
87e22eb940 docs: Update changelog 2014-08-03 23:34:25 +02:00
Stein Magnus Jodal
9260ae23a7 Merge branch 'release/v0.19.x' into develop 2014-08-03 23:13:40 +02:00
Stein Magnus Jodal
837fb00fb7 Fail early if extension doesn't implement setup()
Fixes #813
2014-08-03 23:13:14 +02:00
Stein Magnus Jodal
58b8506c6a Merge branch 'release/v0.19.x' into develop 2014-08-03 15:19:42 +02:00
Stein Magnus Jodal
2d4b447d0a docs: Update changelog 2014-08-03 15:19:33 +02:00
Stein Magnus Jodal
ad40a5adb0 Merge branch 'release/v0.19.x' into develop 2014-07-30 00:32:53 +02:00
Thomas Adamcik
2b75819505 doc: Add changelog entry for jack sink fix
(cherry picked from commit 0440703abb)

Conflicts:
	docs/changelog.rst
2014-07-30 00:31:15 +02:00
Thomas Adamcik
0440703abb doc: Add changelog entry for jack sink fix 2014-07-29 23:47:23 +02:00
Stein Magnus Jodal
d9efb1f877 docs: Add v0.20 changelog 2014-07-29 23:34:21 +02:00
Stein Magnus Jodal
5daa95cae8 docs: Update changelog 2014-07-26 16:54:32 +02:00
Stein Magnus Jodal
f14519a86c docs: Update changelog wrt PR #795 2014-07-26 15:12:31 +02:00
Stein Magnus Jodal
1fc86574cb docs: Update changelog 2014-07-26 14:13:08 +02:00
Stein Magnus Jodal
5866260928 docs: Update changelog 2014-07-26 14:03:12 +02:00
Stein Magnus Jodal
e4b54426b4 audio: Set initial volume on software mixer
This must be set after the audio actor has injected itself into the software
mixer, else it will have no effect on the GStreamer software mixer.

Fixes #791
2014-07-25 12:35:01 +02:00
Stein Magnus Jodal
6ed8132f76 http: Allow WebSocket requests from other hosts
This makes Tornado 4.0 behavior consistent with previous Tornado versions.

Fixes #788
2014-07-25 10:52:39 +02:00
Stein Magnus Jodal
d7cbac5a44 docs: Update changelog 2014-07-23 18:13:14 +02:00
Stein Magnus Jodal
ae49c4d113 http: Add missing string interpolation placeholder 2014-07-23 17:35:55 +02:00
Stein Magnus Jodal
292cf8f32d Fix Mopidy version when run from another Git repo (related to #706) 2014-07-22 16:26:39 +02:00
Stein Magnus Jodal
0c10199632 http: Only require Tornado >= 2.3 2014-07-22 13:43:42 +02:00
Stein Magnus Jodal
8cbf41f9df docs: Prepare changelog for v0.19 2014-07-21 01:42:17 +02:00
Stein Magnus Jodal
a3185197e1 docs: Update changelog for PR#763 2014-07-20 12:33:19 +02:00
Stein Magnus Jodal
971d320f1f docs: Move mixer changes to v0.19 2014-07-16 22:35:47 +02:00
Stein Magnus Jodal
7e6d3de81a Merge branch 'develop' into feature/mixers
Conflicts:
	mopidy/backend/__init__.py
2014-07-16 22:12:07 +02:00
Stein Magnus Jodal
e36228a1cc docs: Add page for Mopidy-SoftwareMixer 2014-07-16 10:25:29 +02:00
Stein Magnus Jodal
dda06dd8de config: Add optional support to Boolean type 2014-07-15 00:33:30 +02:00
Stein Magnus Jodal
dd555ed828 docs: Fix typo 2014-07-14 23:10:52 +02:00
Stein Magnus Jodal
47b44791a6 log: Colorize logs, unless logging/color is false
Fixes #772
2014-07-14 01:40:48 +02:00
Stein Magnus Jodal
1f8512e07d docs: Update changelog with mixer changes 2014-07-08 01:56:57 +02:00
Stein Magnus Jodal
c513ff1aa5 docs: Add PR#762 to changelog 2014-06-24 22:47:25 +02:00
Stein Magnus Jodal
24f9a2ac3b js: Release v0.4.0 2014-06-24 00:44:47 +02:00
Thomas Adamcik
e4d4652c68 Merge pull request #759 from jodal/feature/web-client-selector
Add web client selector
2014-06-23 22:47:14 +02:00
Stein Magnus Jodal
f850bb8bbc docs: Update changelog 2014-06-22 09:58:45 +02:00
Stein Magnus Jodal
7cfab1eff5 docs: Add PR#755 to changelog 2014-06-22 09:50:14 +02:00
Stein Magnus Jodal
d42bb24e69 docs: Add PR#758 to changelog 2014-06-22 09:47:24 +02:00
Thomas Adamcik
e7d3837840 docs: Update changelog with MPD browse imporovements. 2014-06-21 14:14:49 +02:00
Stein Magnus Jodal
715e3e24c2 Merge pull request #747 from jodal/feature/friendly-no-local-library-help
local: Add friendly help if no local library cache found
2014-06-20 23:32:11 +02:00
Thomas Adamcik
12b8b5e304 docs: Add #741 fix 2014-06-20 23:21:17 +02:00
Stein Magnus Jodal
f824ded6ca docs: Add PR#752 to changelog 2014-06-20 22:43:25 +02:00
Stein Magnus Jodal
a84622e9b7 docs: Add PR#750 to changelog 2014-06-20 22:15:43 +02:00
Stein Magnus Jodal
d15c7d0797 js: Log warning if calling convention is not explicitly set 2014-06-20 11:16:46 +02:00
Stein Magnus Jodal
4919cae889 local: Add friendly help if no local library cache found
Fixes #711
2014-06-20 00:25:36 +02:00
Stein Magnus Jodal
5cff531173 docs: Changelog tweaks 2014-06-19 23:57:51 +02:00
Stein Magnus Jodal
56ad78c333 docs: Add more details on Mopidy.js calling convention 2014-06-19 23:57:35 +02:00
Stein Magnus Jodal
225f41f999 js: Add by-position-or-by-name calling convention
Fixes #699
2014-06-18 23:27:07 +02:00
Stein Magnus Jodal
30471bab74 js: Add ServerError and ConnectionError types 2014-06-15 23:43:43 +02:00
Stein Magnus Jodal
eec51a1e83 js: Upgrade to when.js 3 2014-06-15 12:14:14 +02:00
Stein Magnus Jodal
4562de5615 docs: Add references to new API docs 2014-05-20 21:11:30 +02:00
Stein Magnus Jodal
0a1654c901 docs: Add #689 to changelog 2014-05-20 20:36:33 +02:00
Stein Magnus Jodal
db0d726f3f config: Fix decoding of exception message depending on locale 2014-05-20 20:15:44 +02:00
Stein Magnus Jodal
dcba410d91 audio, local: Fix decoding of exception messages depending on locale 2014-05-20 19:55:12 +02:00
Stein Magnus Jodal
9e5b55dfa2 docs: Update changelog 2014-05-15 00:28:49 +02:00
Stein Magnus Jodal
2979de0f94 http: Polish Mopidy-HTTP Zeroconf service
Builds upon #725 to:

- Remove extra config for Mopidy-HTTP Zeroconf service
- Refactor Zeroconf setup code in the HTTP frontend a bit
- Add documentation
2014-05-06 23:20:14 +02:00
Stein Magnus Jodal
c7b3f4a978 local: Created needed dirs when scanning (fix #703) 2014-05-06 22:59:16 +02:00
Stein Magnus Jodal
5c8daad0ea docs: Update changelog 2014-05-06 22:33:11 +02:00
Stein Magnus Jodal
c267e0b740 docs: Update changelog 2014-03-02 09:04:45 +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
Thomas Adamcik
79ce2ab902 Merge branch 'develop' into feature/mpd-tokenized-requests
Conflicts:
	docs/changelog.rst
2014-02-16 23:22:07 +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
d18e1aafe4 docs: Update changelog for v0.18.2 2014-02-16 21:26:16 +01:00
Stein Magnus Jodal
61200b24f0 docs: Update changelog 2014-02-16 18:52:05 +01:00
Stein Magnus Jodal
f96eb1d4f7 docs: Update changelog 2014-02-07 20:31:36 +01:00
Stein Magnus Jodal
639d0c89c9 Merge branch 'release/0.18.2' into develop 2014-02-07 00:52:07 +01:00
Stein Magnus Jodal
78c75af4e5 docs: Update changelog and authors 2014-02-07 00:51:27 +01:00
Stein Magnus Jodal
65c4cb62e0 Update changelog for feature release 2014-02-06 23:29:04 +01:00
Stein Magnus Jodal
bdb1f0f264 Update changelog for bugfix release 2014-02-06 23:28:20 +01:00
Thomas Adamcik
40cadbfa26 Fix increasing of verbosity using loglevels config 2014-02-06 23:18:25 +01:00
Thomas Adamcik
4e89ce7c06 docs: Add changelog for MPD tokenizer 2014-01-31 00:51:33 +01:00
Stein Magnus Jodal
38d3c6ccf9 models: Make Playlist.last_modified milliseconds since Unix epoch 2014-01-28 23:57:02 +01:00
Thomas Adamcik
981c4e4b81 docs: Update changelog and authors 2014-01-24 19:35:26 +01:00
Thomas Adamcik
9cef7208c9 docs: Update changelog and author for windows fixes 2014-01-24 19:18:33 +01:00
Stein Magnus Jodal
f6de8c4c29 docs: Update changelog for v0.18.1 2014-01-23 23:21:35 +01:00
Stein Magnus Jodal
b4f17d692e docs: Update changelog 2014-01-23 22:53:10 +01:00
Stein Magnus Jodal
7ce38de351 ext: Disable extension if a dependency isn't of the correct version
Fixes #657
2014-01-21 14:48:43 +01:00