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
Stein Magnus Jodal
dbf7030d5b
Fix crash in local backend when looking up unknown path
2012-09-11 23:23:36 +02:00
Stein Magnus Jodal
4bffea8b1f
Test the GStreamer class as an actor
...
The test should use the same interface and code paths as production code.
2012-09-10 00:34:12 +02:00
Thomas Adamcik
db3a201795
Fix tests and update docs with #150 fix.
2012-09-09 22:09:23 +02:00
Stein Magnus Jodal
e948a51310
Remove duplicate tearDown()
2012-09-08 23:05:31 +02:00
Stein Magnus Jodal
e3ba389996
Make MPRIS frontend handle unknown volume
2012-09-08 01:24:48 +02:00
Stein Magnus Jodal
21a85c0898
Merge pull request #178 from adamcik/feature/serialize
...
Imutable object serialization support
2012-09-05 16:57:24 -07:00
Thomas Adamcik
59dc48e982
Merge branch 'develop' into feature/serialize
2012-09-06 00:03:33 +02:00
Thomas Adamcik
6805c16b1a
Add .serialize() method to ImutableObjects.
...
Should be useful for things like dumping to json.
2012-09-05 23:54:37 +02:00
Thomas Adamcik
b0d6dc3e0c
Remove injected gstreamer settings.
2012-09-05 22:42:09 +02:00
Thomas Adamcik
1255b87877
Try running with fakesink for gstreamer test.
2012-09-05 01:26:05 +02:00
Thomas Adamcik
c71202c2be
Remove all of mopidy.mixers and tests.mixers modules.
2012-09-04 00:54:28 +02:00
Thomas Adamcik
4ffd06736e
Update MPD frontend to use playback volume API.
2012-09-04 00:52:12 +02:00
Thomas Adamcik
14eeb20226
Update MPRIS to use playback.volume API.
2012-09-04 00:30:02 +02:00
Thomas Adamcik
114bc10ae8
Merge branch 'develop' into feature/switch-to-gst-mixers
...
Conflicts:
mopidy/gstreamer.py
2012-09-03 22:54:22 +02:00
Stein Magnus Jodal
6b41806eea
Merge remote-tracking branch 'adamcik/feature/simplify-outputs' into develop
...
Conflicts:
docs/changes.rst
mopidy/utils/settings.py
2012-09-03 22:08:52 +02:00
Thomas Adamcik
f6b96680ae
Fix MPD volume command.
...
The command should return -1 when the volume is not known.
2012-09-01 22:07:15 +02:00
Thomas Adamcik
40502e41e5
Update tests to catch scaling problem in mixer.
...
- Fixes problem where 60% became 59% due to bad rounding.
- Tests assume scale of 0-65536 which matches ALSA.
- Check all possible values of set_volume and ensure we the right value out.
2012-09-01 14:35:20 +02:00
Thomas Adamcik
2b01860680
Make it possible to override GStreamer settings in tests.
...
- Specifically you can now pass in values instead of relying on global
settings.
2012-09-01 14:01:11 +02:00
Thomas Adamcik
b796d7c859
Add create fakemixer element for testing.
...
- GStreamer tests now use this instead of a real mixer.
- fakemixer and the autoaudiomixer still need to be moved.
- We should probably use a fakesink as output as well.
2012-09-01 13:34:16 +02:00
Thomas Adamcik
2d5ba154ed
Switch to module imports and with assertRaises in init_test.
2012-09-01 13:33:41 +02:00
Stein Magnus Jodal
fbc9aef828
Merge remote-tracking branch 'adamcik/feature/settings-did-you-mean' into develop
2012-09-01 13:29:13 +02:00
Stein Magnus Jodal
5c6dc96f9d
Fix typo
2012-09-01 13:07:14 +02:00
Thomas Adamcik
e4d425d37a
Add did you mean tests for settings.
...
- Checks varying degrees of typos until the edit distance becomes to large.
- Also updated did you mean to always uppercase it's input so we catch caps
errors.
2012-09-01 12:28:32 +02:00