Thomas Adamcik
3cf1b13d49
Cleanup mopidy.utils.settings.
...
- Move to module import for stdlib
- Extract path manipulation code to a method
- Avoid uneeded copying of settings dict by binding current localy.
2012-09-16 17:47:51 +02:00
Thomas Adamcik
6bee352f47
Move trackback dumping to logger.
2012-09-16 16:24:36 +02:00
Thomas Adamcik
88f0ffb9f2
Add a debug thread that dumps tracebacks.
...
Start and extra thread that blocks on a threading event until SIGUSR1 is
received. Then dump the tracebacks for all threads except itself. This
is only really useful as a debug tool for deadlocks, so we might want to
hide it behind a flag?
2012-09-09 22:48:08 +02:00
Thomas Adamcik
ab7d0c4cc2
Don't block gobject event thread, fixes #150 .
2012-09-09 21:36:52 +02:00
Thomas Adamcik
8c038bbae6
Review cleanup.
2012-09-05 20:48:00 +02:00
Thomas Adamcik
114bc10ae8
Merge branch 'develop' into feature/switch-to-gst-mixers
...
Conflicts:
mopidy/gstreamer.py
2012-09-03 22:54:22 +02:00
Stein Magnus Jodal
5f8374a174
Use same wording in setting validation and docs
2012-09-03 22:32:57 +02:00
Stein Magnus Jodal
252984138f
Map old settings GSTREAMER_AUDIO_SINK and LOCAL_OUTPUT_OVERRIDE to the new OUTPUT setting
2012-09-03 22:32:44 +02:00
Stein Magnus Jodal
7866d62300
Improve docstring
2012-09-03 22:32:19 +02:00
Stein Magnus Jodal
6b41806eea
Merge remote-tracking branch 'adamcik/feature/simplify-outputs' into develop
...
Conflicts:
docs/changes.rst
mopidy/utils/settings.py
2012-09-03 22:08:52 +02:00
Thomas Adamcik
5a0199ac20
Remove MIXER_MAX_VOLUME setting.
2012-09-01 22:06:46 +02:00
Thomas Adamcik
40502e41e5
Update tests to catch scaling problem in mixer.
...
- Fixes problem where 60% became 59% due to bad rounding.
- Tests assume scale of 0-65536 which matches ALSA.
- Check all possible values of set_volume and ensure we the right value out.
2012-09-01 14:35:20 +02:00
Thomas Adamcik
b796d7c859
Add create fakemixer element for testing.
...
- GStreamer tests now use this instead of a real mixer.
- fakemixer and the autoaudiomixer still need to be moved.
- We should probably use a fakesink as output as well.
2012-09-01 13:34:16 +02:00
Stein Magnus Jodal
fbc9aef828
Merge remote-tracking branch 'adamcik/feature/settings-did-you-mean' into develop
2012-09-01 13:29:13 +02:00
Stein Magnus Jodal
5c6dc96f9d
Fix typo
2012-09-01 13:07:14 +02:00
Thomas Adamcik
55b9bc979c
Merge branch 'feature/simplify-outputs' into feature/switch-to-gst-mixers
...
Conflicts:
mopidy/gstreamer.py
2012-09-01 12:40:39 +02:00
Thomas Adamcik
e4d425d37a
Add did you mean tests for settings.
...
- Checks varying degrees of typos until the edit distance becomes to large.
- Also updated did you mean to always uppercase it's input so we catch caps
errors.
2012-09-01 12:28:32 +02:00
Thomas Adamcik
4e4a209ec3
Fix existing settings tests that did_you_mean broke.
2012-09-01 12:15:08 +02:00
Thomas Adamcik
03a7f03bb8
Style fixes to levenshtein and did_you_mean.
2012-09-01 12:11:09 +02:00
Thomas Adamcik
3c2576a629
Guess what setting you meant based on levenshtein.
2012-09-01 11:46:58 +02:00
Thomas Adamcik
387da58425
Deprecate and remove shoutcast settings.
...
I've also verfied that the examples provided will actually work.
2012-09-01 11:22:05 +02:00
Stein Magnus Jodal
f6cea72bf7
Print 'OK' or 'not found' instead of True/False
2012-09-01 00:49:47 +02:00
Stein Magnus Jodal
a452c49bd3
We're only considering a small subset of the Gstreamer elements
2012-09-01 00:49:12 +02:00
Stein Magnus Jodal
d712551c3f
Add list of Gstreamer elements to checck in --list-deps
2012-09-01 00:16:39 +02:00
Stein Magnus Jodal
41853dd3d8
Add platform adapter for --list-deps
2012-09-01 00:00:14 +02:00
Stein Magnus Jodal
05c935bc4c
Add Python impl adapter for --list-deps
2012-08-31 23:59:53 +02:00
Stein Magnus Jodal
44b6307046
Add pyserial adapter for --list-deps
2012-08-31 23:13:15 +02:00
Stein Magnus Jodal
240ab0d226
Add dbus adapter for --list-deps
2012-08-31 22:58:47 +02:00
Stein Magnus Jodal
a661b6d848
Add pylast adapter for --list-deps
2012-08-31 22:49:59 +02:00
Stein Magnus Jodal
4284e08d69
Strip file name from printed import paths
2012-08-31 22:46:18 +02:00
Stein Magnus Jodal
4c6a6af487
Add Gstreamer adapter for --list-deps
2012-08-31 22:40:08 +02:00
Stein Magnus Jodal
a25e7d9530
Add pyspotify adapter for --list-deps
2012-08-31 22:17:54 +02:00
Stein Magnus Jodal
5fcc4e67aa
Add --list-deps command with Pykka adapter
2012-08-31 21:55:01 +02:00
Thomas Adamcik
6e3e1f997f
Convert to only using GStreamer mixers.
2012-08-26 14:30:13 +02:00
Thomas Adamcik
343207ebe2
Update docs with latest OUTPUT changes and fix issues raised in review of pull request.
2012-08-26 12:37:23 +02:00
Thomas Adamcik
c565e274a5
Replace OUTPUTS with OUTPUT and switch to simple outputs that return a gst.Bin
2012-08-23 23:44:05 +02:00
Stein Magnus Jodal
d6f17b4cf0
Decode messages from IOError before logging them
...
IOError messages are bytestrings, often in the language of the system, so they
may include non-ASCII characters. Thus, we must decode them using the locale's
preferred encoding to get Unicode objects we safely can pass on for logging
the IOError.
2012-08-10 23:17:41 +02:00
Stein Magnus Jodal
0e66ffe6a5
Add locale_decode util function that decodes bytestrings using the current locale's encoding
2012-08-10 23:12:04 +02:00
Stein Magnus Jodal
2eae7aaae1
Call ThreadingActor/etc constructors to please pylint
2012-02-10 00:30:18 +01:00
Stein Magnus Jodal
24d9f8f200
Fix a bunch of pylint warnings
2012-02-10 00:17:21 +01:00
Stein Magnus Jodal
8c2a333938
get_or_create_folder should also create intermediate folders
2012-02-09 23:12:40 +01:00
Thomas Adamcik
1985b4af76
Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise
2011-07-31 22:21:34 +02:00
Thomas Adamcik
34594e40e8
Move method and cleanup docstrings
2011-07-28 22:55:54 +02:00
Thomas Adamcik
cb4f32cb58
Try to send directly in quene_send when we can to prevent uneeded context switches
2011-07-28 22:51:41 +02:00
Thomas Adamcik
4f6ddd3532
Add error handling tests for new send method
2011-07-28 22:41:53 +02:00
Thomas Adamcik
43f4f1537e
Extract send to seperate method
2011-07-28 22:34:47 +02:00
Thomas Adamcik
13d4510e12
Rename send to send_queue in network.Connection
2011-07-28 22:28:17 +02:00
Thomas Adamcik
b2188f13cb
Typo fixes
2011-07-25 17:41:02 +02:00
Thomas Adamcik
035af38b02
Merge branch 'develop' into feature/support-telnet
...
Conflicts:
tests/utils/network/lineprotocol_test.py
2011-07-25 17:39:00 +02:00
Thomas Adamcik
9fe4674b36
Update on_received to handle that decode can fail
2011-07-25 01:24:19 +02:00
Thomas Adamcik
4049b23c3f
Add concept of delimeter to complemend terminator in LineProtocol
2011-07-25 00:50:41 +02:00
Thomas Adamcik
e233fe1d14
Merge branch 'develop' into feature/mpd-idle-support
2011-07-24 16:23:09 +02:00
Thomas Adamcik
2a0646cc43
Merge branch 'feature/less-verbose-logging' into develop
2011-07-24 16:22:42 +02:00
Thomas Adamcik
451b52fde5
Make sure we prevent timeouts when in idle mode
2011-07-24 01:59:32 +02:00
Thomas Adamcik
e050c13251
Remove most of pykka logging which we don't need unless debuging
2011-07-19 21:08:14 +02:00
Thomas Adamcik
0479adf7fc
Fix s/_FOLDER/_PATH/, move cache to mopidy instead of spotify folder and fix docs.
2011-07-18 00:15:58 +02:00
Thomas Adamcik
728fbe7fe3
Merge branch 'develop' into feature/xdg-folders
2011-07-17 23:58:42 +02:00
Thomas Adamcik
6cf5deb216
Typo fix :)
2011-07-17 23:52:32 +02:00
Thomas Adamcik
1727a73f5f
Merge branch 'develop' into feature/glib-loop
...
Conflicts:
docs/changes.rst
2011-07-17 23:45:20 +02:00
Thomas Adamcik
23775dfe1a
Fix up last comments regarding typo and more logging
2011-07-17 23:44:00 +02:00
Thomas Adamcik
292d0e26cf
Fix minor issue in get_class bug caused by bad user input.
2011-07-17 04:18:24 +02:00
Thomas Adamcik
f483908761
Switch to using SETTINGS_FOLDER and SETTINGS_FILE derived from xdg
2011-07-17 02:12:55 +02:00
Thomas Adamcik
f365786c9d
Switch to get_user_config_dir() instead of .mopidy
2011-07-17 02:12:55 +02:00
Thomas Adamcik
e2597ab23f
Fix minor bug in settings subsystem that prevented _FILE/PATH settings to be set to None
2011-07-17 02:11:06 +02:00
Thomas Adamcik
d2a9e3d1ec
Make send_callback respect flags from gobject
2011-07-17 00:33:15 +02:00
Thomas Adamcik
c773998fd8
Stop actor if decode or encode fails
2011-07-17 00:26:50 +02:00
Thomas Adamcik
1b46dade83
Note why source_remove return values are ignored
2011-07-15 00:54:14 +02:00
Thomas Adamcik
e6781135ba
Doubled checked most network.Server/Connection/LineProtocol tests
2011-07-15 00:48:47 +02:00
Thomas Adamcik
805a6fefd0
Lint fixing
2011-07-14 23:14:51 +02:00
Thomas Adamcik
fe6e4a65f5
Fix syntax error
2011-07-14 11:09:04 +02:00
Thomas Adamcik
cf48faad98
Remove log_* method from LineProtocol
2011-07-13 23:57:00 +02:00
Thomas Adamcik
66a89918c8
Add LineProtocol tests
2011-07-13 23:11:28 +02:00
Thomas Adamcik
ee6f5a651b
Try to prevent recursive calls to stop
2011-07-13 22:43:57 +02:00
Thomas Adamcik
a49855abfa
Improve error handling in connection code
2011-07-13 22:32:35 +02:00
Thomas Adamcik
05b169930f
Add missing stop explanation
2011-07-13 11:48:22 +02:00
Thomas Adamcik
b9286fb9ee
Log why we are stopping
2011-07-12 03:48:02 +02:00
Thomas Adamcik
b5c6bc0442
Allways return true from recv_callback, rely on activly removing sources instead
2011-07-12 03:18:07 +02:00
Thomas Adamcik
8c9fc73550
Implement rest of connection tests
2011-07-12 03:15:30 +02:00
Thomas Adamcik
9b41eb17c5
Lint fixing
2011-07-11 23:55:33 +02:00
Thomas Adamcik
cef53b9e7d
Cleanup of connection class
2011-07-11 19:07:22 +02:00
Thomas Adamcik
91270ef535
Refactor network.Server to improve testability
2011-07-11 18:53:49 +02:00
Thomas Adamcik
34cd3008d9
Extract gobject/network code to new Client class
...
This implies that the Server class is in charge of just listening and starting
up new clients. Clients are expected to run in the event loop thread, so they
only deal with minimal IO/network concerns. Each client has a protocol actor
that does the actual work.
2011-07-09 22:44:11 +02:00
Thomas Adamcik
22ebb1bc29
Move recv code to LineProtocol and add source removal
...
Fixes problem where timed out sockets where not being removed from event loop
causing excess CPU usage.
2011-07-09 14:28:35 +02:00
Thomas Adamcik
cdb68d61f5
Use timeout_add_seconds which is less accurate but more efficient
2011-07-09 00:47:10 +02:00
Thomas Adamcik
7f77fe38d5
Add timeout support to LineProtocol
2011-07-08 00:28:01 +02:00
Thomas Adamcik
63244b9af8
Limit number of allowed connections
2011-07-08 00:09:45 +02:00
Thomas Adamcik
8cc1aa07d9
Forgot to include errno
2011-07-08 00:07:14 +02:00
Thomas Adamcik
26155d1d40
Fix s/listener/server/ in docs
2011-07-07 23:57:20 +02:00
Thomas Adamcik
7c2ccbbaa1
Document attributes correctly
2011-07-07 23:55:54 +02:00
Thomas Adamcik
12633e0d4a
Add log_error to LineProtocol
2011-07-07 23:52:38 +02:00
Thomas Adamcik
2449308758
Use re for finding terminator and splitting as it does not assume unicode
2011-07-07 23:47:28 +02:00
Thomas Adamcik
4cd6f5f66c
Switch to lock based protection of send buffer, queue use was flawed
2011-07-07 21:53:08 +02:00
Thomas Adamcik
a0f6ba7dc4
Switch to thread safe send queue and use event loop to send data
2011-07-06 00:23:54 +02:00
Thomas Adamcik
52087bd5b4
Cleanup recv code a bit
2011-07-06 00:23:18 +02:00
Thomas Adamcik
a12e9779e3
Add some better error handling for accept call
2011-07-05 23:47:23 +02:00
Thomas Adamcik
cb2f0df5d6
Extract logging of raw data to method
2011-07-05 01:13:12 +02:00
Thomas Adamcik
79e46ab4fa
Rename listemer to server
2011-07-05 00:56:29 +02:00
Thomas Adamcik
b311e42840
Try to document new server helper
2011-07-05 00:55:35 +02:00
Thomas Adamcik
3053ba09e0
Typo fix :)
2011-07-04 21:13:46 +02:00
Thomas Adamcik
9a8f3a141c
Misplaced text in log message
2011-07-04 21:09:21 +02:00
Thomas Adamcik
c7617e150a
Decode incomming data
2011-07-04 21:08:49 +02:00
Thomas Adamcik
ab653b7539
Fix comments from pull-request
2011-07-04 10:33:59 +02:00
Thomas Adamcik
75984dda6a
Merge branch 'develop' into feature/glib-loop
...
Conflicts:
mopidy/core.py
mopidy/frontends/mpd/__init__.py
2011-07-04 00:31:18 +02:00
Thomas Adamcik
921d804dde
Fix minor code style issues
2011-07-04 00:28:52 +02:00
Thomas Adamcik
dd0082b59e
Rewrite to explicit stopping of actors
2011-07-04 00:16:18 +02:00
Thomas Adamcik
77c140f466
More low-level debug logging
2011-07-03 22:38:16 +02:00
Thomas Adamcik
b3e2e13a8d
sock.accept() on IPv6 systems is different
2011-07-03 22:37:45 +02:00
Thomas Adamcik
14a7a9bd80
Get rid of GObjectEventThread
2011-06-22 03:00:30 +02:00
Thomas Adamcik
54f09b0157
Rewrite of client part of listener - takes into account that we will be implementing idle
2011-06-22 02:49:02 +02:00
Thomas Adamcik
74aa96b300
Moved mpd session to mopidy.frontends.mpd
2011-06-17 01:44:22 +02:00
Thomas Adamcik
9df16e0716
Get rid of custom async client code in favour of blocking IOChannel in ThreadingActors
2011-06-17 00:01:55 +02:00
Thomas Adamcik
b8ae79038f
Merge branch 'develop' into feature/glib-loop
2011-06-16 23:20:06 +02:00
Thomas Adamcik
24dbba2fa9
Switch to async globject based loop
2011-06-16 23:17:37 +02:00
Stein Magnus Jodal
6a77922905
Ask about missing settings in alphabetic order
2011-06-15 22:19:41 +02:00
Thomas Adamcik
49f39977ec
Merge branch 'develop' into feature/glib-loop
...
Conflicts:
mopidy/frontends/mpd/server.py
2011-06-14 01:12:38 +02:00
Thomas Adamcik
e6652f0a0a
Merge pull request #108 from jodal/feature/clean-early-shutdown
...
feature/clean-early-shutdown
2011-06-11 04:06:00 -07:00
Stein Magnus Jodal
c0a39afa31
Do not interactively ask for settings when they are already set locally
2011-06-10 14:30:32 +02:00
Stein Magnus Jodal
2453e6826f
Add exit_process() function for shutting down Mopidy instead of ActorRegistry.stop_all()
2011-06-10 14:17:29 +02:00
Stein Magnus Jodal
fbc47a041a
Add more debug logging to stop_all_actors
2011-06-10 14:15:17 +02:00
Stein Magnus Jodal
f8965e053b
Register SIGTERM handler
2011-06-10 00:34:06 +02:00
Stein Magnus Jodal
3cdf1aa35d
Add util function for stopping all actors which also tries to stop actors that was started after the function was called
2011-06-10 00:33:14 +02:00
Johannes Knutsen
5e0a85c1b6
Get encoding from sys module directly instead of getpass.sys
2011-06-09 20:38:52 +02:00
Johannes Knutsen
c31db04979
Move private methods to be closer it's caller
2011-06-09 20:08:50 +02:00
Johannes Knutsen
efa38d2449
Read interactive settings optional by adding --interactive option
2011-06-09 20:04:13 +02:00
Johannes Knutsen
8d240ea686
Read missing local settings from stdin by default
2011-06-09 20:04:13 +02:00
Stein Magnus Jodal
2321550079
Fix import cycle
2011-06-09 17:35:22 +02:00
Johannes Knutsen
e97b32d041
rename SPOTIFY_HIGH_BITRATE setting to SPOTIFY_BITRATE, and use actual bitrate value to define preferred bitrate
2011-06-09 17:18:35 +02:00
Thomas Adamcik
387d72ef67
Remove self.set_reuse_addr from asyncore code
2011-06-07 16:12:04 +02:00
Thomas Adamcik
6575dafcb9
Merge branch 'develop' into feature/extract-socket-code
2011-06-07 15:51:34 +02:00
Thomas Adamcik
d664c11e22
Pull network related functions out of mopidy.frontends.mpd.server
2011-06-07 14:09:15 +02:00
Stein Magnus Jodal
3b27ba4746
Catch and log ActorDeadError in BaseThread
2011-05-25 23:06:15 +02:00
Stein Magnus Jodal
55bc7b19fb
Remove dead code in BaseThread
2011-05-25 23:05:54 +02:00
Stein Magnus Jodal
7d7fb8d906
Compare default passwords with the unmasked current password
2011-05-19 22:44:31 +02:00
Stein Magnus Jodal
6778718837
Remove 'Settings:' label and indentation of all settings
2011-05-19 22:38:16 +02:00
Stein Magnus Jodal
0b2b0c5c3c
Show current setting value on same line as setting name
2011-05-19 22:37:09 +02:00
Stein Magnus Jodal
a760a7fdb4
Use pprint to format long setting values
2011-05-19 22:31:04 +02:00
Stein Magnus Jodal
7074b4928c
Add some tests for --list-settings formatting
2011-05-19 22:30:09 +02:00
Thomas Adamcik
1c83fe236d
Remove unused import
2011-05-10 17:38:34 +02:00
Thomas Adamcik
65db8c4a7b
Kill off *_OUTPUT_OVERRIDEs in favour of just having CustomOutput to handle corner cases
2011-05-07 23:18:31 +02:00
Thomas Adamcik
eceba71273
Unify naming of output settings
2011-04-25 17:30:55 +02:00
Thomas Adamcik
1c233a3f8a
Replace CustomOutput with override for LocalOutput
2011-04-25 17:14:31 +02:00
Thomas Adamcik
c7ccd0c2d4
More fixes with respect to refactoring
2011-04-25 01:31:28 +02:00
Thomas Adamcik
f20b3b26f6
Add platform and python information to startup logging ( fixes #73 )
2011-04-23 15:08:03 +02:00
Stein Magnus Jodal
bcff80c714
Switch from multiprocessing.dummy to threading to fix startup issue
2011-03-20 01:14:33 +01:00
Stein Magnus Jodal
3a1de6578d
Remove unused BaseProcess and strip queue stuff from BaseThread
2011-03-07 21:37:55 +01:00
Stein Magnus Jodal
0acaa8f285
Log startup message directly from setup_logging
2011-03-07 21:33:53 +01:00
Stein Magnus Jodal
e150a24dfe
Review patch for GH-63
...
- Moved mask_value_if_secret til after the method using it. Most
important/interesting method first, lower level/more detailed later.
- Made the logic in mask_value_if_secret simpler to understand, I think,
by making the two different cases more obvious.
- Split the test in two, as it actually tested two different cases.
- Changed the test names to explain what should happen, and not just
what is tested.
- Add a new test that tests the case which caused the crash: a setting
being None.
2011-02-09 17:08:40 +01:00
Martins Grunskis
f33c65ddfe
mopidy --list-settings fails on fresh install
2011-02-09 17:05:29 +02:00
Stein Magnus Jodal
7f4ce3be8a
Fix SettingsProxy.__getattr__ to support settings that are None or 0.
2011-01-21 16:29:04 +01:00
Stein Magnus Jodal
6a8998a5c3
Fix pylint warnings
2010-11-02 23:42:02 +01:00
Thomas Adamcik
71ee3a8ef7
Don't remove expanduser from get_or_create_file and get_or_create_folder
2010-11-01 00:37:55 +01:00
Thomas Adamcik
fe309d374e
Get rid of all kinds of abspath and expandpath usage that is no longer needed
2010-11-01 00:37:55 +01:00
Thomas Adamcik
c513d0f6e7
Rename settings that have dirs or file to _PATH and _FILE
2010-11-01 00:37:55 +01:00
Thomas Adamcik
3661800563
Add _FILE handling
2010-11-01 00:37:55 +01:00
Thomas Adamcik
70fe571b05
Add special casing of _PATH settings
2010-11-01 00:37:55 +01:00
Stein Magnus Jodal
61c8720158
Merge remote branch 'adamcik/feature/file-scanner' into develop
2010-10-31 01:16:30 +02:00
Stein Magnus Jodal
39be6d2033
Extract GStreamerMessagesThread as a generic GObjectEventThread
2010-10-31 00:48:10 +02:00
Thomas Adamcik
7767dd1ae4
Better unicode handling for scan code
2010-10-30 23:35:04 +02:00
Thomas Adamcik
dd259d0797
Ensure that find_files only returns unicode
2010-10-30 23:12:32 +02:00
Thomas Adamcik
92333208de
Add mopidy.utils.path.mtime helper that is easily faked in tests
2010-10-30 20:53:23 +02:00
Thomas Adamcik
d2d8e4c090
Use expanduser for find_files
2010-10-30 00:45:08 +02:00
Thomas Adamcik
a48e881040
Add split path util
2010-10-29 22:55:42 +02:00
Thomas Adamcik
d785b9b14e
Added uri_to_path with tests
2010-10-29 22:16:33 +02:00
Thomas Adamcik
1551723dd7
Merge branch 'develop' into feature/file-scanner
2010-10-26 22:22:06 +02:00
Thomas Adamcik
efc60a943b
Update find files behaviour and add test for it
2010-10-26 00:08:51 +02:00
Thomas Adamcik
b455b54577
Add helper for finding files in folder
2010-10-25 23:31:40 +02:00
Stein Magnus Jodal
e984e24168
Fix or ignore more pylint warnings
2010-10-24 23:51:21 +02:00
Stein Magnus Jodal
0398193d34
Make all threads daemon threads per default
2010-10-24 20:07:27 +02:00
Stein Magnus Jodal
a10c36d8ec
When catching an exception, ask main thread to sys.exit
2010-10-24 19:52:13 +02:00
Stein Magnus Jodal
11e48083ee
Give all threads a reference to core_queue
2010-10-24 19:35:04 +02:00
Stein Magnus Jodal
fca321f7ff
Fix wording in log message
2010-09-12 15:37:21 +02:00
Stein Magnus Jodal
318524be21
Merge develop into feature/threads-not-processes
2010-08-26 18:51:22 +02:00
Stein Magnus Jodal
c7218e87e2
Don't let debug logging to file affect console logging (i.e. get rid of logging.basicConfig())
2010-08-24 23:33:32 +02:00
Stein Magnus Jodal
19909d7aca
Rotate log at 10M instead of 100k
2010-08-24 22:37:40 +02:00
Stein Magnus Jodal
cc98052df8
Simplify default log output
2010-08-24 21:16:57 +02:00
Stein Magnus Jodal
0cbce06037
Rename --dump to --save-debug-log. Rename related settings.
2010-08-24 21:00:10 +02:00
Stein Magnus Jodal
3d40aa7168
Add method from feature/threads-not-processes branch which is already in use
2010-08-24 20:39:00 +02:00
Stein Magnus Jodal
5868506573
Only censor password in settings listing if the password is set
2010-08-24 10:12:03 +02:00
Thomas Adamcik
947b91aa5c
Add basic runtime setting support
2010-08-23 23:30:20 +02:00
Stein Magnus Jodal
5a9d19b326
Merge 'develop' into 'feature/threads-not-processes'
2010-08-23 13:34:33 +02:00
Stein Magnus Jodal
f18e56bef9
Create empty settings.py if it does not exist
2010-08-22 21:39:06 +02:00
Stein Magnus Jodal
80c9e1e579
Add destroy() to BaseProcess and BaseThread
2010-08-22 13:33:09 +02:00
Stein Magnus Jodal
f8555e7061
Create BaseThread as copy of BaseProcess but with different superclass
2010-08-22 13:08:00 +02:00
Stein Magnus Jodal
1ae172d0c1
Move mopidy.utils.{ => log}.indent
2010-08-20 16:38:59 +02:00
Stein Magnus Jodal
51b5910e68
Add process name to BaseProcess logging
2010-08-20 01:59:27 +02:00
Stein Magnus Jodal
560b8be86f
Move log setup to mopidy.utils.log
2010-08-20 01:31:56 +02:00
Stein Magnus Jodal
aede9762f8
Split BaseProcess snd CoreProcess into two files
2010-08-20 01:07:23 +02:00
Stein Magnus Jodal
5e10ad0e05
Replace SERVER and FRONTEND with a new FRONTENDS setting
2010-08-20 00:38:36 +02:00
Stein Magnus Jodal
107c87477e
Rename mopidy.settings.{active => current}
2010-08-18 13:05:46 +02:00
Stein Magnus Jodal
1872082932
Calculate the active settings dynamically, so tests can do mopidy.settings.local.clear() to get rid of local settings
2010-08-18 13:03:24 +02:00
Stein Magnus Jodal
6b834e6a33
Fix loading of local settings when local settings is not present
2010-08-18 00:06:45 +02:00
Stein Magnus Jodal
da184ac896
Add '--list-settings' option
2010-08-17 02:34:10 +02:00
Stein Magnus Jodal
61059e7610
Use logging for settings validation errors
2010-08-17 02:02:52 +02:00
Stein Magnus Jodal
9cb84002bc
Report multiple settings errors at once
2010-08-17 01:58:31 +02:00
Stein Magnus Jodal
12e5bc39e3
Add settings validation
2010-08-17 01:45:58 +02:00
Stein Magnus Jodal
7afc74d80b
Cleanup settings magic
2010-08-17 01:23:37 +02:00
Stein Magnus Jodal
e4edd70c6d
Split mopidy.utils into smaller pieces
2010-08-17 00:32:31 +02:00