Commit Graph

5376 Commits

Author SHA1 Message Date
Stein Magnus Jodal
4cd545e147 Merge branch 'trygveaa/feature/mpd-browse-playlists' into develop 2014-06-20 22:19:48 +02:00
Trygve Aaberge
496b3f5552 mpd: Test playlists in listall(info) 2014-06-20 22:16:27 +02:00
Stein Magnus Jodal
a84622e9b7 docs: Add PR#750 to changelog 2014-06-20 22:15:43 +02:00
Stein Magnus Jodal
0fa47c86bb Merge pull request #750 from adamcik/fix/gh-687-playlist-handling
Fix/gh 687 playlist handling
2014-06-20 22:11:12 +02:00
Thomas Adamcik
e7b39bd051 audio: Handle carriage return in playlist detection 2014-06-20 21:31:12 +02:00
Thomas Adamcik
c87684aa6b audio: Handle all caps ASX tags.
Also add support for simple asx format.
2014-06-20 21:31:03 +02:00
Thomas Adamcik
8f70899855 mpd: Minor code style tweak. 2014-06-20 21:10:34 +02:00
Thomas Adamcik
e3e9ce253f Merge pull request #749 from trygveaa/feature/mpd-browse-playlists
mpd: Support playlists in browse
2014-06-20 21:08:27 +02:00
Thomas Adamcik
993faf5d20 Merge pull request #748 from jodal/feature/js-calling-convention-warning
Log warning if no Mopidy.js calling convention explicitly selected
2014-06-20 21:01:58 +02:00
Trygve Aaberge
6c4ecae068 mpd: Support playlists in browse
Playlists are containers similar to directories. Treat them equally to
support playlists when browsing.
2014-06-20 20:31:09 +02:00
Stein Magnus Jodal
0ca734c22f docs: Update authors 2014-06-20 19:41:02 +02:00
Stein Magnus Jodal
d15c7d0797 js: Log warning if calling convention is not explicitly set 2014-06-20 11:16:46 +02:00
Stein Magnus Jodal
c5028a8576 js: Fix console setup, allow mocking of the console 2014-06-20 11:16:15 +02:00
Stein Magnus Jodal
5c726c3228 docs: Lift manpage a level up since we only have one command now 2014-06-20 00:13:06 +02:00
Stein Magnus Jodal
5cff531173 docs: Changelog tweaks 2014-06-19 23:57:51 +02:00
Stein Magnus Jodal
56ad78c333 docs: Add more details on Mopidy.js calling convention 2014-06-19 23:57:35 +02:00
Stein Magnus Jodal
c8cb2e8b79 docs: Fix duplicate cmdoption usage 2014-06-19 23:37:16 +02:00
Stein Magnus Jodal
6c80476d2a docs: Fix broken reference 2014-06-19 23:36:41 +02:00
Thomas Adamcik
ce4cc4915e Merge pull request #746 from jodal/feature/js-calling-convention
Add by-name calling convention to Mopidy.js
2014-06-19 23:20:18 +02:00
Stein Magnus Jodal
5484abf3da docs: Add ncmpcpp library view slowness workaround
Based on comments in #727.
2014-06-19 23:08:39 +02:00
Stein Magnus Jodal
225f41f999 js: Add by-position-or-by-name calling convention
Fixes #699
2014-06-18 23:27:07 +02:00
Stein Magnus Jodal
149287c06a js: Don't include params if method is called without arguments 2014-06-18 22:22:42 +02:00
Stein Magnus Jodal
858a6977df js: Add callingConvention setting
For now it defaults to the existing behavior "by-position-only" and changing it
has no effect.
2014-06-17 20:57:55 +02:00
Stein Magnus Jodal
198bd8af6c js: Use .catch() to simplify error handling 2014-06-17 20:41:35 +02:00
Stein Magnus Jodal
9ed17b222a js: Test existing call convention 2014-06-17 20:26:45 +02:00
Stein Magnus Jodal
6864cc97ea docs: Improve Mopidy.js promise usage examples
Thanks to @briancavalier for the review!
2014-06-16 23:46:17 +02:00
Stein Magnus Jodal
3cf1973652 docs: Fix typo 2014-06-16 23:45:52 +02:00
Stein Magnus Jodal
d9d8d06ff4 js: Release Mopidy.js v0.3.0 2014-06-16 23:11:39 +02:00
Stein Magnus Jodal
64d39f98d3 js: Update package.json with all recommended fields 2014-06-16 23:11:15 +02:00
Stein Magnus Jodal
785c469ec4 js: Include package version in built files 2014-06-16 23:10:39 +02:00
Thomas Adamcik
af238d5259 Merge pull request #744 from jodal/feature/js-updates
Various updates to Mopidy.js
2014-06-16 22:26:29 +02:00
Stein Magnus Jodal
fa8f2652df docs: Nitpicking 2014-06-16 00:42:21 +02:00
Stein Magnus Jodal
681c2d1560 docs: Improve Mopidy.js Promise usage examples 2014-06-16 00:39:38 +02:00
Stein Magnus Jodal
76d13b6efd docs: Document Mopidy.js settings (fixes #702) 2014-06-16 00:38:40 +02:00
Stein Magnus Jodal
13205bee5f js: Connect to /mopidy/ws without trailing slash
This is the recommended URL since the switch to Tornado as web server.
2014-06-15 23:43:44 +02:00
Stein Magnus Jodal
ee9d19fc6e js: Fix unhandled promise rejection in test 2014-06-15 23:43:44 +02:00
Stein Magnus Jodal
30471bab74 js: Add ServerError and ConnectionError types 2014-06-15 23:43:43 +02:00
Stein Magnus Jodal
026fdb38a3 js: Reject promises using Error objects
This is recommended to get proper stack traces, according to
https://github.com/cujojs/when/blob/master/docs/api.md#a-note-on-javascript-errors.

The new Error objects has the exact same properties as the objects we used to
reject promises previously, thus this should be fully backwards compatible, but
improve debuggability.
2014-06-15 23:43:39 +02:00
Stein Magnus Jodal
4a609ce95d js: Add TODOs for rejecting promises with Error
This is recommended to get proper stack traces, according to
https://github.com/cujojs/when/blob/master/docs/api.md#a-note-on-javascript-errors
2014-06-15 12:31:52 +02:00
Stein Magnus Jodal
cb04b81bf4 js: Simplify _send() rejections 2014-06-15 12:16:39 +02:00
Stein Magnus Jodal
eec51a1e83 js: Upgrade to when.js 3 2014-06-15 12:14:14 +02:00
Stein Magnus Jodal
c40c70a90b js: Update dev dependencies 2014-06-15 10:16:39 +02:00
Stein Magnus Jodal
0167986b98 js: Pass grunt-browserify errors on 2014-06-15 10:12:23 +02:00
Stein Magnus Jodal
7b71e64553 js: Update test deps 2014-06-12 20:52:53 +02:00
Stein Magnus Jodal
6cbb15bd15 js: Update dev env instructions 2014-06-12 20:47:15 +02:00
Janez Troha
5cd685285b Add: More detailed icecast example 2014-06-06 14:39:49 +02:00
Stein Magnus Jodal
05f6b424ef commands: Fix typo 2014-06-05 09:20:41 +02:00
Stein Magnus Jodal
67b88b6992 docs: Add web app section to extensiondev guide 2014-06-04 21:58:03 +02:00
Stein Magnus Jodal
720a403439 http: Remove unused Router class 2014-06-04 21:32:54 +02:00
Stein Magnus Jodal
33228f2528 http: Simplify app registration 2014-06-04 21:32:19 +02:00