Commit Graph

1385 Commits

Author SHA1 Message Date
Thomas Adamcik
adecba40e5 Merge pull request #531 from jodal/feature/merge-base-backend-and-local-tests
tests: Merge BaseBackend and LocalBackend tests
2013-10-11 14:56:18 -07:00
Stein Magnus Jodal
3c53c1ddcd tests: Merge BaseBackend and LocalBackend tests 2013-10-11 22:17:27 +02:00
Stein Magnus Jodal
b539a9c094 mpd: Handle unknown outputid 2013-10-10 10:02:37 +02:00
Stein Magnus Jodal
db892e6974 mpd: Rename muting output to 'Mute' 2013-10-10 09:49:15 +02:00
Stein Magnus Jodal
863f7e0430 mpd: Trigger 'output' idle event on mute_changed()
This is required for e.g. ncmpcpp to detect that an enableoutput/disableoutput
command worked, making it possible to toggle the output back without restarting
ncmpcpp.
2013-10-09 23:52:59 +02:00
Stein Magnus Jodal
447864774e core: Add volume arg to volume_changed() event
It was already called with the argument, and both the MPD and HTTP frontends
handled it/expected it. It was just the default implementation in CoreListener
that lacked the argument.
2013-10-09 23:51:01 +02:00
Stein Magnus Jodal
158b2344ff audio: Add test TODO 2013-10-09 23:29:43 +02:00
Stein Magnus Jodal
c3e8899396 mpd: Test that output enabling/disabling unmutes/mutes audio 2013-10-09 23:28:01 +02:00
Stein Magnus Jodal
6a3e322845 core: Tweak mute docs, add simple test case 2013-10-09 23:24:17 +02:00
Stein Magnus Jodal
56b1d6390c Merge branch 'develop' into feature/audio-mute 2013-10-09 22:57:16 +02:00
Stein Magnus Jodal
f9a6fa525a Bump version number for compat with extracted extensions 2013-10-08 08:51:33 +02:00
Stein Magnus Jodal
c589583b74 mpris: Move to external extension 2013-10-07 23:42:07 +02:00
Javier Domingo Cansino
5b5bd342b6 Updating tests to be compliant with the new response (ok) 2013-10-07 13:11:13 +02:00
Thomas Adamcik
2e1971af89 audio: Handle min=max when scaling volumes (fixes: #525)
Also add gobject.threads_init() so we can run the audio actor test on its own.
2013-10-06 22:24:36 +02:00
Thomas Adamcik
a5e26f9b54 audio: flake8 fixes 2013-10-06 16:57:32 +02:00
Thomas Adamcik
b1b522694e audio: Fix lots of playlist issues and add tests. 2013-10-06 15:22:17 +02:00
Stein Magnus Jodal
ba361add4c Bump version to 0.15.0 2013-09-19 19:30:36 +02:00
Stein Magnus Jodal
1a02b4d17f Remove support for running Python on the mopidy/ dir
It doesn't make sense to run Mopidy without extensions registered, thus you'll
need to use setuptools and to run `python setup.py develop` anyway. Doing so
makes running `mopidy` from anywhere in the development virtualenv work,
removing any need for running `python mopidy/`.
2013-09-16 22:13:36 +02:00
Stein Magnus Jodal
e830f31480 Fix too broad truthness test (fix #501)
This caused TlTracks with tlid=0 to be sent to HTTP clients without the tlid
field.
2013-09-16 21:58:23 +02:00
Stein Magnus Jodal
05d4fa846f config: Deserialize Secret to unicode (fix #473)
MPD, Scrobbler, and Spotify extensions have been reviewed for need for changes
due to this, without anything being found.
2013-09-15 23:51:41 +02:00
Stein Magnus Jodal
9af4290f45 mpd: Accept listall and listallinfo without the URI argument 2013-09-01 23:14:30 +02:00
Stein Magnus Jodal
5c7a496dc2 Fix flake8 warnings 2013-08-08 21:09:01 +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