Stein Magnus Jodal
d985b8be38
Fix plchanges so it returns nothing when nothing has changed
2012-11-01 23:28:19 +01:00
Stein Magnus Jodal
60112897d2
MPD: Support listplaylist{,info} without quotes around spaceless playlist name ( fixes #218 )
2012-11-01 22:29:11 +01:00
Fred Hatfull
a5b454acc0
Fixes support for MPD find/search by filename
...
Extends `find_exact` and `search` in mopidy.backends.local.library
to support the `filename` query field. This field can get passed in
from the MPD frontend and would break with a `LookupError` when used.
This patch fixes the issue and introduces two new tests to cover the
added functionality.
2012-10-31 23:45:13 -07:00
Stein Magnus Jodal
a679a47212
Minor test updates
2012-10-31 15:27:04 +01:00
Stein Magnus Jodal
ae344e937b
Merge branch 'master' into develop
...
Conflicts:
docs/changes.rst
mopidy/__init__.py
mopidy/audio/__init__.py
mopidy/backends/dummy.py
mopidy/backends/local/__init__.py
mopidy/backends/spotify/__init__.py
mopidy/utils/__init__.py
mopidy/utils/network.py
tests/version_test.py
2012-10-30 18:13:28 +01:00
Stein Magnus Jodal
5d5f0cc6e3
Bump version number to v0.8.1
2012-10-30 17:57:25 +01:00
Stein Magnus Jodal
f1e2cff3e0
Update to work with Pykka 1.0
2012-10-30 16:28:20 +01:00
Stein Magnus Jodal
d60bb57f5f
Test new Album.date attribute
2012-10-30 10:18:40 +01:00
Stein Magnus Jodal
1014c6e373
Include both involved backends in the error message
2012-10-29 10:50:18 +01:00
Stein Magnus Jodal
4a79b559d5
Fail if two backends claims to handle the same URI schema
2012-10-29 10:31:35 +01:00
Stein Magnus Jodal
9a617b1803
Improvements after code review
2012-10-28 20:58:51 +01:00
Stein Magnus Jodal
0641d2d207
Make core.stored_playlists.playlists support multiple backends
2012-10-28 11:10:40 +01:00
Stein Magnus Jodal
a35deec050
Make core.library support multiple backends
2012-10-28 11:10:39 +01:00
Stein Magnus Jodal
c47cec9e65
Make core.playback select backend based on track URI
2012-10-28 11:10:39 +01:00
Stein Magnus Jodal
7b9c682e95
Make core.uri_schemes include URI schemes from all backends
2012-10-28 11:10:39 +01:00
Stein Magnus Jodal
2d92a7a228
Start multiple backends
2012-10-27 14:55:09 +02:00
Stein Magnus Jodal
956655f742
Update tests to use tracks with valid URIs
2012-10-27 14:53:35 +02:00
Stein Magnus Jodal
d685fe554c
Simplify pykka imports
2012-10-26 22:57:41 +02:00
Stein Magnus Jodal
587dde287f
Update to work with Pykka 1.0
2012-10-26 22:32:06 +02:00
Stein Magnus Jodal
c915c197dd
Formatting
2012-10-25 22:49:47 +02:00
Stein Magnus Jodal
8683537816
Don't use command_list as both bool and list ( #211 )
2012-10-17 01:43:22 +02:00
Stein Magnus Jodal
afdc665ac0
Use deps.{platform_info,python_info} in log
2012-10-16 22:26:28 +02:00
Stein Magnus Jodal
5a0529b142
Empty utils/__init__.py
2012-10-16 21:36:51 +02:00
Stein Magnus Jodal
d4f5d02c72
Move MpdSession to a session module
2012-10-16 16:13:23 +02:00
Stein Magnus Jodal
d9d6a3d5b6
Move exceptions to mopidy.exceptions
2012-10-16 16:08:46 +02:00
Stein Magnus Jodal
ac60bcdf8e
Fix all flake8 warnings in tests ( #211 )
2012-10-16 14:43:31 +02:00
Stein Magnus Jodal
c115cf123f
MPD: Use core actor passed to frontend
2012-09-28 00:48:28 +02:00
Stein Magnus Jodal
9fd3e93cb6
MPRIS: Use core actor passed to frontend
2012-09-28 00:48:28 +02:00
Stein Magnus Jodal
706b6c6d3f
Pass core actor to frontends
2012-09-28 00:48:24 +02:00
Stein Magnus Jodal
63cd153b1b
Let NetworkServer pass protocol_kwargs on
2012-09-28 00:48:23 +02:00
Stein Magnus Jodal
e7f08a7a20
Rename mopidy.{listeners.BackendListener => core.CoreListener}
2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
2fdeec9f5a
Move controllers to a new core actor
...
The frontends use the new core actor, while the core actor uses the backend.
This is a step towards supporting multiple backends, where the core actor will
coordinate the backends.
2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
5265609610
MPRIS: New BackendListener.seeked() signature
2012-09-26 22:12:38 +02:00
Stein Magnus Jodal
66f476e85a
Fix typo
2012-09-26 10:08:59 +02:00
Stein Magnus Jodal
81fca7d686
Switch to time position from provider
2012-09-25 11:18:27 +02:00
Stein Magnus Jodal
12d6ce53dd
Send new time position to 'seeked' listeners
2012-09-25 11:18:27 +02:00
Stein Magnus Jodal
28e5ed8b2e
Send old and new state to playback_state_changed listeners
2012-09-25 11:18:26 +02:00
Stein Magnus Jodal
b3f3cfe2a0
Use assert{Less,Greater}[EEqual] in tests
2012-09-25 11:18:26 +02:00
Stein Magnus Jodal
7d4b605ee5
Update version number to 0.8.0
2012-09-20 01:01:38 +02:00
Stein Magnus Jodal
6451519d2a
MPD: Support 'playid 0' without quotes around id
2012-09-20 00:28:30 +02:00
Stein Magnus Jodal
52c7726de2
MPD command 'close' does not return 'OK'
...
Test broke when Pykka actors started processing the actor inbox before
stopping themselves.
2012-09-19 01:50:48 +02:00
Thomas Adamcik
5a47dfe159
Update import style in tests.utils.path
2012-09-16 22:44:15 +02:00
Thomas Adamcik
a707daf458
Add tests for expand_path and fix ordering.
...
Expansions need to happen before abspath is called or else result is wrong.
2012-09-16 22:26:44 +02:00
Thomas Adamcik
6cc57701f9
Update parse_m3u to allow caller to decide what location playlist is relative to.
2012-09-16 19:28:15 +02:00
Thomas Adamcik
7ceb530064
Updated find files to ignore hidden files and folders.
2012-09-16 18:14:11 +02:00
Stein Magnus Jodal
a8d1d41ab3
Use assertIn and assertNotIn in tests
2012-09-15 17:46:25 +02:00
Stein Magnus Jodal
2ba05f9405
Add PlaybackState enum
2012-09-14 01:17:55 +02:00
Stein Magnus Jodal
aab37302a1
Rename mopidy.gstreamer to mopidy.audio
2012-09-14 01:05:42 +02:00
Stein Magnus Jodal
0559213da3
Move backend controllers to mopidy.core
2012-09-13 23:41:20 +02:00
Stein Magnus Jodal
7525cad94c
Let Track.date be an ISO-8601 string
...
This lets us have less precision than full dates. E.g. Spotify tracks only got
release year, not full release date.
The original MPD server regularly expose data like this as "Date: 1977", so we
don't need to fake more precision for MPD's sake.
2012-09-12 23:06:06 +02:00