Stein Magnus Jodal
924dae4628
js: Ignore node_modules dirs
2012-11-29 00:16:05 +01:00
Stein Magnus Jodal
bc151b32a7
http: Rewrite example to avoid jQuery use
2012-11-28 19:42:34 +01:00
Stein Magnus Jodal
df6df5b46a
http: Minor HTML/CSS tweaks
2012-11-28 19:35:17 +01:00
Stein Magnus Jodal
67c92ceab9
http: Move resource details to /mopidy/ page
2012-11-28 19:19:06 +01:00
Stein Magnus Jodal
c1e60ba378
http: Add /mopidy/ static dir that is always available
2012-11-28 19:18:13 +01:00
Stein Magnus Jodal
96a31adf63
http: Use CSS file from mopidy.com
2012-11-28 19:17:46 +01:00
Stein Magnus Jodal
b4ad0b0830
http: Move WebSocket to /mopidy/ws/
2012-11-28 15:59:08 +01:00
Stein Magnus Jodal
b1fe802473
http: Doc API instability
2012-11-28 15:21:53 +01:00
Stein Magnus Jodal
f7eaa48868
http: Doc WebSocket messaging formats
2012-11-28 15:21:38 +01:00
Stein Magnus Jodal
27291c8fac
http: Doc security considerations
2012-11-28 15:21:13 +01:00
Stein Magnus Jodal
37164c6b04
http: Remove empty test file for the WebSocket
...
All the logic has been moved into mopidy.utils.jsonrpc, and all that remains of
mopidy.frontends.http.ws is simple wiring that isn't worth testing.
2012-11-27 23:25:16 +01:00
Stein Magnus Jodal
7d047acc2e
Merge branch 'develop' into feature/http-frontend
2012-11-25 22:04:53 +01:00
Stein Magnus Jodal
f1dbdc9464
Merge pull request #257 from jodal/feature/json-rpc
...
Add generic JSON-RPC 2.0 object wrapper
2012-11-25 13:02:50 -08:00
Stein Magnus Jodal
160626b364
jsonrpc: Give explicit error if calling method without object path
2012-11-25 21:51:59 +01:00
Stein Magnus Jodal
8f604204da
jsonrpc: Don't allow objects at the root
2012-11-25 21:42:28 +01:00
Stein Magnus Jodal
b33df8200a
jsonrpc: Grammar
2012-11-25 21:25:00 +01:00
Stein Magnus Jodal
50814d3929
jsonrpc: Explain why a method wasn't found
2012-11-25 21:23:55 +01:00
Stein Magnus Jodal
609fdc46ca
jsonrpc: Explain why call to private method failed
2012-11-25 21:13:55 +01:00
Stein Magnus Jodal
253695222b
jsonrpc: Clearify usage docs
2012-11-25 20:58:34 +01:00
Stein Magnus Jodal
869fcd2d8e
jsonrpc: Move future handling code to its own method
2012-11-25 20:42:48 +01:00
Stein Magnus Jodal
7f987cb1e2
jsonrpc: Lookup methods using the objects map directly
2012-11-25 20:36:04 +01:00
Thomas Adamcik
b3eef8f08d
Merge pull request #261 from jodal/feature/cache-models
...
spotify: Reuse artist, album, and track models
2012-11-25 07:52:28 -08:00
Stein Magnus Jodal
66d76d38b3
http: Unbreak tests
2012-11-25 09:12:22 +01:00
Stein Magnus Jodal
c1bf69f732
http: Expose core API using JSON-RPC over WebSocket
2012-11-25 08:53:04 +01:00
Stein Magnus Jodal
90663021a4
Merge branch 'feature/json-rpc' into feature/http-frontend
2012-11-25 08:39:20 +01:00
Stein Magnus Jodal
5a05b4af9d
jsonrpc: Doc diff between wrapper and inspector
2012-11-25 08:20:39 +01:00
Stein Magnus Jodal
40f4a8181d
jsonrpc: Wrapper takes a mapping between mounts and objects
...
This is analogous to how the inspector takes a mapping between mounts and
classes.
2012-11-25 08:03:26 +01:00
Stein Magnus Jodal
569ee6c5f3
jsonrpc: Add inspector that describes the available API
2012-11-24 00:57:08 +01:00
Stein Magnus Jodal
6403e3e3d1
spotify: Reuse artist, album, and track models
...
This adds a module-level cache of artist, album, and track models, whose
content is almost entirely static. This cache is used when we convert from
pyspotify to Mopidy objects.
Previously, an album with 15 tracks would create 15 track objects, 15 artists
objects on the tracks, 15 album objects on the tracks, and 15 artist objects on
the 15 album objects, in total 60 objects. With this change, we only create 15
track objects, 1 album object, and 1 artist object, in total 17 objects.
Measurements with 90 playlists containing about 6500 tracks in total shows that
this reduces the number of Artist objects from 13600 to 3800, and the number of
Album objects from 6500 to 4500 objects.
An unscientific measurement of memory usage using ps(1) indicated a reduction
in RSS from 71MB to 65MB, measured right after the Spotify playlists was loaded
the first time.
2012-11-23 12:48:41 +01:00
Stein Magnus Jodal
ec639d17ae
docs: Unbreak build
2012-11-23 12:47:57 +01:00
Stein Magnus Jodal
b71b0751b8
Merge remote-tracking branch 'cjohansen/patch-2' into develop
...
Conflicts:
docs/installation/index.rst
2012-11-23 01:19:32 +01:00
Christian Johansen
c53f6838a6
Un-"fix" Ubuntu typo
2012-11-23 00:54:38 +01:00
Christian Johansen
18b5496aff
Typo! python-pip is actually pip-python
...
Mass confusion: The package is called python-pip, the binary is pip-python
2012-11-23 00:46:05 +01:00
Stein Magnus Jodal
42c7db0018
Merge pull request #259 from cjohansen/patch-1
...
Add installation instructions for Fedora
2012-11-22 15:41:56 -08:00
Christian Johansen
622b98502c
Add installation instructions for Fedora
2012-11-23 00:38:36 +01:00
Stein Magnus Jodal
29e2178a79
jsonrpc: Document encoders/decoders arguments
2012-11-22 15:31:03 +01:00
Stein Magnus Jodal
61d6de2378
jsonrpc: Support methods on the root object
2012-11-22 15:30:34 +01:00
Stein Magnus Jodal
6e2ffb0820
jsonrpc: Make dict returns from plain objects work
2012-11-22 12:11:22 +01:00
Stein Magnus Jodal
b038c4c2db
Add generic JSON-RPC 2.0 object wrapper
...
This can wrap multiple objects, which can be both plain objects and Pykka
actors. To my knowledge, everything in the spec is supported.
2012-11-21 23:51:05 +01:00
Stein Magnus Jodal
d153fa6b59
Remove rogue commas making tuples of my strings
2012-11-21 10:42:33 +01:00
Stein Magnus Jodal
6cb2d6293d
Improve fix for #256
...
- Forgot to decode result from glib.get_user_config_dir()
- glib.USER_DIRECTORY_MUSIC isn't always defined
2012-11-21 10:30:06 +01:00
Stein Magnus Jodal
26e6b2e730
Fix crash when XDG variables contain non-ASCII characters ( fixes #256 )
2012-11-21 10:20:08 +01:00
Stein Magnus Jodal
33e268c79b
docs: Create changelog for v0.10
2012-11-21 10:17:25 +01:00
Stein Magnus Jodal
db5c671bd4
http: Remove the REST API
2012-11-21 02:10:32 +01:00
Stein Magnus Jodal
532a915db8
Merge branch 'develop' into feature/http-frontend
2012-11-21 02:02:58 +01:00
Stein Magnus Jodal
5a463cfef9
Release v0.9.0
2012-11-21 01:43:46 +01:00
Stein Magnus Jodal
a5d222dee3
Update changelog for v0.9.0
2012-11-21 01:43:16 +01:00
Stein Magnus Jodal
88eef7de49
Bump version number to 0.9.0
2012-11-21 01:42:51 +01:00
Stein Magnus Jodal
bb32ff6b6b
mpd: Don't use the \S regexp group
2012-11-21 01:35:21 +01:00
Stein Magnus Jodal
ab906c5684
Revert "mpd: Change to interpret regexp groups with the old locale semantics"
...
This reverts commit 50708f9fd7 .
2012-11-21 01:34:49 +01:00