Commit Graph

3708 Commits

Author SHA1 Message Date
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
4f4754c573 mpd: Test 'list' response content 2012-12-22 01:40:51 +01:00
Stein Magnus Jodal
357a26d7f9 spotify: Fix improper search() return value 2012-12-22 01:40:19 +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
e5c0bcd110 docs: Add issue references 2012-12-21 23:28:59 +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
a8c0f6baa8 spotify: Make query a bytestring before urlencoding it 2012-12-21 22:25:21 +01:00
Stein Magnus Jodal
e804333897 spotify: Add uri to SearchResult 2012-12-21 22:05:20 +01:00
Stein Magnus Jodal
71f27d5625 local: Add uri to SearchResults 2012-12-21 22:05: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
52b20b3297 models: Add SearchResult model 2012-12-21 00:30:20 +01:00
Stein Magnus Jodal
4b94a5a8ef spotify: Increase max search results from 100 to 200 2012-12-20 22:15:46 +01:00
Stein Magnus Jodal
bb2c1e3e50 Merge branch 'feature/search-by-date' into develop 2012-12-20 21:34:53 +01:00
Stein Magnus Jodal
242df28114 mpd: Support search by date (#272) 2012-12-20 21:34:06 +01:00
Stein Magnus Jodal
02c8ea53d7 local: Add search-by-date support 2012-12-20 21:30:09 +01:00
Stein Magnus Jodal
53f3ef488c local: Reorder search filters and tests 2012-12-20 21:30:08 +01:00
Stein Magnus Jodal
147bb5e983 local: Read track date from tag cache 2012-12-20 21:30:08 +01:00
Thomas Adamcik
e2932672d5 Merge pull request #284 from jodal/feature/improved-lookup
Improved Spotify lookup by URI
2012-12-20 10:38:57 -08:00
Stein Magnus Jodal
30ac1896b3 Merge branch 'develop' into feature/improved-lookup 2012-12-20 19:15:39 +01:00
Stein Magnus Jodal
a3ab956733 spotify: Block track lookups until we get data
This makes track lookup behave consistently with lookup of artists, albums and
playlists. I consider this "safe", since track lookup is only used for lookup
of single tracks by URI. If you're e.g. loading a playlist full of unloaded
tracks, you should still use SpotifyTrack to avoid blocking on track loading.
2012-12-20 19:08:01 +01:00
Stein Magnus Jodal
e118c73aa3 spotify: Refactor loading timeout logic 2012-12-20 19:01:04 +01:00
Stein Magnus Jodal
42faec8a3c spotify: SpotifyTrack fails when both uri and track is provided 2012-12-20 18:59:01 +01:00
Stein Magnus Jodal
f9dc3e3d81 mpd: Rename test file to match src file 2012-12-20 00:48:04 +01:00
Stein Magnus Jodal
08f0178425 mpd: Extract query translators for direct testing 2012-12-20 00:46:35 +01:00
Stein Magnus Jodal
cb78dc6341 spotify: Spotify wants 'track', not 'title' (#272) 2012-12-20 00:26:54 +01:00
Stein Magnus Jodal
30edba0a3e spotify: Unbreak search by URI 2012-12-20 00:25:47 +01:00
Stein Magnus Jodal
79cbdb4fbb mpd: Add MPD_SERVER_CONNECTION_TIMEOUT setting 2012-12-19 23:47:22 +01:00
Stein Magnus Jodal
4d67dd1353 spotify: Use SPOTIFY_TIMEOUT when waiting for objects to load 2012-12-19 23:37:43 +01:00
Stein Magnus Jodal
4a29e2549a Merge branch 'develop' into feature/improved-lookup
Conflicts:
	docs/changes.rst
	mopidy/backends/spotify/library.py
2012-12-19 23:32:32 +01:00
Stein Magnus Jodal
8baf813fb6 spotify: Use SPOTIFY_TIMEOUT in search 2012-12-19 23:31:33 +01:00
Stein Magnus Jodal
3cdc9e4e99 spotify: Add SPOTIFY_TIMEOUT setting 2012-12-19 23:25:20 +01:00
Stein Magnus Jodal
d1b2641b86 spotify: Gather the search functionality in one place 2012-12-19 23:16:45 +01:00
Stein Magnus Jodal
8be84a1ea4 audio: Fix flake8 warning 2012-12-19 22:40:32 +01:00
Trygve Aaberge
81a76bfd92 audio: Define mixer_scale in _setup_mixer 2012-12-19 22:36:00 +01:00
Stein Magnus Jodal
e63e6f7bbb docs: Update changelog 2012-12-19 21:58:36 +01:00
Stein Magnus Jodal
e39d15399b Update author list 2012-12-19 21:58:26 +01:00
Stein Magnus Jodal
699588b525 spotify: Refactor lookup code, add playlist support 2012-12-19 21:54:36 +01:00
Stein Magnus Jodal
d5c401bd07 spotify: Fix flake8 warnings in lookup method 2012-12-19 21:54:27 +01:00
Stein Magnus Jodal
aea3337fe4 Merge remote-tracking branch 'woutervanwijk/lookup' into feature/improved-lookup 2012-12-19 20:25:09 +01:00
Stein Magnus Jodal
6d8a8a7902 docs: Update changelog 2012-12-19 19:55:15 +01:00
Stein Magnus Jodal
6a5ceeec50 audio: Test setting of volume with mixer volume max below 100 2012-12-19 19:49:23 +01:00
Stein Magnus Jodal
2b96c70ab1 Merge pull request #282 from trygveaa/volume_step
audio: Make get_volume able to return all levels
2012-12-19 10:47:56 -08:00
Stein Magnus Jodal
ea37cf1a44 core: Include the TlTrack in track_playback_* events 2012-12-19 17:06:04 +01:00
Stein Magnus Jodal
e176425b91 core: Test that 'seeked' event includes 'time_position' 2012-12-19 16:35:52 +01:00
Stein Magnus Jodal
9602fff8bb tests: Formatting 2012-12-19 16:33:59 +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
0d7b22b745 tests: Don't need audio actor for code event tests 2012-12-19 14:59:05 +01:00
Stein Magnus Jodal
dfda1cb064 docs: Update changelog 2012-12-19 14:40:48 +01:00