Commit Graph

3431 Commits

Author SHA1 Message Date
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
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
Stein Magnus Jodal
a006918453 mpd: Use bytestrings in dir tree building 2012-12-12 13:45:37 +01:00
Stein Magnus Jodal
905ceeb72a utils: find_files() returns bytestrings 2012-12-12 13:45:37 +01:00
Stein Magnus Jodal
b5d9dc10a7 utils: Handle paths with non-UTF-8 encodings
- path_to_uri() encodes unicode input as UTF-8 and leaves bytestring input
  unchanged before it is converted to file:// URIs.

- uri_to_path() will now always return bytestrings, since we don't know if
  there is any non-UTF-8 encoded chars in the file path, and converting it to
  unicode would make such paths no longer match the dir or file it was
  referring to.

- split_path() will now assume it gets a bytestring in.
2012-12-12 13:45:37 +01:00
Stein Magnus Jodal
f302949ea9 tests: Use empty tag cache in all local backend tests 2012-12-12 13:43:41 +01:00
Stein Magnus Jodal
3d86610dfe scanner: Better info logging 2012-12-12 12:22:53 +01:00
Stein Magnus Jodal
40aa6db3c4 docs: Fix Sphinx syntax 2012-12-11 11:31:36 +01:00
Stein Magnus Jodal
cdda3bc5dd scanner: Add -q and -v options for controlling log output 2012-12-11 11:00:42 +01:00
Stein Magnus Jodal
beac2e80ed mpd: Use file:// URIs in tag_cache
file:// URIs are uriencoded, and will thus conserve the encoding of the file
paths. We cannot just convert file paths in other encodings to UTF-8, because
then we won't find the files we point to.
2012-12-11 10:29:43 +01:00
Matt Bray
30a5fd06c2 Fix for updates to pyspotify
Pyspotify now creates the session in
`pyspotify.SpotifySessionManager.__init__` (rather than in `.connect`) -
see [here][1].  Therefore it seems best not to set `self.session = None`
in `mopidy.SpotifySessionManager.__init__` or `self.session = session`
in `logged_in`.

[1]: 483f757430 (L1R39)
2012-12-10 00:07:27 +00:00
Stein Magnus Jodal
4e4df2adf2 js: Make library inclusion order stable 2012-12-04 13:23:57 +01:00
Stein Magnus Jodal
b14c89dbf1 js: Make connect() public, and document autoConnect/connect() 2012-12-04 13:23:43 +01:00
Stein Magnus Jodal
74cbb91cfb docs: Add Mopidy.js to changelog 2012-12-04 13:02:14 +01:00
Thomas Adamcik
4cf1e5ffb8 Merge pull request #262 from jodal/feature/mopidy.js
Mopidy.js: Mopidy's core API in JavaScript
2012-12-04 01:52:49 -08:00
Stein Magnus Jodal
68a6f2f8aa js: Doc how to clean up after Mopidy.js 2012-12-04 09:23:32 +01:00
Stein Magnus Jodal
8d3fd46808 js: Add close() method to close WebSocket without reconnecting 2012-12-04 09:18:34 +01:00
Stein Magnus Jodal
43316babcd js: Remove trailing whitespace 2012-12-04 09:05:52 +01:00
Stein Magnus Jodal
b807c38b01 js: Upgrade BANE to 0.4 2012-12-04 09:04:16 +01:00
Stein Magnus Jodal
126b7815d0 js: Document parameter handling 2012-12-03 23:08:40 +01:00