Jens Luetjen
606e87b1bb
Make export/restore state internal
...
- drop filename parameter
- make save_state/load_state internal
- remove save_state/load_state from docu and RPC.
- remove models load/save from docu
- build the config path
- folder for 'core' state files
- move restore_state-to-coverage-translation into a method
2016-01-14 19:56:38 +01:00
Jens Luetjen
0b0cbc87d4
Merge branch 'develop' into fix/310-persist-mopidy-state-between-runs
...
Conflicts:
docs/changelog.rst
Fixed conflict in doc/changelog.rst
2016-01-05 08:16:51 +01:00
Jens Luetjen
e9625e9feb
core: Fix #310 : Persist mopidy state between runs.
...
Persist following properties:
mopidy.core.tracklist
_tl_tracks
_next_tlid
get_consume()
get_random()
get_repeat()
get_single()
mopidy.core.history
_history
mopidy.core.playlist
get_current_tl_track()
get_time_position()
mopidy.core.mixer
get_volume()
Details:
- moved json export/import write_library()/load_library() from mopidy/local to mopidy/models
- new core methods save_state(), load_state()
- save_state(), load_state() accessible via rpc
- save state to disk at stop
- load state from disk at start
- new config: core.restore_state ("off", "load", "play")
TODO:
- seek to play position does not work. Timing issue.
- use extra thread to load state from disk at start?
2015-12-27 19:28:41 +01:00
Thomas Kemmer
ef1468d8d6
core: Add PlaylistsController.get_uri_schemes().
2015-12-13 19:02:33 +01:00
Nick Steel
8234d38a5d
docs: deprecated section headings were mixed up
2015-11-07 15:28:13 +00:00
Ben Evans
9bc78ac10e
docs: JS block fix
2015-08-22 01:06:30 +01:00
Thomas Adamcik
edd7afb174
docs: Add some notes about validation that are performed
2015-07-22 19:31:02 +02:00
Thomas Adamcik
bb19e99af5
docs: Add httpclient to API docs
2015-05-09 00:48:11 +02:00
Stein Magnus Jodal
4c8c8cd927
docs: Don't refer to when.js before it's introduced
2015-05-07 22:39:35 +02:00
Stein Magnus Jodal
6fe382f37e
docs: Mopidy.js supports by-name parameters
...
Since Mopidy 0.19 / Mopidy.js 0.4
2015-05-07 22:34:15 +02:00
Stein Magnus Jodal
d0418d625b
docs: Link from JS docs to static web client example
2015-05-07 21:49:08 +02:00
Stein Magnus Jodal
f96a22e5cb
docs: Remove note on how to access core attributes
...
The corresponding methods are now fully documented and the old
attributes are deprecated.
2015-05-07 21:49:08 +02:00
Stein Magnus Jodal
622a3c5494
docs: Group API docs in sections
2015-05-07 21:39:54 +02:00
Stein Magnus Jodal
526216b61b
docs: Remove note header
2015-05-07 21:15:16 +02:00
Stein Magnus Jodal
d02f7dca18
docs: Move frontend API between core and backend
2015-05-07 21:15:06 +02:00
Stein Magnus Jodal
ccecf6b6bf
docs: Remove plurality from backends/frontends API docs
2015-05-07 21:08:02 +02:00
Stein Magnus Jodal
ae07603da0
docs: Add module name to API docs headers
...
In the same way the Python stdlib docs does.
2015-05-07 21:02:25 +02:00
Stein Magnus Jodal
746c3059ba
Merge pull request #1160 from adamcik/feature/model-corner-case-handling
...
Move new models features to new class
2015-05-05 08:08:05 +02:00
Thomas Adamcik
85871fb33d
docs: Improve fields documentation
2015-05-05 00:00:22 +02:00
Stein Magnus Jodal
624a69251f
docs: Move Backend API docs to after Core API
2015-05-03 21:55:00 +02:00
Thomas Adamcik
461061f1be
docs: Refresh of remaining parts of core API docs
2015-04-24 00:30:40 +02:00
Thomas Adamcik
830a19ca70
core: Refresh PlaylistsController documentation
2015-04-24 00:24:19 +02:00
Thomas Adamcik
88f2905133
core: Refresh LibraryController documentation
2015-04-24 00:18:53 +02:00
Thomas Adamcik
996af72af7
docs: Refresh PlaybackController documentation
2015-04-24 00:14:22 +02:00
Thomas Adamcik
b6b1bb2489
docs: Add warning above deprecated section in core
2015-04-24 00:14:01 +02:00
Thomas Adamcik
907f920f18
docs: Make it more clear what each part of core does right away
2015-04-24 00:13:30 +02:00
Thomas Adamcik
0afe8ef54c
docs: Improve core actor docs
2015-04-23 23:42:30 +02:00
Thomas Adamcik
c897877a71
docs: Manually split tracklist class documentation
2015-04-23 21:48:07 +02:00
Thomas Adamcik
05244f7e60
models: Deprecate copy and add replace method
...
Changed as with the memoization copy was lying, so replace is a better name.
2015-04-08 01:41:50 +02:00
Thomas Adamcik
9b442e1563
review: Address review comments
2015-04-06 23:27:46 +02:00
Stein Magnus Jodal
26d07b2cfe
docs: Remove API stability disclaimers
...
Not as if we've had the freedom to break anything for ages anyway.
Fixes #1049
2015-03-18 22:10:48 +01:00
Stein Magnus Jodal
5be2849547
docs: Add missing models to graph, reorder model docs
2015-03-14 21:51:37 +01:00
Stein Magnus Jodal
19e120582d
docs: Update API concepts
2015-03-14 21:06:28 +01:00
Stein Magnus Jodal
82b94693f9
docs: Add Image to model relation graph
2015-02-13 01:39:57 +01:00
Stein Magnus Jodal
42115c56f7
core: Add mixer controller ( fixes : #962 )
...
Deprecate volume and mute methods on playback controller.
2015-02-12 10:31:16 +01:00
Stein Magnus Jodal
5b614e95d6
Update to Mopidy.js 0.5.0
2015-01-31 22:15:40 +01:00
Thomas Adamcik
5513cbcfb1
audio: Update audio taglist key documentation
2014-12-27 23:28:19 +01:00
Stein Magnus Jodal
496142c201
py3: Use absolute imports by default
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
39bee603fa
docs: Add HistoryController to core API
2014-09-23 18:55:37 +02:00
Stein Magnus Jodal
d6e0c8d7e6
js: Move Mopidy.js source code to a new Git repo
2014-09-11 21:49:58 +02:00
Stein Magnus Jodal
1dfd14615a
docs: Include mixers in concepts
2014-08-20 00:46:30 +02:00
dz0ny
bbc946a4c2
Add mention for HTTP API explorer in relevant places.
2014-07-20 18:35:47 +02:00
Stein Magnus Jodal
4679bc0939
docs: Reference the extension pages instead of maintaining multiple lists
2014-07-17 02:15:58 +02:00
Stein Magnus Jodal
a361da25d1
docs: Link to software mixer page
2014-07-17 01:34:16 +02:00
Stein Magnus Jodal
b24835163b
docs: Show full exception path
2014-07-17 01:31:46 +02:00
Stein Magnus Jodal
b8de7fa75c
mixer: Add MixerListener
2014-07-10 01:00:35 +02:00
Stein Magnus Jodal
83f1d00944
docs: Add {Backend,Frontend,Mixer}Error guidelines to backend/frontend/mixer APIs
2014-07-09 23:49:06 +02:00
Stein Magnus Jodal
aa2cb12b9c
docs: Add Mopidy-SoftwareMixer to the mixer impl list
2014-07-08 01:56:57 +02:00
Stein Magnus Jodal
297aac4f5a
docs: Add Mopidy-ALSAMixer to mixer impl list
2014-07-06 21:33:51 +02:00
Stein Magnus Jodal
9ca4dae167
mixer: Add mixer API
2014-07-06 21:32:59 +02:00