Commit Graph

232 Commits

Author SHA1 Message Date
Stein Magnus Jodal
c6ff9eee86 playback: Remove skipped track on next in consume mode
Also adds core level tests of consume behavior on next/prev/eot.

Fixes #902
2014-12-24 00:04:41 +01:00
Stein Magnus Jodal
302bb7c221 ext: Fix unpacking of VersionConflict exception
Fixes #911
2014-12-23 22:58:19 +01:00
Stein Magnus Jodal
fcf39833ca config: Support UTF-8 in default config
Fixes issue reported at https://discuss.mopidy.com/t/428.

Mopidy-HTTP-Kuechenradio includes a non-ASCII UTF-8 character in its
default config. If Mopidy didn't already have a config file, it crashed
when trying to create the initial config file based on the default
config of all available extensions.
2014-12-23 22:21:10 +01:00
Thomas Adamcik
94bdb88b9c http: Log errors instead of dying for HTTP startup.
(cherry picked from commit 9a2f8a3e4f)

Conflicts:
	docs/changelog.rst
2014-12-21 23:46:35 +01:00
Stein Magnus Jodal
188c9ef26f docs: Update changelog 2014-12-16 23:34:00 +01:00
Stein Magnus Jodal
c070c1c0b5 docs: Update changelog 2014-11-04 21:27:59 +01:00
Stein Magnus Jodal
680dbffc0c models: Make all fields default to None or empty collection
(cherry picked from commit abed15b9e4)
2014-11-04 21:27:29 +01:00
Stein Magnus Jodal
a4b17a9aa8 models: Fix equality for fields set to the default
Fixes #837

(cherry picked from commit bdd1fb983b)
2014-11-04 20:17:20 +01:00
Stein Magnus Jodal
88d64044de models: Hide empty lists from repr()
(cherry picked from commit 305a76486d)

Conflicts:
	docs/changelog.rst
2014-11-04 20:17:13 +01: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
ca44ff3947 docs: Update changelog 2014-09-01 23:07:44 +02:00
Stein Magnus Jodal
83e779eaaf http: Guard against double close of WebSocket 2014-08-30 00:25:43 +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
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
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
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
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
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
Stein Magnus Jodal
87e22eb940 docs: Update changelog 2014-08-03 23:34:25 +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
2d4b447d0a docs: Update changelog 2014-08-03 15:19:33 +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
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