Javier Domingo Cansino
11d82056a9
core: Merged tracklist_position to index inside TracklistController
...
docs: Updated changelog.rst
2013-08-09 09:15:54 +02:00
Stein Magnus Jodal
5c7a496dc2
Fix flake8 warnings
2013-08-08 21:09:01 +02:00
Javier Domingo Cansino
782a6a7d1f
Renamed tl_track_at_* to more readable names
2013-08-08 17:01:24 +02:00
Javier Domingo Cansino
694db515e4
Merge branch 'develop' into tidy-up-core
2013-08-08 13:19:01 +02:00
Javier Domingo Cansino
6e61f2ef85
Refactoring code to convert tl_track_at_previous() in a function, also recoded
...
tests.
2013-08-07 21:53:46 +02:00
Javier Domingo Cansino
6abcad3e55
Converting tl_track_at_next into a function that takes the track argument.
...
Rewrote tests too.
2013-08-07 21:38:16 +02:00
Javier Domingo Cansino
68ea483c7b
Converted tracklist_position() to be called with the track one wants to have information of,
...
/mopidy/frontends/mpd/protocol/status.py@189 should be checked for gathering a value before
the rest.
2013-08-07 17:50:22 +02:00
Javier Domingo Cansino
4db3999371
Cleanup of PlaybackController to be more specific on the current track and
...
moved those functions to TracklistController, which may control all related
to the tracks. Updated tests too.
2013-08-07 10:44:22 +02:00
Tobias Sauerwein
0a32d89bab
Add test case for scanning empty wav files.
2013-08-06 17:32:53 +02:00
Stein Magnus Jodal
091f8ffdf0
Merge pull request #486 from alzeih/develop
...
Strip invalid characters from playlist names sent through MPD frontend
Fix #474
Fix #480
2013-08-06 03:52:21 -07:00
alzeih
333f1c0dbf
Move tests to *protocol*/stored_playlists_test.py
2013-08-06 22:22:18 +12:00
alzeih
7182f98843
cleanup tests and code
...
- move tests to tests/frontends/mpd/stored_playlists_test.py
stored_playlists_test.py:
- rename test methods names to remove _config
- remove unnecessary imports, setup, teardown, variables
- sort remaining imports
mopidy/frontends/mpd/dispatcher.py:
- remove regex comment
2013-08-06 21:14:23 +12:00
Stein Magnus Jodal
80d122ff92
Merge branch 'develop' of github.com:mopidy/mopidy into develop
...
Conflicts:
docs/changelog.rst
2013-08-05 23:33:08 +02:00
Stein Magnus Jodal
7973acf076
Merge branch 'feature/scanner_fix_deadlock' into develop
...
Fixes #476 , #483
2013-08-05 23:31:27 +02:00
Thomas Adamcik
0ce791f215
Merge branch 'develop' into feature/local-uris
2013-08-05 22:41:37 +02:00
Stein Magnus Jodal
f0b69c3394
Merge remote-tracking branch 'adamcik/feature/visualization' into develop
...
Conflicts:
docs/changelog.rst
2013-08-05 22:41:09 +02:00
alzeih
3f1192e95b
Match MPD implementation and add tests
2013-08-02 13:38:52 +12:00
AlexandreP2101
da86015a2b
Correct typo
2013-08-01 08:47:22 +02:00
Thomas Adamcik
a4d2f28ade
audio: Fix tests with respect to visualizer support
2013-08-01 01:09:01 +02:00
Tobias Sauerwein
3c6a0543f5
Scanner: Fix deadlock on incorrectly identified files
2013-07-31 23:52:24 +02:00
Alexandre Petitjean
c66e2a5b0f
add some tests about optionnal integer and optionnal+choices string
2013-07-31 23:11:29 +02:00
Thomas Adamcik
6ac62c6869
local: Review fixes.
2013-07-30 22:59:22 +02:00
Thomas Adamcik
18ed7c6279
local: Convert mopidy-local extension to local: uris.
...
- Use local:playlist:<name>, local:track:<path> and local:search uris
- Adds LocalPlaybackProvider which translates to file uris.
- Switches to storing actual uris in playlists - so local: urls and not
file:// or plain paths.
- Moved file:// to streaming plugin
- Cleaned up tests and imports for these changes.
2013-07-30 00:40:12 +02:00
Thomas Adamcik
6818e20218
utils: Convert path_to_uri to single argument
2013-07-30 00:23:23 +02:00
Thomas Adamcik
af707dfdbb
utils: Switch to urlparse for file-uri/path handling
2013-07-30 00:23:23 +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
Thomas Adamcik
805733a2aa
config: Make tests discoverable and fix broken ones
2013-04-14 23:52:39 +02:00
Thomas Adamcik
d5b8f2ab02
config: Make List use proper encode/decode helpers
2013-04-14 17:50:16 +02:00
Thomas Adamcik
7ed9b8adab
config: Extract encode and decode helpers from String
2013-04-14 17:34:54 +02:00
Thomas Adamcik
9f18d50ab0
config: Fix escapes in string handling
2013-04-14 17:16:17 +02:00
Thomas Adamcik
6b89051b5e
config: Add encoding support to strings
2013-04-14 16:15:58 +02:00
Stein Magnus Jodal
65f14a9cc4
exc: Remove OptionalDependencyError
...
It is no longer needed as the extension loading mechanisms verifies the
environment and presence of dependencies before it tries to import modules that
would cause ImportErrors if optional dependencies are missing.
2013-04-14 11:26:16 +02:00
Stein Magnus Jodal
809b165966
exc: Remove unused SettingsError
2013-04-14 11:06:45 +02:00
Stein Magnus Jodal
f38b806133
utils: Remove unused importing utils
2013-04-14 10:54:26 +02:00
Thomas Adamcik
943a3097a9
config: Update validate to use schema.name
2013-04-13 22:37:22 +02:00
Thomas Adamcik
6e42a381cd
config: Add name to schemas
2013-04-13 21:46:15 +02:00
Thomas Adamcik
63003abb2e
config: Flake8 fixes
2013-04-13 20:40:13 +02:00
Thomas Adamcik
1ebc265235
Merge branch 'develop' into feature/reshuffle-config
...
Conflicts:
mopidy/backends/local/__init__.py
mopidy/backends/spotify/__init__.py
mopidy/backends/stream/__init__.py
mopidy/config.py
mopidy/frontends/http/__init__.py
mopidy/frontends/mpd/__init__.py
mopidy/frontends/mpris/__init__.py
mopidy/frontends/scrobbler/__init__.py
mopidy/utils/config.py
tests/config/types_test.py
2013-04-13 01:25:38 +02:00
Thomas Adamcik
067cc4c112
config: Add basic validate tests
2013-04-13 01:18:26 +02:00
Thomas Adamcik
c5f8e1da19
config: Add parse_override test
2013-04-13 00:53:19 +02:00
Thomas Adamcik
51afbe19e1
config: Start adding basic data loading test
2013-04-13 00:47:50 +02:00
Stein Magnus Jodal
6076a0f117
Fix flake8 warnings
2013-04-13 00:28:45 +02:00
Thomas Adamcik
66be2dc551
config: Rename mopidy.config.values to types
2013-04-11 23:30:29 +02:00
Thomas Adamcik
a5f2dc924c
config: Review fixes
2013-04-11 22:26:22 +02:00
Thomas Adamcik
d90a977a3b
config: Move everything to mopidy.config sub-modules
2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
3033b1db5f
Merge branch 'develop' into pr/396
...
Conflicts:
mopidy/frontends/mpd/dispatcher.py
2013-04-09 23:37:17 +02:00
Stein Magnus Jodal
016b2db69b
mpd: Start numbering of duplicate playlist names at 2
2013-04-09 23:35:00 +02:00
Stein Magnus Jodal
24271681c9
mpd: Fix flake8 warnings
2013-04-09 23:33:19 +02:00
Thomas Refis
5af26a226e
mpd: added a test to check playlists names uniqueness
2013-04-09 19:25:52 +02:00
Stein Magnus Jodal
02f9db4518
path: Let get_or_create_file() create missing dirs
2013-04-09 12:40:28 +02:00
Stein Magnus Jodal
40dd539d06
path: Test get_or_create_file()
2013-04-09 12:38:47 +02:00
Stein Magnus Jodal
41d7ae9a2c
Replace 'folder' with 'dir'
2013-04-08 21:13:59 +02:00
Stein Magnus Jodal
f9ed1ba4d3
mpd: Rename 'music_path' to 'music_dir'
2013-04-08 20:58:34 +02:00
Stein Magnus Jodal
3339b79c1e
local: Rename 'music_path' to 'music_dir', 'playlist_path' to 'playlists_dir'
2013-04-08 20:58:17 +02:00
Stein Magnus Jodal
638ea8cd27
Merge branch 'develop' into feature/use-new-config
2013-04-08 09:59:36 +02:00
Thomas Adamcik
28d3b265c2
Merge branch 'develop' into feature/config-path
...
Conflicts:
mopidy/backends/spotify/__init__.py
2013-04-07 22:02:32 +00:00
Thomas Adamcik
4f0e1e448c
config: Add path config value tests
2013-04-07 22:01:34 +00:00
Stein Magnus Jodal
63b7260c01
settings: Remove settings utils
2013-04-07 00:41:09 +02:00
Stein Magnus Jodal
e92a7628f2
settings: Remove SettingsProxy at mopidy.settings
2013-04-07 00:36:41 +02:00
Stein Magnus Jodal
42707f50df
audio: Use new config system
2013-04-07 00:08:40 +02:00
Stein Magnus Jodal
1ca6ffc6fb
mpd: Fix two test failures
2013-04-06 23:47:03 +02:00
Stein Magnus Jodal
81b1e10c1a
Merge branch 'develop' into feature/use-new-config
...
Conflicts:
mopidy/frontends/scrobbler/actor.py
2013-04-06 01:50:15 +02:00
Thomas Adamcik
5a79b65d47
settings: Remove did you mean.
2013-04-05 23:33:27 +02:00
Thomas Adamcik
bd3d8f6932
config: Steal did you mean code from settings.
2013-04-05 23:33:27 +02:00
Stein Magnus Jodal
c452f0115a
mpd: Use new config system
2013-04-05 17:18:12 +02:00
Stein Magnus Jodal
8a8a78e025
http: Use new config system
2013-04-05 16:59:18 +02:00
Stein Magnus Jodal
bcc7c3a890
mpris: Use new config system
2013-04-05 16:59:18 +02:00
Stein Magnus Jodal
775b276169
local: Use new config system
2013-04-05 16:59:18 +02:00
Thomas Adamcik
73fb143f45
config: String escape strings
2013-04-03 01:00:34 +02:00
Stein Magnus Jodal
f9fb30c76c
main/settings: Remove --interactive support
2013-04-03 00:16:37 +02:00
Stein Magnus Jodal
6c4ec7e0c2
main: Remove support for --gst-* and --help-gst
...
Use GStreamer's environment variables instead, e.g. GST_DEBUG=3.
2013-04-03 00:14:05 +02:00
Thomas Adamcik
0d30db7e5f
config: More review fixes and fixed help test.
2013-04-02 23:32:36 +02:00
Thomas Adamcik
e226ddd652
config/ext: Remove ext. prefix from configs.
2013-04-02 22:12:00 +02:00
Thomas Adamcik
3b8fe2fd9f
config: Remove old list settings and mask secret code.
2013-04-02 19:37:51 +02:00
Thomas Adamcik
77cdb5b065
config: Add config based list_settings_callback
2013-04-02 19:33:26 +02:00
Thomas Adamcik
29a4ff040e
config: Make list return tuples so we get imuttable data.
2013-04-02 19:19:24 +02:00
Thomas Adamcik
dcd0d7e813
ext: Rename ext_name to name and provide ext_name property that gives ext.$name
2013-04-02 19:16:49 +02:00
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
Stein Magnus Jodal
bb9ef63a42
models: Add Album.images field ( #263 )
2013-03-12 20:08:24 +01:00
Stein Magnus Jodal
04b24b4a37
core: Add 'include_tracks' argument to 'get_playlists()'
...
Conflicts:
docs/changes.rst
2013-03-12 20:07:11 +01:00
Stein Magnus Jodal
9749f66972
Use bytestrings for the keys of **kwargs dicts
...
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302 .
2013-03-12 20:01:27 +01:00
Stein Magnus Jodal
804a945e42
tests: Use DummyAudio instead of mocks
2013-02-24 22:29:04 +01:00
Thomas Adamcik
63df51ac73
tests: Pass audio actor proxy to backends not audio module
2013-01-08 23:20:41 +01:00
Stein Magnus Jodal
c0c67e4835
tests: Add better error message to debug test failure
2013-01-07 21:51:11 +01:00
Stein Magnus Jodal
19f4ea8889
Fix one more kwargs dict ( #302 )
2013-01-07 21:50:40 +01:00
Thomas Adamcik
30412e93b6
Merge pull request #315 from jodal/feature/num-discs-and-disc-no
...
Add Album.num_discs and Track.disc_no
2013-01-07 11:24:54 -08:00
Stein Magnus Jodal
af10e642f2
models: Support serialization of lists of strings
2013-01-06 22:37:37 +01:00
Stein Magnus Jodal
1a0842117f
models: Add Album.num_discs ( #286 )
2013-01-06 22:07:06 +01:00
Stein Magnus Jodal
99593fd357
models: Add Track.disc_no ( #286 )
2013-01-06 22:07:06 +01:00
Stein Magnus Jodal
6599094b1e
models: Add Album.images field ( #263 )
2013-01-06 21:43:52 +01:00
Stein Magnus Jodal
2eb9ad710a
core: Add 'include_tracks' argument to 'get_playlists()'
2013-01-06 21:04:27 +01:00
Thomas Adamcik
3857eaa840
core: Unbreak end of track related tests.
...
We should only be hooking up end of track when an audio instance is passed in.
Additionally the tracklist tests where wrongly sending in the audio module
instead of the mock audio.Audio instance.
2013-01-05 23:32:35 +01:00
Thomas Adamcik
0d7b7e29a3
audio: Remove test for error handling that no longer happens.
2013-01-05 21:35:41 +01:00
Thomas Adamcik
6d1f84ad3c
Merge branch 'develop' into feature/end-of-track
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2013-01-05 18:47:16 +01:00
Stein Magnus Jodal
928034222a
Merge branch 'master' into develop
...
Conflicts:
docs/changes.rst
2013-01-03 23:55:00 +01:00
Thomas Adamcik
b78d5eddac
Merge branch 'develop' into feature/end-of-track
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2013-01-03 16:12:09 +01:00
Stein Magnus Jodal
d34ba24cfe
Use bytestrings for the keys of **kwargs dicts
...
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302 .
2013-01-03 10:04:05 +01:00
Thomas Adamcik
f1bd092e63
core: Update tests with cases for filtering out None results.
2013-01-01 17:31:06 +01:00
Thomas Adamcik
4f11ac77ae
settings: Update settings validator to support empty iterables.
2013-01-01 17:30:24 +01:00
Stein Magnus Jodal
c37ce8751e
Release v0.11.1
2012-12-24 20:23:51 +01:00
Stein Magnus Jodal
f0ba9dd31c
Bump version number to 0.11.0
2012-12-24 10:48:29 +01:00
Stein Magnus Jodal
a1cfc74d29
Merge branch 'develop' into feature/mpd-album-artist-search-results
...
Conflicts:
docs/changes.rst
2012-12-23 18:49:51 +01:00
Stein Magnus Jodal
58cbbe8cb3
Merge pull request #287 from jodal/feature/search-result-model
...
Add SearchResult model
2012-12-23 09:47:11 -08:00
Stein Magnus Jodal
5d707e3918
settings: Fail if BACKENDS/FRONTENDS setting isn't iterable ( fixes #278 )
2012-12-23 15:42:49 +01:00
Stein Magnus Jodal
ce318316a3
mpd: Don't restart current track before seek
2012-12-23 12:20:34 +01:00
Stein Magnus Jodal
54662479ef
mpd: Limit use of fake tracks in 'find` responses
...
If searching for exact artist, don't include fake artist tracks.
If searching for exact album, don't include fake album tracks.
This makes sure that ncmpcpp's media library doesn't include the magic
artist-track in an artist's album listing, and that it doesn't include the
magic album-track in an album's track listing.
2012-12-22 12:49:27 +01:00
Stein Magnus Jodal
04be75ed97
mpd: Add album date to 'fake' tracks
2012-12-22 02:12:07 +01:00
Stein Magnus Jodal
4f4754c573
mpd: Test 'list' response content
2012-12-22 01:40:51 +01:00
Stein Magnus Jodal
455f0145e7
mpd: Include artists and albums in search results
2012-12-21 23:10:20 +01:00
Stein Magnus Jodal
b0ba2040df
Return SearchResult objects from find_exact() and search()
...
This applies to both backends and core.
2012-12-21 22:05:20 +01:00
Stein Magnus Jodal
52b20b3297
models: Add SearchResult model
2012-12-21 00:30:20 +01:00
Stein Magnus Jodal
242df28114
mpd: Support search by date ( #272 )
2012-12-20 21:34:06 +01:00
Stein Magnus Jodal
02c8ea53d7
local: Add search-by-date support
2012-12-20 21:30:09 +01:00
Stein Magnus Jodal
53f3ef488c
local: Reorder search filters and tests
2012-12-20 21:30:08 +01:00
Stein Magnus Jodal
147bb5e983
local: Read track date from tag cache
2012-12-20 21:30:08 +01:00
Stein Magnus Jodal
f9dc3e3d81
mpd: Rename test file to match src file
2012-12-20 00:48:04 +01:00
Stein Magnus Jodal
6a5ceeec50
audio: Test setting of volume with mixer volume max below 100
2012-12-19 19:49:23 +01:00
Stein Magnus Jodal
ea37cf1a44
core: Include the TlTrack in track_playback_* events
2012-12-19 17:06:04 +01:00
Stein Magnus Jodal
e176425b91
core: Test that 'seeked' event includes 'time_position'
2012-12-19 16:35:52 +01:00
Stein Magnus Jodal
9602fff8bb
tests: Formatting
2012-12-19 16:33:59 +01:00
Stein Magnus Jodal
c5ac7aeb77
core: Include new volume level in volume_changed event
2012-12-19 16:31:58 +01:00
Stein Magnus Jodal
0d7b22b745
tests: Don't need audio actor for code event tests
2012-12-19 14:59:05 +01:00
Stein Magnus Jodal
478c8ea4d3
Merge pull request #281 from trygveaa/volume_changed
...
core: Trigger volume changed event in set_volume
2012-12-19 05:34:21 -08:00
Stein Magnus Jodal
12942631bf
mpd: Change name of output from 'None' to 'Default'
2012-12-18 23:18:51 +01:00
Trygve Aaberge
88b3bd4934
tests: Test that set volume triggers volume changed
2012-12-18 18:09:00 +01:00
Stein Magnus Jodal
6008a53027
tests: Update JSON-RPC introspection test to match changes core API
2012-12-17 15:42:12 +01:00
Stein Magnus Jodal
59ccc207ea
core: Make all methods callable without kwargs, e.g. from Mopidy.js
2012-12-17 15:38:32 +01:00
Stein Magnus Jodal
cc2510bd56
tests: Rename core.playlist tests so it is included in test runs
2012-12-17 15:19:52 +01:00
Stein Magnus Jodal
5122a254aa
models: Specify time zone of Playlist.last_modified as UTC
2012-12-16 20:22:42 +01:00
Thomas Adamcik
e00dd958b9
Merge pull request #277 from jodal/feature/mpd-0.17
...
Implement MPD protocol changes from MPD 0.17
2012-12-15 14:56:05 -08:00
Stein Magnus Jodal
a599362863
Remove unused yappi profiler
2012-12-15 23:46:52 +01:00
Stein Magnus Jodal
b43fc2ebe9
mpd: Stub channel commands
2012-12-15 01:44:20 +01:00
Stein Magnus Jodal
b95c8032de
mpd: Add 'searchaddpl' command
2012-12-15 01:18:13 +01:00
Stein Magnus Jodal
9b1dfa6978
mpd: Add 'searchadd' command
2012-12-15 00:40:33 +01:00
Stein Magnus Jodal
6ac2c249b5
mpd: Add 'findadd' command
2012-12-15 00:39:52 +01:00
Stein Magnus Jodal
50cbe5f384
mpd: Add range support to 'load' command
2012-12-14 22:13:08 +01:00
Stein Magnus Jodal
49d585a97c
mpd: Add 'config' command
2012-12-14 12:08:17 +01:00
Stein Magnus Jodal
ac537a63c7
mpd: Add 'seekcur' command
2012-12-14 11:53:44 +01:00
Stein Magnus Jodal
2b54837c64
Bump version number to 0.10.0
2012-12-13 00:16:33 +01:00
Stein Magnus Jodal
a221036e5a
tests: Fix error message
2012-12-12 23:05:12 +01:00
Thomas Adamcik
e00b590ae9
Detangle EOT and EOS.
...
This commit tries to detangle EOS from EOT which we have incorrectly
intermingled. EOS events should only be happening at the end of the playlist
when we are about to stop. EOT handling has been removed / broken in this
change, and will need to be re-added with proper tests.
2012-12-12 22:57:19 +01:00
Stein Magnus Jodal
b76e27a62b
mpd: Revert full URI in tag cache test as well
2012-12-12 15:54:04 +01:00
Stein Magnus Jodal
905ceeb72a
utils: find_files() returns bytestrings
2012-12-12 13:45:37 +01:00
Stein Magnus Jodal
b5d9dc10a7
utils: Handle paths with non-UTF-8 encodings
...
- path_to_uri() encodes unicode input as UTF-8 and leaves bytestring input
unchanged before it is converted to file:// URIs.
- uri_to_path() will now always return bytestrings, since we don't know if
there is any non-UTF-8 encoded chars in the file path, and converting it to
unicode would make such paths no longer match the dir or file it was
referring to.
- split_path() will now assume it gets a bytestring in.
2012-12-12 13:45:37 +01:00
Stein Magnus Jodal
f302949ea9
tests: Use empty tag cache in all local backend tests
2012-12-12 13:43:41 +01:00
Stein Magnus Jodal
beac2e80ed
mpd: Use file:// URIs in tag_cache
...
file:// URIs are uriencoded, and will thus conserve the encoding of the file
paths. We cannot just convert file paths in other encodings to UTF-8, because
then we won't find the files we point to.
2012-12-11 10:29:43 +01:00
Stein Magnus Jodal
7f2e2a8faa
scanner: Test invalid date
2012-12-02 15:48:02 +01:00
Stein Magnus Jodal
3473b9c902
scanner: Update test case
2012-12-02 15:45:54 +01:00
Stein Magnus Jodal
3f8b5affe0
tests: Ignore http tests if ws4py is missing
2012-12-01 17:24:34 +01:00
Stein Magnus Jodal
ac6cecd2f8
backends: Add BackendListener.on_event()
2012-12-01 11:21:06 +01:00
Stein Magnus Jodal
959bd6cd84
audio: Add AudioListener.on_event()
2012-12-01 11:20:44 +01:00
Stein Magnus Jodal
ec66cae784
tests: Ignore http tests if cherrypy is missing
2012-12-01 10:48:54 +01:00
Stein Magnus Jodal
5422d85f5b
utils: Include ws4py in --list-deps
2012-12-01 09:58:21 +01:00