Stein Magnus Jodal
c2817959fe
Initialize the correct variable in init
2010-08-20 16:39:10 +02:00
Stein Magnus Jodal
1ae172d0c1
Move mopidy.utils.{ => log}.indent
2010-08-20 16:38:59 +02:00
Stein Magnus Jodal
19c4f1c09f
Readd main() method, to not break bin/mopidy
2010-08-20 16:21:07 +02:00
Stein Magnus Jodal
976086ae65
Move options parsing, logging setup and settings validation into CoreProcess
2010-08-20 16:17:22 +02:00
Stein Magnus Jodal
79729e653b
Make CoreProcess.setup() more functional to show dependencies explicitly
2010-08-20 12:54:18 +02:00
Stein Magnus Jodal
5ea3e40594
Rename Thread-1 => LibspotifySessionManagerThread
2010-08-20 12:38:33 +02:00
Stein Magnus Jodal
461830924a
libspotify thread should not stop Mopidy from exiting, and is thus a daemon thread
2010-08-20 12:34:41 +02:00
Stein Magnus Jodal
aba0cc3ef3
Remove redundant error handling, as all these cases are handled in BaseProcess
2010-08-20 12:34:13 +02:00
Stein Magnus Jodal
7f95a3b0ba
Move initialization from main to core
2010-08-20 03:27:20 +02:00
Stein Magnus Jodal
51b5910e68
Add process name to BaseProcess logging
2010-08-20 01:59:27 +02:00
Stein Magnus Jodal
ea699eb121
Name all processes
2010-08-20 01:59:14 +02:00
Stein Magnus Jodal
60bca18b46
Run CoreProcess in the main process
2010-08-20 01:52:20 +02:00
Stein Magnus Jodal
f73800f8e4
Validate settings a tad later
2010-08-20 01:41:54 +02:00
Stein Magnus Jodal
560b8be86f
Move log setup to mopidy.utils.log
2010-08-20 01:31:56 +02:00
Stein Magnus Jodal
88a4d64a59
Move MPD server into its own process
2010-08-20 01:24: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
bc8d32275e
Merge branch 'mpd-cleanup' into develop
2010-08-20 00:48:20 +02:00
Thomas Adamcik
366f5d8fee
Don't use return values from backend in frontend.mpd.protocol.playback.seek
2010-08-20 00:45:23 +02:00
Stein Magnus Jodal
222982e444
Move get_mpd_protocol_version() into MPD frontend
2010-08-20 00:44:09 +02:00
Thomas Adamcik
a91a5eb04a
Put in place better logging for exceptions in processes
2010-08-20 00:43:12 +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
10c1cab0c7
Reorganize mopidy.frontends.mpd
...
- Rename .frontend.MpdFrontend to .dispatcher.MpdDispatcher, as it
dispatches requests.
- Move exceptions into .exceptions.
- Move .server.MpdSession to .session.MpdSession.
- Move handle_pattern to .protocol.handle_pattern.
2010-08-19 23:51:46 +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
4cf041119b
Validate state before handling the end of track event
2010-08-18 12:36:17 +02:00
Thomas Adamcik
e66cf75d05
Call renamed callback
2010-08-18 00:43:58 +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
7d04550f53
Remove unused imports
2010-08-17 02:38:55 +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
a8c736110f
Move settings validation from module import to program start
2010-08-17 01:49:54 +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
e021863fd8
Fix broken import
2010-08-17 01:20:17 +02:00
Stein Magnus Jodal
e4edd70c6d
Split mopidy.utils into smaller pieces
2010-08-17 00:32:31 +02:00
Stein Magnus Jodal
664c731f77
Remove unused variable
2010-08-16 23:57:23 +02:00
Stein Magnus Jodal
148612d842
Merge remote branch 'knutz3n/add_invalid_url_fix' into gstreamer
2010-08-16 22:38:08 +02:00
Stein Magnus Jodal
c4dc6164d5
Remove SPC.search()
2010-08-16 22:36:02 +02:00
Johannes Knutsen
7674775718
Don't call lookup on backends with uris they don't support
2010-08-16 22:34:00 +02:00
Stein Magnus Jodal
73258d6f9d
Reimplement 'load' using SPC.get() instead of search()
2010-08-16 22:33:04 +02:00
Stein Magnus Jodal
d7bf31bab4
Rename CurrentPlaylistController.{load => append}
2010-08-16 21:34:06 +02:00
Stein Magnus Jodal
e4421eec1c
Rename PlaybackController.{end_of_track_callback => on_end_of_track}
2010-08-16 21:28:15 +02:00
Stein Magnus Jodal
4cfbfbb2d2
Fix some missing renames in PlaybackController. Doc changes from singlerepeat branch.
2010-08-16 21:27:38 +02:00
Johannes Knutsen
ffd4bebba3
Merge branch 'gstreamer' of git://github.com/jodal/mopidy into singlerepeat
2010-08-16 21:01:32 +02:00
Johannes Knutsen
0e875da0e8
make consume also remove the last track in cp when finished playing
2010-08-16 21:01:16 +02:00
Stein Magnus Jodal
8e8d840767
Modify changes done in gstreamer-output-testing to keep appsrc working
2010-08-16 19:44:35 +02:00
Stein Magnus Jodal
997bffa9d2
Merge remote branch 'adamcik/gstreamer-output-testing' into gstreamer
2010-08-16 19:38:56 +02:00
Johannes Knutsen
4e0b51ffbd
remove consume on next() since it should be performed only at end of track
2010-08-16 18:50:29 +02:00
Johannes Knutsen
6905b81009
merged jodal gstreamer with knutz3n singlerepeat branch
2010-08-16 18:36:37 +02:00