Javier Domingo Cansino
677c61f398
tests: Rename local tests to describe that they are testing local providers and not core controllers
2013-10-18 16:12:38 +02:00
Javier Domingo Cansino
e9c20d2e59
Correcting flake error on unused import
2013-10-15 12:11:01 +02:00
Javier Domingo Cansino
1d4ff4c9c6
Merging upstream changes in tidy-up-core
2013-10-15 09:37:54 +02:00
Stein Magnus Jodal
76b70aa0c5
mpd: Make 'list' support 'albumartist' key
2013-10-12 00:16:20 +02:00
Stein Magnus Jodal
ccbae310c6
local: Add albumartist support to search/find_exact
2013-10-12 00:16:20 +02:00
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
Javier Domingo Cansino
686dd5981d
Merging branch develop into tidy-up-core
2013-10-11 10:43:50 +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
Javier Domingo Cansino
2ac13d9b44
Merge branch 'develop' into tidy-up-core
2013-10-03 09:20:08 +02:00
Stein Magnus Jodal
ba361add4c
Bump version to 0.15.0
2013-09-19 19:30:36 +02:00
Javier Domingo Cansino
8b13270f67
Merge branch 'develop' into tidy-up-core
2013-09-17 12:42:42 +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
Javier Domingo Cansino
7ae4adddeb
Merge branch 'develop' into tidy-up-core
2013-09-12 11:41:01 +02:00
Stein Magnus Jodal
9af4290f45
mpd: Accept listall and listallinfo without the URI argument
2013-09-01 23:14:30 +02:00
Javier Domingo Cansino
268c3b7879
tests: correcting indentation
2013-08-13 10:05:01 +02:00
Javier Domingo Cansino
b70cd9e787
tests: moving more tests from playback to tracklist
2013-08-13 09:58:10 +02:00
Javier Domingo Cansino
a7d8af544d
tests: tracklist tests renaming the TracklistController holder from controller to tracklist for test uniformity
2013-08-13 09:41:15 +02:00
Javier Domingo Cansino
7af86d65ac
Merge branch 'develop' into tidy-up-core
...
Git was not correctly identifying the merge and threw a conflict
2013-08-12 13:41:15 +02:00
Javier Domingo Cansino
cd83d7a0d9
tests: Removing accidental print statement in testcase
2013-08-09 10:08:52 +02:00
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