Commit Graph

2482 Commits

Author SHA1 Message Date
Stein Magnus Jodal
3d847862ae mpris: Use add(uri=uri) instead of add(lookup(uri)) 2013-03-31 00:19:50 +01: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
bfd2010639 core: Let tracklist.add() lookup tracks by URI 2013-03-31 00:13:59 +01:00
Thomas Adamcik
27d424ff5b Merge pull request #360 from jodal/feature/mopidy-for-node
Mopidy.js on Node.js
2013-03-30 15:25:36 -07:00
Stein Magnus Jodal
7e0b16680c Merge remote-tracking branch 'herrernst/fix-non-ascii-paths' into develop 2013-03-30 14:59:13 +01:00
Stein Magnus Jodal
8a8a5109d6 audio: Remove redundant logging 2013-03-30 14:57:37 +01:00
Stein Magnus Jodal
631afff031 Merge pull request #362 from kingosticks/feature/doc-settings-typo
Wrong module path for StreamBackend example in settings.BACKENDS doc string
2013-03-30 05:18:39 -07:00
Stein Magnus Jodal
9e5f0703c7 audio: Fix UnicodeDecodeError when logging errors
Fixes #347
2013-03-30 13:16:21 +01:00
Nick Steel
13f39c8bf7 Wrong module path for StreamBackend example 2013-03-30 11:54:06 +00:00
Zan Dobersek
129894c01e Clean up gst.Caps initialization
There's no need for appending every audio/x-raw-* structure to the gst.Caps
individually, they can all be listed inline inside the gst.Caps initialization.
(cherry picked from commit 13f0bfffe17c07ddbc3a8e5fc1e29c0015502392)
2013-03-30 01:56:07 +01:00
Zan Dobersek
228f9bbf6b Scanner doesn't work with Ogg Vorbis files
Enhance the caps for the uridecodebin element by appending to them structures covering
both audio/x-raw-int and audio/x-raw-float formats.
(cherry picked from commit bc33fce7b1e30745a4d2fc7e96e1a3c2640cc40e)
2013-03-30 01:55:22 +01:00
Nick Steel
1c0601e9d4 Append the Spotify playlist's owner to the playlist name for followed (subscribed) playlists
(cherry picked from commit 176d3cca652ebbc98b68470ffa400e785ce20661)
2013-03-30 01:44:16 +01:00
Stein Magnus Jodal
461265f121 docs: Add Node.js installation instructions 2013-03-30 01:09:34 +01:00
herrernst
5214927d14 fix lookup of filenames containing non-ascii characters 2013-03-24 15:01:09 +01:00
Stein Magnus Jodal
f843b32e88 Turn thread traceback logger on by default
It no longer requires an additional thread to work and it is very useful to
have this enabled when you hit an issue that is hard to reproduce.
2013-03-24 00:24:13 +01:00
Stein Magnus Jodal
c90322f1e2 Use thread traceback logger from Pykka 1.1 2013-03-24 00:23:50 +01:00
Stein Magnus Jodal
fc76318f20 models: Comment Album.images not preserving order 2013-03-24 00:03:42 +01:00
Stein Magnus Jodal
dffea519a7 core: Warn if track isn't playable 2013-03-23 23:48:18 +01:00
Stein Magnus Jodal
49c8062ba6 mpris: Add discNumber support 2013-03-23 20:58:22 +01:00
Stein Magnus Jodal
50cce23d82 mpris: Add artUrl support 2013-03-23 20:46:43 +01:00
Stein Magnus Jodal
eb459c81f0 docs: library.{find_exact,search}() returns all tracks if no query 2013-03-22 08:33:44 +01:00
Stein Magnus Jodal
02b845bd4b Revert "Merge pull request #231 from adamcik/feature/end-of-track"
This reverts commit 1cf9826f87, reversing
changes made to 711dbe8738.
2013-03-19 23:23:14 +01:00
Stein Magnus Jodal
cf2d22c281 js: Upgrade when.js from 1.6.1 to 1.8.1 2013-03-12 23:39:14 +01:00
Stein Magnus Jodal
51b782e926 js: Migrate Grunt from 0.3 to 0.4 2013-03-12 23:28:54 +01:00
Stein Magnus Jodal
71e25e751d Merge branch 'master' into develop
Conflicts:
	docs/changes.rst
	mopidy/audio/utils.py
	mopidy/backends/stream/actor.py
	tests/backends/base/events.py
2013-03-12 21:09:14 +01:00
Stein Magnus Jodal
0318e6e47c Bump version number to 0.12.0 2013-03-12 21:03:48 +01:00
Stein Magnus Jodal
57a287ecea docs: Add more periods for consistency 2013-03-12 20:23:40 +01:00
Stein Magnus Jodal
6b052165d8 docs: Add period for consistency 2013-03-12 20:23:40 +01:00
Thomas Adamcik
9314f2df5c audio: Move supported URI checking to mopidy.audio.utils
In order to avoid gstreamer imports leaking into more of our code I'm moving
this to a new utils class in audio.
2013-03-12 20:23:39 +01:00
Thomas Adamcik
6a0e80a5c3 core: Update BaseLibraryProvider to not require refresh, search or find_exact.
These methods may now return None, and the core code has been updated to filter
out missing SearchResults.
2013-03-12 20:23:39 +01:00
Thomas Adamcik
795926cfa8 stream backend: Add StreamBackend, fixes #151
Adds a basic streaming backend simply handles streaming audio and nothing else.
I.e. no metadata beyond the URI we where given. #270 still needs to be solved
for actual metadata to make sense in this backend.
2013-03-12 20:23:39 +01:00
Stein Magnus Jodal
f675a7e01d js: Make 'Mopidy()' work without 'new' 2013-03-12 20:10:50 +01:00
Stein Magnus Jodal
b1e58f7079 Fix more unicode kwargs dict keys (#302) 2013-03-12 20:09:13 +01:00
Stein Magnus Jodal
e0f220921e models: Support serialization of lists of strings 2013-03-12 20:09:05 +01:00
Stein Magnus Jodal
d2a51f7128 models: Add Album.num_discs (#286) 2013-03-12 20:08:52 +01:00
Stein Magnus Jodal
f3ccf871e5 models: Add Track.disc_no (#286) 2013-03-12 20:08:44 +01:00
Stein Magnus Jodal
bb9ef63a42 models: Add Album.images field (#263) 2013-03-12 20:08:24 +01:00
Stein Magnus Jodal
04b24b4a37 core: Add 'include_tracks' argument to 'get_playlists()'
Conflicts:
	docs/changes.rst
2013-03-12 20:07:11 +01:00
Stein Magnus Jodal
5c6a2e02ba Fix more unicode kwargs dict keys (#302) 2013-03-12 20:06:07 +01:00
Stein Magnus Jodal
3ab6748c33 mpd: Make request handler **kwargs keys bytestrings (#302) 2013-03-12 20:05:12 +01:00
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
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
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
7bad64fccc audio: Add docstring to DummyAudio 2013-02-25 23:11:41 +01:00