Commit Graph

1246 Commits

Author SHA1 Message Date
Thomas Adamcik
6f39bde566 config: Start passing dummy config explicitly to audio/backends/frontends. 2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
7d78d02d59 ext: Add both dist_name and ext_name to Extension class 2013-04-02 12:04:03 +02:00
Stein Magnus Jodal
12ff51ceba ext: Replace validate_config() with get_config_schema() 2013-04-02 11:34:33 +02:00
Thomas Adamcik
6c5ac28034 config: Update test names for consistency. 2013-04-01 23:40:05 +02:00
Thomas Adamcik
98269f4ed1 config: Add optional setting to config values and improve tests. 2013-04-01 23:24:42 +02:00
Thomas Adamcik
5283d1e2b2 main: Add ConfigError test. 2013-04-01 21:35:01 +02:00
Thomas Adamcik
50980723f8 Merge branch 'develop' into feature/config 2013-04-01 21:25:07 +02:00
Thomas Adamcik
3509ec4b37 config: Address review comments. 2013-04-01 21:21:59 +02:00
Thomas Adamcik
b4c553e201 config: Add LogLevelConfigSchema. 2013-04-01 20:33:22 +02:00
Thomas Adamcik
980792e527 config: Add ExtensionConfigSchema. 2013-04-01 20:23:34 +02:00
Stein Magnus Jodal
aa1f8199c2 Remove the FRONTENDS setting 2013-04-01 20:22:29 +02:00
Stein Magnus Jodal
74788a2ccb Remove the BACKENDS setting 2013-04-01 20:14:20 +02:00
Thomas Adamcik
0535084162 config: Add config schema and tests.
Config schemas are used to group config values and check that each of them is
deserialized corretly, that none are missing and that there are no unkown keys
present.
2013-04-01 20:14:04 +02:00
Stein Magnus Jodal
6345022cfc Move frontend/backend import into methods 2013-04-01 19:47:24 +02:00
Thomas Adamcik
66c067aa96 config: Add Hostname and Port ConfigValues and tests. 2013-04-01 14:21:44 +02:00
Thomas Adamcik
ab26072dff config: Switch to non context manager version of assertRaises 2013-04-01 14:16:02 +02:00
Thomas Adamcik
6af8b4b090 config: Add LogLevel ConfigValue and tests. 2013-04-01 14:02:28 +02:00
Thomas Adamcik
d46f926f14 config: Add List ConfigValue and tests. 2013-04-01 13:46:13 +02:00
Thomas Adamcik
452cf839c4 config: Add Boolean ConfigValue and tests. 2013-04-01 13:38:59 +02:00
Thomas Adamcik
21d0a938f9 config: Add Integer ConfigValue and tests. 2013-04-01 13:31:15 +02:00
Thomas Adamcik
7cb68a41ac config: Improve validate error messages and fix handling of non-string choices. 2013-04-01 13:29:32 +02:00
Thomas Adamcik
119644c186 config: Add String config value and tests. 2013-04-01 13:20:33 +02:00
Thomas Adamcik
c22f0f5f9d config: Add ConfigValue base class and tests. 2013-04-01 13:07:05 +02:00
Thomas Adamcik
ba425d8ccb config: Start adding basic validators + tests for new config values. 2013-04-01 13:07:05 +02:00
Stein Magnus Jodal
64b0cc7b98 ext: Support multiple frontends/backends in an extension 2013-04-01 11:30:07 +02:00
Stein Magnus Jodal
0ec989d2cb ext: Add ExtensionError exception class 2013-04-01 11:11:37 +02:00
Stein Magnus Jodal
059147723b tests: Test existing exception classes 2013-04-01 11:08:05 +02:00
Stein Magnus Jodal
f89f4151b0 ext: Add Extension base class 2013-04-01 11:02:02 +02:00
Stein Magnus Jodal
d0082111b1 Bump version number to 0.13.0 2013-03-31 16:52:37 +02:00
Thomas Adamcik
6283c6ee9b Merge pull request #363 from jodal/feature/expose-uri-schemes-to-http-clients
Expose uri schemes to http clients
2013-03-31 03:55:59 -07:00
Stein Magnus Jodal
06c7d8ea46 Merge branch 'develop' into feature/limit-search-by-uri-root
Conflicts:
	docs/changes.rst
2013-03-31 12:45:31 +02:00
Stein Magnus Jodal
bfd2010639 core: Let tracklist.add() lookup tracks by URI 2013-03-31 00:13:59 +01:00
Stein Magnus Jodal
2abce2af38 core: Limit search to backends matching URI roots
Fixes #337
2013-03-30 22:20:19 +01:00
Stein Magnus Jodal
1704828504 backends: Make search/find_exact take a query dict instead of kwargs 2013-03-30 22:14:33 +01:00
Stein Magnus Jodal
e6460b6945 jsonrpc: Handle Pykka's CallableProxy objects as regular methods 2013-03-30 21:01:01 +01:00
Zan Dobersek
b2657566f4 Update the song1.ogg file
Provide the Ogg file that matches the MP3 file (i.e. the file from which it was
converted) in duration, specifically 4680 milliseconds.
(cherry picked from commit e42c359821c410f10251ead492659a1f9563d2d7)
2013-03-30 01:55:53 +01:00
Zan Dobersek
7c115076b0 Add test coverage for scanning of Ogg files
Provide a song1.ogg audio file, converted from the tests/data/scanner/simple/song1.mp3
file, and perform the same test checks on its scanned data that are performed for
song1.mp3. The expected results are the same except for a small difference in the
reported duration.
(cherry picked from commit 61aa28f8a562f0b0722e2b3414677da82588fdb8)
2013-03-30 01:55:33 +01:00
Stein Magnus Jodal
49c8062ba6 mpris: Add discNumber support 2013-03-23 20:58:22 +01:00
Stein Magnus Jodal
50cce23d82 mpris: Add artUrl support 2013-03-23 20:46:43 +01:00
Stein Magnus Jodal
c45db5388a tests: Use audio instancee, not module 2013-03-19 23:49:46 +01:00
Stein Magnus Jodal
02b845bd4b Revert "Merge pull request #231 from adamcik/feature/end-of-track"
This reverts commit 1cf9826f87, reversing
changes made to 711dbe8738.
2013-03-19 23:23:14 +01:00
Stein Magnus Jodal
71e25e751d Merge branch 'master' into develop
Conflicts:
	docs/changes.rst
	mopidy/audio/utils.py
	mopidy/backends/stream/actor.py
	tests/backends/base/events.py
2013-03-12 21:09:14 +01:00
Stein Magnus Jodal
0318e6e47c Bump version number to 0.12.0 2013-03-12 21:03:48 +01:00
Thomas Adamcik
692bcae8e4 core: Update tests with cases for filtering out None results. 2013-03-12 20:23:39 +01:00
Thomas Adamcik
1abab8c907 tests: Pass audio actor proxy to backends not audio module 2013-03-12 20:23:08 +01:00
Stein Magnus Jodal
d3e41dc5e2 tests: Add better error message to debug test failure 2013-03-12 20:09:31 +01:00
Stein Magnus Jodal
a36c94fcba Fix one more kwargs dict (#302) 2013-03-12 20:09:21 +01:00
Stein Magnus Jodal
e0f220921e models: Support serialization of lists of strings 2013-03-12 20:09:05 +01:00
Stein Magnus Jodal
d2a51f7128 models: Add Album.num_discs (#286) 2013-03-12 20:08:52 +01:00
Stein Magnus Jodal
f3ccf871e5 models: Add Track.disc_no (#286) 2013-03-12 20:08:44 +01:00