Commit Graph

5798 Commits

Author SHA1 Message Date
Stein Magnus Jodal
07d088fc18 models: Use with stmts in exception tests 2014-09-24 18:26:25 +02:00
Stein Magnus Jodal
130b1eb32a docs: Define timestamp type 2014-09-23 20:55:16 +02:00
Thomas Adamcik
339221089d Merge pull request #864 from jodal/feature/history
Add history controller to core API
2014-09-23 20:43:03 +02:00
Stein Magnus Jodal
7b50855908 Merge remote-tracking branch 'mopidy/develop' into feature/history
Conflicts:
	docs/changelog.rst
2014-09-23 20:14:40 +02:00
Thomas Adamcik
a16cac2188 Merge pull request #862 from jodal/fix/clear-current-track
core: Remove clear_current_track argument from stop()
2014-09-23 19:54:59 +02:00
Stein Magnus Jodal
542cd3a3bb http: Add history controller to JSON-RPC API 2014-09-23 19:02:58 +02:00
Stein Magnus Jodal
d655be1033 docs: Update changelog 2014-09-23 18:55:57 +02:00
Stein Magnus Jodal
39bee603fa docs: Add HistoryController to core API 2014-09-23 18:55:37 +02:00
Stein Magnus Jodal
5317834baf history: Change size property to get_length() method
For consistency with tracklist.get_length() and our goal of aligning Python
and JS APIs by using less properties in the core API.
2014-09-23 18:47:54 +02:00
Stein Magnus Jodal
5a67339855 history: Cleanup history entry test 2014-09-23 18:47:39 +02:00
Stein Magnus Jodal
177f91fb27 history: Tweaking formatting and variable names 2014-09-23 18:45:24 +02:00
Stein Magnus Jodal
1f1e86023b history: Cleanup docstrings 2014-09-23 18:44:17 +02:00
Stein Magnus Jodal
d30cf68efd history: Raise TypeError if non-Tracks are added 2014-09-23 18:42:41 +02:00
Stein Magnus Jodal
ded43039bf history: Keep history in private attribute
So it is not accessible directly from other actors.
2014-09-23 18:38:38 +02:00
Stein Magnus Jodal
f3a6c10188 history: Import entire modules
For concistency with other code.
2014-09-23 18:37:18 +02:00
Stein Magnus Jodal
1f9c5c609a history: Use time.time() to get time since epoch 2014-09-23 18:34:50 +02:00
Stein Magnus Jodal
f8f06f4ec4 playback: Move comment so its next to the line it applies to 2014-09-23 18:33:24 +02:00
Stein Magnus Jodal
718405421d history: Rename class to HistoryController
For consistency with other core controllers.
2014-09-23 18:32:37 +02:00
Arjun Naik
c38b9f378f Use assertIn instead of assertTrue to test membership. 2014-09-23 18:09:12 +02:00
Arjun Naik
a6370b0a67 Switched track name and artist order in history object. 2014-09-23 18:09:12 +02:00
Arjun Naik
9006968f75 TrackHistory stores Ref instances. Timestamp as epoch in milliseconds also stored. 2014-09-23 18:09:12 +02:00
Arjun Naik
ed87ab8dd1 Added a playback history object to the core. 2014-09-23 18:09:11 +02:00
Stein Magnus Jodal
c629e105d7 docs: Update changelog with PR#840 2014-09-23 14:29:30 +02:00
Stein Magnus Jodal
1fcc75ba1e Merge pull request #840 from tkem/feature/local-library-lookup-multiple
local: Return multiple tracks from lookup()
2014-09-23 14:14:22 +02:00
Stein Magnus Jodal
d5de898b2d core: Remove clear_current_track argument from stop() 2014-09-23 01:10:51 +02:00
Thomas Adamcik
508391cf51 Merge pull request #855 from jodal/feature/emit-none-to-emit-eos
audio: Deprecate emit_end_of_stream
2014-09-22 22:58:32 +02:00
Thomas Adamcik
ac777c17d6 Merge pull request #861 from jodal/fix/837-model-eq
Cleanup model repr() and fix equality of models with fields set to default values
2014-09-22 22:32:49 +02:00
Stein Magnus Jodal
abed15b9e4 models: Make all fields default to None or empty collection 2014-09-22 22:25:42 +02:00
Stein Magnus Jodal
bdd1fb983b models: Fix equality for fields set to the default
Fixes #837
2014-09-22 22:01:50 +02:00
Stein Magnus Jodal
305a76486d models: Hide empty lists from repr() 2014-09-22 21:42:57 +02:00
Nick Steel
839108e7c5 docs: typo in Mopidy-HTTP 2014-09-21 22:49:27 +01:00
Stein Magnus Jodal
713bca384a docs: Update Mopidy-HTTP docs wrt the HTTP server-side API 2014-09-21 23:26:24 +02:00
Stein Magnus Jodal
00c17ae193 audio: Deprecate emit_end_of_stream 2014-09-21 21:01:11 +02:00
Stein Magnus Jodal
456faee948 docs: Remove duplicate extensions 2014-09-20 01:08:04 +02:00
Stein Magnus Jodal
52baf63992 docs: Put screenshot between description and install instructions 2014-09-20 01:05:34 +02:00
Stein Magnus Jodal
580e5b079f docs: Kuechenradio doesn't have a screenshot yet 2014-09-20 01:03:48 +02:00
Stein Magnus Jodal
0e2866df30 docs: Add Mopidy-HTTP-Kuechenradio 2014-09-20 01:01:32 +02:00
Stein Magnus Jodal
da18a599ac docs: Add install instructions for the web extensions 2014-09-20 00:57:34 +02:00
Stein Magnus Jodal
249dcf92c4 docs: More concistent format for web extensions 2014-09-20 00:55:33 +02:00
Stein Magnus Jodal
eedaf0eb3b docs: Add Mopidy-Musicbox-Webclient to the web extensions list 2014-09-20 00:49:57 +02:00
Stein Magnus Jodal
f58fe9a192 py3: Replace xrange() with range() 2014-09-17 20:28:07 +02:00
Stein Magnus Jodal
cd3d44ff6d py3: Use '0o' octal literal 2014-09-16 09:48:38 +02:00
Stein Magnus Jodal
c2810d0423 py3: Fix thread import 2014-09-16 09:46:16 +02:00
Stein Magnus Jodal
151986328e tasks: Pass path and coverage on to test task 2014-09-12 11:31:05 +02:00
Stein Magnus Jodal
8131f94530 js: Remove references to js/ dir 2014-09-11 22:16:11 +02:00
Stein Magnus Jodal
40089f490c docs: Update authors 2014-09-11 22:10:23 +02:00
Stein Magnus Jodal
4c6c7ce016 http: Update Mopidy.js to v0.4.1 2014-09-11 21:50:11 +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
4eacc911c9 Switch from Fabric to Invoke
We don't use any of the remote server features supported by Fabric, so better
to use the smaller, more modern, and Python 3 compatible Invoke.
2014-09-11 00:01:50 +02:00
Stein Magnus Jodal
b6d630d538 Merge pull request #848 from DmitrySandalov/develop
Fix docs typo
2014-09-09 09:14:39 +02:00