Commit Graph

1347 Commits

Author SHA1 Message Date
Alexandre Petitjean
c66e2a5b0f add some tests about optionnal integer and optionnal+choices string 2013-07-31 23:11:29 +02:00
Tobias Sauerwein
d1051e4f18 Removed unnecessary whitespaces. 2013-07-26 12:30:02 +02:00
Tobias Sauerwein
a372df8333 Scanner: Add disc number to album and track models (fixes #318) 2013-07-26 12:20:29 +02:00
Stein Magnus Jodal
579a93437f mpd: Allow full MPD queries to 'count'
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:48:11 +02:00
Stein Magnus Jodal
99eed0e6b8 mpd: Allow 'count' without quotes around the 'tag' param
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:22:45 +02:00
Stein Magnus Jodal
0a61b4642e Merge branch 'master' into develop
Conflicts:
	docs/changelog.rst
2013-07-01 11:53:45 +02:00
Stein Magnus Jodal
cb561519db Bump version number to 0.14.2 2013-07-01 11:50:06 +02:00
Stein Magnus Jodal
d6a1e13ed6 tests: Use utf-8 when encoding our test data paths to bytes 2013-06-27 00:25:25 +02:00
Stein Magnus Jodal
2ad1bb8bb3 config: Raise ValueError if Path is asked to serialize unicode
If we accept unicode and try to encode using sys.getfilesystemencoding() then
it may work most of the time, but will fail if we get non-ASCII chars in the
unicode string and the file system encoding is e.g. ANSI-something because the
locale is C. Thus, I figure it is better to always fail if we try to serialize
Path from unicode strings. Paths should be maintained as bytes all the time.
2013-06-27 00:08:05 +02:00
Thomas Adamcik
71618f840f scanner: Fixing review comments. 2013-05-22 20:36:39 +02:00
Thomas Adamcik
351589c6c8 path: Add find_uris version of find_files 2013-05-20 22:42:31 +02:00
Thomas Adamcik
c59f488b11 scanner: Pass in files to scan 2013-05-20 01:42:48 +02:00
Thomas Adamcik
802e6ad5ed scanner: Add last_modified to scanner data 2013-05-20 01:10:11 +02:00
Thomas Adamcik
855d03c81e local: start reading mtime from tag caches 2013-05-20 00:58:43 +02:00
Stein Magnus Jodal
94ab12b13c commands: Update override parsing tests 2013-04-30 23:42:53 +02:00
Stein Magnus Jodal
de84fdfef4 Remove hacks required by #302 to run on older Python 2.6.x 2013-04-29 19:52:29 +02:00
Stein Magnus Jodal
52ee456692 tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
Stein Magnus Jodal
2d80621b70 tests: Remove unittest2 2013-04-29 19:26:07 +02:00
Stein Magnus Jodal
a401ecb769 Bump version number to 0.14.1 2013-04-28 23:45:29 +02:00
Thomas Adamcik
64465d318d config: Ensure that overrides are bytes 2013-04-28 23:31:41 +02:00
Thomas Adamcik
9974f77f1b config: Serialize unicode to bytes using sys.getfilesystemencoding() 2013-04-28 23:31:41 +02:00
Stein Magnus Jodal
33378b81f6 Bump version number to 0.14 2013-04-28 01:33:35 +02:00
Thomas Adacmik
9fab339941 config: Add preliminary handling of parse errors 2013-04-28 00:25:28 +02:00
Thomas Adacmik
c5b036f988 config: Add test config with non-ascii 2013-04-28 00:05:36 +02:00
Thomas Adacmik
085b44e52f path: Update with respect to review comments in #427 2013-04-27 02:21:27 +02:00
Thomas Adamcik
a7b6ff7b18 path: Disallow unknown substitutions in expand_path 2013-04-25 22:39:07 +02:00
Thomas Adamcik
ac7edad86d config/path: Pass in expanded value in expanded path type 2013-04-25 22:39:06 +02:00
Thomas Adamcik
160a70e6df path: Only accept bytes as paths 2013-04-25 21:08:33 +02:00
Thomas Adamcik
2f8bc32c14 config: Remove ExtensionConfigSchema 2013-04-24 23:39:14 +02:00
Thomas Adamcik
b7232797ea config/ext: Accept unicode defaults 2013-04-24 23:31:39 +02:00
Stein Magnus Jodal
004fe6dbf8 path: Handle XDG paths as bytes, not unicode 2013-04-23 23:18:16 +02:00
Stein Magnus Jodal
48dfcf6fd1 deps: Survive exceptions from pkg_resources 2013-04-18 18:05:55 +02:00
Nick Steel
28b00dbea1 Merge branch 'develop' into fix/mpd-disambiguated-playlist-not-found 2013-04-17 21:00:58 +01:00
Thomas Adamcik
c84cb95c3f Merge pull request #418 from jodal/feature/show-deps
Update --show-deps to list deps of extensions
2013-04-16 14:33:11 -07:00
Stein Magnus Jodal
07e6d11850 deps: Remove old manual deps checkers 2013-04-16 22:48:30 +02:00
Stein Magnus Jodal
609b6ace85 deps: Look up deps in pkg_resources 2013-04-16 22:48:29 +02:00
Stein Magnus Jodal
5de80228ea deps: Output one dep per line 2013-04-16 22:48:29 +02:00
Thomas Adamcik
cde84748f7 config: Create config.format and switch to just serialize on schemas 2013-04-16 22:36:58 +02:00
Thomas Adamcik
d8f6886311 config: Set missing/invalid keys to none 2013-04-16 22:19:34 +02:00
Thomas Adamcik
f0131fdc93 config: Fix serialization of none 2013-04-16 21:37:55 +02:00
Thomas Adamcik
ee40f0385a config: Remove format from types API 2013-04-16 21:37:54 +02:00
Thomas Adamcik
211379a01c config: Unknown loglevels should serialize to blank string 2013-04-16 00:13:57 +02:00
Thomas Adamcik
78d3888dd1 config: Remove ConfigErrors expception 2013-04-15 23:09:19 +02:00
Thomas Adamcik
51f89017fe config: Fix handling of None in Secret 2013-04-15 21:16:19 +02:00
Thomas Adamcik
f5cd806dc5 config: Rename convert to deserialize 2013-04-15 21:16:19 +02:00
Thomas Adamcik
e4873c4516 config: Return convereted values and errors 2013-04-15 21:16:18 +02:00
Nick Steel
cecc0f621f Extra MPD stored_playlist tests for duplicate names 2013-04-14 23:18:53 +01:00
Thomas Adamcik
ee57eb58a3 config: Strict config value init kwargs, also adds Secret 2013-04-15 00:07:31 +02:00
Thomas Adamcik
4826dc7cac config: Support lists in required validator 2013-04-15 00:07:07 +02:00
Nick Steel
3d5894fa3b Define a uri for all playlists used in the MPD stored_playlists tests. 2013-04-14 23:03:19 +01:00