Commit Graph

1375 Commits

Author SHA1 Message Date
Stein Magnus Jodal
3c53c1ddcd tests: Merge BaseBackend and LocalBackend tests 2013-10-11 22:17:27 +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
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
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