Commit Graph

4150 Commits

Author SHA1 Message Date
Stein Magnus Jodal
9da571d272 mpd: Tweak docstring, add PR#1213 to changelog 2015-07-08 12:59:13 +02:00
Stein Magnus Jodal
db1f50414e Merge pull request #1213 from fatg3erman/feature/update-mpd-to-0.19
mpd: Concatenate multiple artist names, etc using ";" instead of multiple lines

This is a part of updating the MPD protocol version to 0.19
2015-07-08 12:55:45 +02:00
Mark Greenwood
f3f140c19f mpd:Update protocol to 0.19
Address issues raised in review:
Fix formatting by shortening function name to concat_multi_values
Change comments and variable names to reflect generic nature of function
Fix typos in tests
Default to single quotes for strings
2015-07-06 09:26:52 +01:00
Stein Magnus Jodal
dc7c787e47 docs: Add versionadded to httpclient functions 2015-07-05 18:14:34 +02:00
Mark Greenwood
1e46e9a94d mpd:Update protocol version to 0.19
Since mpd 0.19, it has concatenated multiple values using
a ';' character. Mopidy has been using ', '. This makes mopidy
use a ';' for all artist-related values.

In mpd 0.18, multiple values were displayed as multiple lines in
the output, hence this change bumps the mpd protocol version to
0.19 to reflect the new behaviour.
2015-07-05 13:17:39 +01:00
Stein Magnus Jodal
3b1b0dd2e9 Merge branch 'v1.0.x' into develop 2015-06-26 12:48:03 +02:00
Stein Magnus Jodal
bc2f56d0bf Bump version to 1.0.7 2015-06-26 00:34:59 +02:00
Stein Magnus Jodal
c4e930a17b mpd: Fix 'title' to 'track' and back conversion in list cmd
(cherry picked from commit 0d032a25fa)
2015-06-25 23:18:00 +02:00
Stein Magnus Jodal
0d032a25fa mpd: Fix 'title' to 'track' and back conversion in list cmd 2015-06-25 23:16:45 +02:00
Stein Magnus Jodal
5cc019afa2 validation: Add 'track' as accepted distinct field 2015-06-25 23:15:59 +02:00
Stein Magnus Jodal
749c8baceb Merge branch 'v1.0.x' into develop
Conflicts:
	mopidy/core/library.py
	tests/core/test_playback.py
2015-06-25 23:15:35 +02:00
Stein Magnus Jodal
f60ffdf336 Bump version to 1.0.6 2015-06-25 22:26:12 +02:00
Thomas Adamcik
9d087ff94d Merge branch 'v1.0.x' of github.com:mopidy/mopidy into v1.0.x
Conflicts:
	docs/changelog.rst
2015-06-24 22:12:09 +02:00
Nick Steel
c273718e5c Docs: URI field docstring typo 2015-06-04 13:17:18 +01:00
Naglis Jonaitis
feb9963a8e mpd: Ignore tracks without length in the "count" command 2015-05-28 01:40:38 +03:00
Thomas Adamcik
1d636ce59e core: Make sure track gets changed while paused 2015-05-20 23:26:55 +02:00
Thomas Adamcik
2b3e976bc9 core: Update title distinct name to track 2015-05-20 23:14:46 +02:00
Thomas Adamcik
31509ea568 core/mpd/local: Add title to get_distinct field types 2015-05-19 22:37:35 +02:00
Stein Magnus Jodal
10b0796bbd Merge branch 'v1.0.x' into develop 2015-05-19 22:08:56 +02:00
Stein Magnus Jodal
b0a776114d Bump version to 1.0.5 2015-05-19 22:05:20 +02:00
Thomas Adamcik
8c7b3c69fb core: Assume backend.has_* calls could fail 2015-05-12 23:55:09 +02:00
Thomas Adamcik
399124bf46 startup: Handle frontend and backend failures 2015-05-12 23:55:09 +02:00
Thomas Adamcik
cb4b23f416 startup: Handle potential mixer startup issues. 2015-05-12 23:55:09 +02:00
Thomas Adamcik
2d952570d0 main: Catch extension.setup exceptions 2015-05-12 23:55:09 +02:00
Stein Magnus Jodal
ad449a879d Merge pull request #1178 from adamcik/feature/robust-startup-part1
Make initial bootstrapping handle bad extensions
2015-05-12 23:43:11 +02:00
Thomas Adamcik
ce3c16de6e startup: Fix mistake in command extension bootstrap cleanup 2015-05-12 22:02:19 +02:00
Thomas Adamcik
dbc3100e9c main: Update to use extension_data structure
Updated config and __main__ code to use the new wrapper format and pre-fetched
values.
2015-05-11 22:47:13 +02:00
Thomas Adamcik
8b6553ec16 ext: Update validate_extension to validate_extension_data
Adds more checks to catch extension errors and importantly tests for exercise
these code paths.
2015-05-11 22:30:50 +02:00
Thomas Adamcik
4566ddd9ae ext: Add exception logging to extension loading 2015-05-11 21:29:03 +02:00
Thomas Adamcik
8ed9e5f1e0 ext: Catch exceptions in extension helpers 2015-05-11 21:20:37 +02:00
Stein Magnus Jodal
d302851ebe httpclient: Tune docstrings 2015-05-11 09:53:31 +02:00
Thomas Adamcik
5550785146 ext: Wrap extension state in a ExtensionData tuple
This allows us to do more of the data loading that might fail safely in the
mopidy.ext module instead of having things spread all over the place.

Note that only minimal changes have been made to __main__ to make things work.
Further refactoring should follow.
2015-05-11 00:33:41 +02:00
Thomas Adamcik
5937cdc3b2 ext: Add tests for validate_extension and handle validate_environment failures 2015-05-10 23:15:13 +02:00
Thomas Adamcik
c4e18f4218 ext: Add ext.load_extensions tests and basic error handling 2015-05-10 23:00:13 +02:00
Thomas Kemmer
ea5dff109e m3u: Fix encoding error when saving playlists with non-ASCII track titles. 2015-05-10 20:57:39 +02:00
Thomas Adamcik
f6f445e4b6 Merge branch 'develop' into feature/http-helpers
Conflicts:
	docs/changelog.rst
2015-05-09 00:45:09 +02:00
Thomas Adamcik
382aa0a775 httpclient: Move to top level module 2015-05-09 00:44:16 +02:00
Stein Magnus Jodal
64b5342c51 docs: Document mopidy.local.translator 2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
c59784c1e8 local: Add path_to_file_uri() 2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
4d5b485760 local: Add local_uri_to_file_uri()
Which replaces local_track_uri_to_file_uri() and also handles
local:directory: URIs.
2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
e30cd2cfa5 local: Rename local_{track_ => }uri_to_file_uri() 2015-05-08 00:32:09 +02:00
Stein Magnus Jodal
d8bcd7f273 Rename mopidy.utils to mopidy.internal 2015-05-07 23:15:56 +02:00
Thomas Adamcik
af4e7c8a4e Merge branch 'develop' into feature/core-dont-trust-backends
Conflicts:
	docs/changelog.rst
2015-05-07 00:15:33 +02:00
Thomas Adamcik
29c66f7bc8 core: Correct volume/mute return values 2015-05-07 00:13:58 +02:00
Thomas Adamcik
4d608dd431 core: Add get_current_tlid shortcut 2015-05-06 23:00:53 +02:00
Thomas Adamcik
cfd4dcb8dd Merge branch 'develop' into feature/core-dont-trust-backends
Note that this merge also updated core.playlists.create to combine the 1.0.5
fix with these changes.

Conflicts:
	mopidy/core/playlists.py
2015-05-06 22:44:12 +02:00
Thomas Adamcik
c01f8679bc core: Address review comments for do not trust backends PR 2015-05-06 22:34:44 +02:00
Stein Magnus Jodal
a17c413a70 Merge branch v1.0.x into develop 2015-05-06 20:47:52 +02:00
Thomas Kemmer
636639a201 Fix #1162: Ignore None results and exceptions from PlaylistsProvider.create(). 2015-05-06 14:50:21 +02:00
Thomas Adamcik
e7b241e18b core: Update playlists to handle bad data from backends and exceptions 2015-05-06 00:28:58 +02:00