Commit Graph

5790 Commits

Author SHA1 Message Date
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
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
Dmitry Sandalov
225092add5 fixes docs typo: AngularJS 2014-09-09 11:10:05 +04:00
Stein Magnus Jodal
37c736533d Remove Pykka version check
This check was made redundant with our move to setuptools. The executables
made by setuptools checks if all our Python dependencies are available in the
required versions before starting Mopidy.
2014-09-09 08:38:14 +02:00
Stein Magnus Jodal
eb97b55d88 Keep gobject check together with the other checks 2014-09-09 08:35:21 +02:00
Stein Magnus Jodal
2050385a5f Update Python and Pykka version check error messages 2014-09-09 08:24:42 +02:00
Thomas Adamcik
a91183759d Merge pull request #846 from jodal/fix/836-gobject-import-error
Print friendly error message if gobject isn't found
2014-09-08 21:34:04 +02:00
Stein Magnus Jodal
db4868207c Print friendly error message if gobject isn't found
Fixes #836
2014-09-08 21:15:14 +02:00
Stein Magnus Jodal
12f9860e2d docs: Fix typo 2014-09-08 11:04:16 +02:00
Stein Magnus Jodal
e9e8124e90 docs: Fix formatting 2014-09-08 11:03:56 +02:00