Commit Graph

3543 Commits

Author SHA1 Message Date
Stein Magnus Jodal
44d1124574 mpd: Use bytestring for **kwargs key (#302) 2013-03-12 20:03:55 +01:00
Thomas Adamcik
f387d35463 audio: Update mixer track selection logic (fixes #307)
We now ensure that the track we choose has one or more volume channels we can
control. This change also fixes that fact the MIXER_TRACK setting would not
work if we happened to find a track that was flaged as MASTER OUPUT before
finding the right label, so far no one has reported this as an issue.
2013-03-12 20:03:43 +01:00
Stein Magnus Jodal
b3a7ed3e53 js: Add a package.json to simplify JS dev env setup 2013-03-12 20:02:54 +01:00
Stein Magnus Jodal
5d1e01762b scanner: Fix optparse on early 2.6 (#302) 2013-03-12 20:01:57 +01:00
Stein Magnus Jodal
aebadc9b75 More **kwargs key fixing (#302) 2013-03-12 20:01:51 +01:00
Stein Magnus Jodal
9749f66972 Use bytestrings for the keys of **kwargs dicts
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302.
2013-03-12 20:01:27 +01:00
Stein Magnus Jodal
cc69de5626 Fix Python 2.6.0/2.6.1 support (fixes #302)
Conflicts:
	docs/changes.rst
2013-03-12 20:01:05 +01:00
Stein Magnus Jodal
d9300f72bd scanner: Support symlinks 2013-03-12 19:59:19 +01:00
Thomas Adamcik
1c620287d4 Fix racecondition triggered KeyError in our DebugThread. 2013-03-12 19:55:33 +01:00
0xadam
613a666930 docs: Append to /etc/modules, not overwrite
Fixes the snd_bcm2835 module not being loaded and therefore sound output not working
2013-03-03 20:14:44 +01:00
Stein Magnus Jodal
4df84b3086 docs: Spotify now works on armhf 2013-03-03 20:14:37 +01:00
Stein Magnus Jodal
25bab4bee6 docs: Fix syntax error 2013-03-03 20:14:27 +01:00
Stein Magnus Jodal
2bdc4b75ce docs: Refer to HTTP clients page for web based MPD clients 2013-03-03 20:14:11 +01:00
Stein Magnus Jodal
af4e33a9f0 docs: Add rompr to web client list (fixes #321) 2013-03-03 20:14:05 +01:00
Stein Magnus Jodal
93e86896e3 docs: Fix syntax error 2013-03-03 20:14:01 +01:00
Stein Magnus Jodal
559e184aa8 docs: Prefix issue numbers with '#' instead of 'GH-' 2013-03-03 20:13:43 +01:00
Stein Magnus Jodal
80a1c02614 docs: Bind console functions in JS examples
For e.g. ``console.log`` to be used as a callback, it must be bound to the
``console`` object first: ``console.log.bind(console)``. If not, this will
cause "Illegal invocation" errors in WebKit browsers.

This change updates all our Mopidy.js examples to bind ``console`` functions
before they are used as callbacks.

Fixes #298.
2013-03-03 20:13:01 +01:00
Stein Magnus Jodal
e099884d60 docs: Add woutervanwijk's web client 2013-03-03 20:12:41 +01:00
Stein Magnus Jodal
c37ce8751e Release v0.11.1 2012-12-24 20:23:51 +01:00
Thomas Adamcik
a3446621f4 Fix use of threading.Event for Python 2.6 and clear connected state.
threading.Event's wait method returns None on python pre 2.7, which means all
searches would fail. This also corrects that fact that we weren't clearing the
connected threading event on disconnects. I did not add any tests for this at
this time as I just want to get the fix out.
2012-12-24 20:19:32 +01:00
Stein Magnus Jodal
51944c5a25 Release v0.11.0 2012-12-24 10:55:13 +01:00
Stein Magnus Jodal
e7d9a1bcdb docs: Update changelog for v0.11.0 2012-12-24 10:54:50 +01:00
Stein Magnus Jodal
f0ba9dd31c Bump version number to 0.11.0 2012-12-24 10:48:29 +01:00
Stein Magnus Jodal
5842eabf87 Merge remote-tracking branch 'trygveaa/lookup-not-unavailable' into develop 2012-12-24 02:17:35 +01:00
Trygve Aaberge
31ddbbc017 spotify: Use TRACK_AVAILABLE constant 2012-12-24 02:07:34 +01:00
Stein Magnus Jodal
cde29d9946 Merge pull request #292 from trygveaa/lookup-not-unavailable
spotify: Only return available tracks from lookups
2012-12-23 16:45:24 -08:00
Trygve Aaberge
75279721fb spotify: Return [] instead of None in _lookup_track 2012-12-24 01:41:08 +01:00
Trygve Aaberge
2a487ecd30 spotify: Fix flake8 warnings 2012-12-24 01:40:41 +01:00
Stein Magnus Jodal
fdd4ac19ae spotify: Fix wrong search return type 2012-12-24 01:21:08 +01:00
Stein Magnus Jodal
30a78ba84b mpd: Minor refactoring 2012-12-24 01:09:50 +01:00
Trygve Aaberge
8da2495e83 spotify: Only return available tracks from lookups 2012-12-24 00:29:37 +01:00
Thomas Adamcik
bbd8630d88 Merge pull request #288 from jodal/feature/mpd-album-artist-search-results
Include albums and artists in MPD search results
2012-12-23 09:52:02 -08: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
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
c81d1d77bf fab: Make 'test' and 'autotest' able to run a subset of the tests 2012-12-23 16:30:59 +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
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