Commit Graph

4049 Commits

Author SHA1 Message Date
Trygve Aaberge
58389f31de core: Trigger volume changed after actual change 2012-12-18 18:08:00 +01:00
Trygve Aaberge
d3e3bef2c0 audio: Rename scales in set_volume for consistency 2012-12-18 13:21:24 +01:00
Trygve Aaberge
ee448d4dd3 audio: Make get_volume able to return all levels
This fixes an issue where applications which changes volume by 1 level
at a time could fail to change volume if track.max_volume is less than
100. E.g. get volume could return 44 after volume was set to 43, then
the application would just try to set it to 43 again.
2012-12-18 13:18:56 +01:00
Trygve Aaberge
15d56b84cb core: Trigger volume changed event in set_volume 2012-12-18 12:56:42 +01:00
Stein Magnus Jodal
6008a53027 tests: Update JSON-RPC introspection test to match changes core API 2012-12-17 15:42:12 +01:00
Stein Magnus Jodal
59ccc207ea core: Make all methods callable without kwargs, e.g. from Mopidy.js 2012-12-17 15:38:32 +01:00
Stein Magnus Jodal
cc2510bd56 tests: Rename core.playlist tests so it is included in test runs 2012-12-17 15:19:52 +01:00
Stein Magnus Jodal
5122a254aa models: Specify time zone of Playlist.last_modified as UTC 2012-12-16 20:22:42 +01:00
Thomas Adamcik
e00dd958b9 Merge pull request #277 from jodal/feature/mpd-0.17
Implement MPD protocol changes from MPD 0.17
2012-12-15 14:56:05 -08:00
Stein Magnus Jodal
a599362863 Remove unused yappi profiler 2012-12-15 23:46:52 +01:00
Stein Magnus Jodal
b1f0a67dd4 mpd: Reuse query regexp. Fix 'filename' expression 2012-12-15 23:43:45 +01:00
Stein Magnus Jodal
8fdd7fdf58 docs: The Mopidy resources was moved to /mopidy 2012-12-15 23:13:58 +01:00
Stein Magnus Jodal
a084105898 docs: Use requirement files as single source of dependencies 2012-12-15 23:07:29 +01:00
Stein Magnus Jodal
0b6673e7f5 mpd: Bump protocol version to 0.17.0 2012-12-15 01:48:49 +01:00
Stein Magnus Jodal
b43fc2ebe9 mpd: Stub channel commands 2012-12-15 01:44:20 +01:00
Stein Magnus Jodal
b95c8032de mpd: Add 'searchaddpl' command 2012-12-15 01:18:13 +01:00
Stein Magnus Jodal
9b1dfa6978 mpd: Add 'searchadd' command 2012-12-15 00:40:33 +01:00
Stein Magnus Jodal
6ac2c249b5 mpd: Add 'findadd' command 2012-12-15 00:39:52 +01:00
Stein Magnus Jodal
50cbe5f384 mpd: Add range support to 'load' command 2012-12-14 22:13:08 +01:00
Stein Magnus Jodal
49d585a97c mpd: Add 'config' command 2012-12-14 12:08:17 +01:00
Stein Magnus Jodal
ac537a63c7 mpd: Add 'seekcur' command 2012-12-14 11:53:44 +01:00
Stein Magnus Jodal
bac240501b docs: Add empty changelog entry for v0.11 2012-12-14 11:52:55 +01:00
Stein Magnus Jodal
165a0e4aef Update PyPI short package description 2012-12-13 13:48:39 +01:00
Stein Magnus Jodal
1919d7f8c2 docs: Include full list of authors 2012-12-13 02:21:21 +01:00
Stein Magnus Jodal
eb717693f9 Add fabfile.py with autotest task 2012-12-13 02:17:43 +01:00
Stein Magnus Jodal
0c6de005a0 docs: Fix typo 2012-12-13 02:07:24 +01:00
Stein Magnus Jodal
daa56e6567 docs: Fix typo 2012-12-13 02:06:05 +01:00
Stein Magnus Jodal
fe2adfae73 docs: Fix syntax error in example 2012-12-13 02:02:16 +01:00
Stein Magnus Jodal
4122bd6639 docs: Add HTTP frontends to frontend impls list 2012-12-13 01:59:24 +01:00
Stein Magnus Jodal
6fdb0579f6 travis: mopidy package now Recommends cherrypy and ws4py 2012-12-13 01:03:19 +01:00
Stein Magnus Jodal
f94716d3b7 Release v0.10.0 2012-12-13 00:20:54 +01:00
Stein Magnus Jodal
005b751efb docs: Update changelog for v0.10.0 2012-12-13 00:20:06 +01:00
Stein Magnus Jodal
24ace415a0 spotify: pyspotify 1.9 and 1.10 are both supported 2012-12-13 00:19:43 +01:00
Stein Magnus Jodal
2b54837c64 Bump version number to 0.10.0 2012-12-13 00:16:33 +01:00
Thomas Adamcik
8ee4b431ac Merge pull request #276 from jodal/feature/scanner-encoding-support
Scanner encoding support
2012-12-12 15:11:10 -08:00
Stein Magnus Jodal
0f603c3ede Use urllib.{quote,unquote} instead of {pathname2url,url2pathname} 2012-12-12 23:13:52 +01:00
Stein Magnus Jodal
a221036e5a tests: Fix error message 2012-12-12 23:05:12 +01:00
Thomas Adamcik
1f544038b0 Setup about to finish handling for proper EOT support.
With this change we ask the core.playback system to set the next tracks uri and
otherwise update state as needed. With this change we should be able to support
streaming oggs and gapless playback to mention a few of items this fixes.

On the down side, this change breaks test_end_of_track_skips_to_next_track_on_failure
as there is no clean way to handle this with the async nature of this EOT
handling.
2012-12-12 23:02:59 +01:00
Thomas Adamcik
2a391f23e1 Use source's factory name to determine type.
Checking the URI inside the new-source handler turned out to tickle some issue
that gave us deadlocks. Getting the source and checking which factory created
it is much safer.
2012-12-12 22:58:49 +01:00
Thomas Adamcik
3a9ce05b7c Add change track to playback providers.
This method is intended to make implementing EOT handling much more streamlined
by adding a way to easily just change the URI and any other state without
messing with gstreamer pipe states

Naming of this is a bit unfortunate as it is not the same as the
core.playback's concept of change_track. At least not yet
2012-12-12 22:57:19 +01:00
Thomas Adamcik
e00b590ae9 Detangle EOT and EOS.
This commit tries to detangle EOS from EOT which we have incorrectly
intermingled. EOS events should only be happening at the end of the playlist
when we are about to stop. EOT handling has been removed / broken in this
change, and will need to be re-added with proper tests.
2012-12-12 22:57:19 +01:00
Stein Magnus Jodal
ac4411ec83 spotify: Make session manager work with pyspotify 1.9 _and_ 1.10 2012-12-12 16:08:16 +01:00
Stein Magnus Jodal
d537b875c1 Merge pull request #271 from mattjbray/fix-session-initialisation
Fix to work with pyspotify develop/1.10
2012-12-12 07:02:02 -08:00
Stein Magnus Jodal
b76e27a62b mpd: Revert full URI in tag cache test as well 2012-12-12 15:54:04 +01:00
Stein Magnus Jodal
1707d6ae6e local: Fix typo 2012-12-12 15:43:16 +01:00
Stein Magnus Jodal
b397162bd0 docs: Update changelog 2012-12-12 15:11:07 +01:00
Stein Magnus Jodal
c8a068b02c local: Support tag caches with urlencoded paths
This adds support for loading tag caches where the "file:" field has urlencoded
paths. For old tag caches without the urlencoding, this is a noop. Thus, old
tag caches continues to work.
2012-12-12 15:10:29 +01:00
Stein Magnus Jodal
e9eac16284 mpd: Use relative urlencoded paths in tag cache
This partly reverts "beac2e8 mpd: Use file:// URIs in tag_cache" by removing
the "file://" URI scheme and the music dir base path from the "file:" fields in
the tag cache.

The advantage is that the tag cache becomes independent of the music dir
location and the tag cache loader can be made compatible with both old and new
tag caches.
2012-12-12 15:10:28 +01:00
Stein Magnus Jodal
6311e13cec mpd: urlencode any non-UTF-8 path so it can be displayed as UTF-8 2012-12-12 14:21:30 +01:00
Stein Magnus Jodal
f5dc5aba83 docs: Add HTTP clients page 2012-12-12 14:03:43 +01:00