Commit Graph

2345 Commits

Author SHA1 Message Date
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
eec6c271c2 spotify: Refactor URI lookup 2012-12-23 18:41:07 +01:00
Stein Magnus Jodal
524bfc9317 local: Use 'file:search' as uri for search results for now 2012-12-23 18:32:52 +01:00
Stein Magnus Jodal
5d707e3918 settings: Fail if BACKENDS/FRONTENDS setting isn't iterable (fixes #278) 2012-12-23 15:42:49 +01:00
Stein Magnus Jodal
8fcc7966b2 spotify: Create SpotifyTrack with uri if lookup track isn't loaded 2012-12-23 12:25:20 +01:00
Stein Magnus Jodal
ce318316a3 mpd: Don't restart current track before seek 2012-12-23 12:20:34 +01:00
Stein Magnus Jodal
357a26d7f9 spotify: Fix improper search() return value 2012-12-22 01:40:19 +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
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
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
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
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
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
c5ac7aeb77 core: Include new volume level in volume_changed event 2012-12-19 16:31:58 +01:00
Stein Magnus Jodal
478c8ea4d3 Merge pull request #281 from trygveaa/volume_changed
core: Trigger volume changed event in set_volume
2012-12-19 05:34:21 -08:00
Wouter van Wijk
524f22eff4 Added lookup for artists, albums 2012-12-19 12:48:33 +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
Trygve Aaberge
200e4d2536 audio: Don't try to rescale volume_set if it's None 2012-12-18 19:00:46 +01:00
Trygve Aaberge
fcda4696bc audio: Use None instead of -1 for undefined volume 2012-12-18 18:18:29 +01:00
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
59ccc207ea core: Make all methods callable without kwargs, e.g. from Mopidy.js 2012-12-17 15:38:32 +01:00