Stein Magnus Jodal
c452f0115a
mpd: Use new config system
2013-04-05 17:18:12 +02:00
Thomas Adamcik
e226ddd652
config/ext: Remove ext. prefix from configs.
2013-04-02 22:12:00 +02:00
Thomas Adamcik
dcd0d7e813
ext: Rename ext_name to name and provide ext_name property that gives ext.$name
2013-04-02 19:16:49 +02:00
Thomas Adamcik
6f39bde566
config: Start passing dummy config explicitly to audio/backends/frontends.
2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
7d78d02d59
ext: Add both dist_name and ext_name to Extension class
2013-04-02 12:04:03 +02:00
Stein Magnus Jodal
1ac2fec4a5
docs: Tweak module docs formatting
2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
aab7c01c94
mpd: Add default config and config schema
2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
aa1f8199c2
Remove the FRONTENDS setting
2013-04-01 20:22:29 +02:00
Stein Magnus Jodal
6345022cfc
Move frontend/backend import into methods
2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
ec7c172c2e
Add ext prefix to config sections
2013-04-01 16:14:34 +02:00
Stein Magnus Jodal
a5f3bfc9c4
mpd: Define extension
2013-04-01 15:03:54 +02:00
Stein Magnus Jodal
f26db23de9
mpd: Use add(uri=uri) instead of add(lookup(uri))
2013-03-31 00:19:40 +01:00
Stein Magnus Jodal
358de3b088
Fix more unicode kwargs dict keys ( #302 )
2013-01-06 20:48:38 +01:00
Stein Magnus Jodal
61dcb7d37d
mpd: Make request handler **kwargs keys bytestrings ( #302 )
2013-01-04 10:26:30 +01:00
Stein Magnus Jodal
c03d99e55b
mpd: Use bytestring for **kwargs key ( #302 )
2013-01-03 22:46:29 +01:00
Stein Magnus Jodal
30a78ba84b
mpd: Minor refactoring
2012-12-24 01:09:50 +01:00
Stein Magnus Jodal
a1cfc74d29
Merge branch 'develop' into feature/mpd-album-artist-search-results
...
Conflicts:
docs/changes.rst
2012-12-23 18:49:51 +01:00
Stein Magnus Jodal
58cbbe8cb3
Merge pull request #287 from jodal/feature/search-result-model
...
Add SearchResult model
2012-12-23 09:47:11 -08:00
Stein Magnus Jodal
ce318316a3
mpd: Don't restart current track before seek
2012-12-23 12:20:34 +01:00
Stein Magnus Jodal
54662479ef
mpd: Limit use of fake tracks in 'find` responses
...
If searching for exact artist, don't include fake artist tracks.
If searching for exact album, don't include fake album tracks.
This makes sure that ncmpcpp's media library doesn't include the magic
artist-track in an artist's album listing, and that it doesn't include the
magic album-track in an album's track listing.
2012-12-22 12:49:27 +01:00
Stein Magnus Jodal
04be75ed97
mpd: Add album date to 'fake' tracks
2012-12-22 02:12:07 +01:00
Stein Magnus Jodal
5060db48f2
mpd: Refactor search result to (fake) tracks functionality
2012-12-21 23:51:40 +01:00
Stein Magnus Jodal
455f0145e7
mpd: Include artists and albums in search results
2012-12-21 23:10:20 +01:00
Stein Magnus Jodal
b0ba2040df
Return SearchResult objects from find_exact() and search()
...
This applies to both backends and core.
2012-12-21 22:05:20 +01:00
Stein Magnus Jodal
242df28114
mpd: Support search by date ( #272 )
2012-12-20 21:34:06 +01:00
Stein Magnus Jodal
08f0178425
mpd: Extract query translators for direct testing
2012-12-20 00:46:35 +01:00
Stein Magnus Jodal
79cbdb4fbb
mpd: Add MPD_SERVER_CONNECTION_TIMEOUT setting
2012-12-19 23:47:22 +01:00
Stein Magnus Jodal
c5ac7aeb77
core: Include new volume level in volume_changed event
2012-12-19 16:31:58 +01:00
Stein Magnus Jodal
dd1fad249b
mpd: Fix grammar
2012-12-19 00:05:13 +01:00
Stein Magnus Jodal
ba84af2586
mpd: Add list of unsupported MPD features
2012-12-18 23:29:57 +01:00
Stein Magnus Jodal
12942631bf
mpd: Change name of output from 'None' to 'Default'
2012-12-18 23:18:51 +01:00
Stein Magnus Jodal
5122a254aa
models: Specify time zone of Playlist.last_modified as UTC
2012-12-16 20:22:42 +01:00
Stein Magnus Jodal
b1f0a67dd4
mpd: Reuse query regexp. Fix 'filename' expression
2012-12-15 23:43:45 +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
0f603c3ede
Use urllib.{quote,unquote} instead of {pathname2url,url2pathname}
2012-12-12 23:13:52 +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
a006918453
mpd: Use bytestrings in dir tree building
2012-12-12 13:45:37 +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
Stein Magnus Jodal
bb32ff6b6b
mpd: Don't use the \S regexp group
2012-11-21 01:35:21 +01:00
Stein Magnus Jodal
ab906c5684
Revert "mpd: Change to interpret regexp groups with the old locale semantics"
...
This reverts commit 50708f9fd7 .
2012-11-21 01:34:49 +01:00
Stein Magnus Jodal
50708f9fd7
mpd: Change to interpret regexp groups with the old locale semantics
2012-11-21 01:30:07 +01:00
Stein Magnus Jodal
3af3eb5127
mpd: Make 'decoders' return an empty response to please ncmpcpp
2012-11-21 01:29:14 +01:00