Commit Graph

5828 Commits

Author SHA1 Message Date
Lukas Vogel
c8bc0afc93 reintroduce generator expression 2014-10-23 12:31:55 +02:00
Lukas Vogel
f0574d1c8e fixed embarassing bug left over from refactoring to meet coding standards 2014-10-23 03:24:18 +02:00
Lukas Vogel
f499dafe13 Escape newline characters when dispatching data 2014-10-23 02:57:57 +02:00
Stein Magnus Jodal
c84ed733ee Merge pull request #874 from adamcik/feature/improve-find-and-scan-code
Feature/improve find and scan code
2014-10-20 14:07:46 +02:00
Thomas Adamcik
b9a7a9d2b6 local: Add follow symlinks setting 2014-10-17 20:08:33 +02:00
Thomas Adamcik
369edab76d utils/path: Make it more clear that we are not following symlinks 2014-10-17 20:08:12 +02:00
Thomas Adamcik
d4f47a34c2 local: Move Hidden file/directory check to excluded extensions check 2014-10-17 16:52:01 +02:00
Thomas Adamcik
43d8062094 util/path: s/os.error/OSError/ 2014-10-17 16:46:33 +02:00
Thomas Adamcik
5bf6b779ac local: Add basic logging of scan errors 2014-10-15 23:56:59 +02:00
Thomas Adamcik
3dc0a06ffe local: Fix skipping of hidden file/directories 2014-10-15 23:54:52 +02:00
Thomas Adamcik
063c757570 utils/path: Add support for handling sym/hardlink loops 2014-10-15 23:46:08 +02:00
Thomas Adamcik
54a89038d3 utils/path: Don't skip hidden files and folders in generic find code
Updates the local scan code to do this instead.
2014-10-15 23:45:49 +02:00
Thomas Adamcik
9b1d20677d tests: Cleanup find tests to use tempfile all over.
This should make it more clear what structure we expect.
2014-10-15 23:45:27 +02:00
Thomas Adamcik
69fa6f4674 tests: Test symlink that points to it's own parent. 2014-10-15 23:45:22 +02:00
Thomas Adamcik
93c0d6cc44 tests: Update no permission test to use tempfile. 2014-10-15 23:45:12 +02:00
Thomas Adamcik
b2419f9814 tests: Add test case for a symlink pointing at itself 2014-10-15 23:45:03 +02:00
Thomas Adamcik
ebb62885cd util/path: Add basic support for following symlinks 2014-10-15 23:44:48 +02:00
Thomas Adamcik
682af27348 tests: Add test case for file without permissions. 2014-10-15 23:44:41 +02:00
Thomas Adamcik
d219bab0b2 tests: Add test for directory without permission behaviour 2014-10-15 23:44:01 +02:00
Thomas Adamcik
de5fe5ebab tests: Add test for current find symlink handling 2014-10-15 23:43:13 +02:00
Thomas Adamcik
a8017dfef1 tests: Start adding checks for find errors 2014-10-15 23:42:36 +02:00
Thomas Adamcik
de4bdbec03 tests: Minor cleanup of the existing find tests 2014-10-15 23:42:15 +02:00
Thomas Adamcik
2447e2fa40 util/path: Expose errors to callers of find helper 2014-10-15 23:42:12 +02:00
Stein Magnus Jodal
c7a6a2abd9 docs: Fix typo 2014-10-14 21:09:46 +02:00
Stein Magnus Jodal
a1aad39c13 docs: Replace /etc/mopidy/extensions.d with /usr/share/mopidy/conf.d 2014-10-13 23:14:44 +02:00
Stein Magnus Jodal
31c874b3eb docs: Make extensiondev example and API docs for validate_environment() match 2014-10-12 11:40:59 +02:00
Stein Magnus Jodal
933cbe1dce docs: Update Debian docs with 'mopidyctl' 2014-10-11 16:40:10 +02:00
Thomas Adamcik
b2c1b9d4db readme: s/Mailing/Announcement/ 2014-09-27 00:17:23 +02:00
Thomas Adamcik
2665a5521b audio: Add gst.DEBUG_BIN_TO_DOT_FILE pipeline debuging 2014-09-26 23:51:33 +02:00
Stein Magnus Jodal
7856c14b26 tests: Use with stmt for assertRaises 2014-09-25 23:03:35 +02:00
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