Commit Graph

84 Commits

Author SHA1 Message Date
Thomas Adamcik
c964d15ac4 avahi: Simplify config to single value 2013-11-11 21:42:23 +01:00
David Eisner
ac2e413ec0 Advertise MPD with Avahi
A rudimentary implementation to resolve #39, ignoring dbus errors (just restart), name collisions (choose a fresh name), etc.
2013-11-01 10:17:10 +00:00
Thomas Adamcik
ad25a60ba5 config: Update extensions with respect to config changes 2013-04-15 00:08:23 +02:00
Thomas Adamcik
5fd4c18792 ext: Get config schema from super 2013-04-13 21:12:48 +02:00
Thomas Adamcik
b655e846b1 config: Add read helper 2013-04-13 21:06:09 +02:00
Thomas Adamcik
1ebc265235 Merge branch 'develop' into feature/reshuffle-config
Conflicts:
	mopidy/backends/local/__init__.py
	mopidy/backends/spotify/__init__.py
	mopidy/backends/stream/__init__.py
	mopidy/config.py
	mopidy/frontends/http/__init__.py
	mopidy/frontends/mpd/__init__.py
	mopidy/frontends/mpris/__init__.py
	mopidy/frontends/scrobbler/__init__.py
	mopidy/utils/config.py
	tests/config/types_test.py
2013-04-13 01:25:38 +02:00
Stein Magnus Jodal
b7546eed0b docs: Move MPD to ext registry 2013-04-11 23:58:42 +02:00
Thomas Adamcik
d90a977a3b config: Move everything to mopidy.config sub-modules 2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
09a38d9523 docs: Use :confval: to make config docs linkable 2013-04-09 00:22:24 +02:00
Thomas Adamcik
e226ddd652 config/ext: Remove ext. prefix from configs. 2013-04-02 22:12:00 +02:00
Thomas Adamcik
dcd0d7e813 ext: Rename ext_name to name and provide ext_name property that gives ext.$name 2013-04-02 19:16:49 +02:00
Stein Magnus Jodal
7d78d02d59 ext: Add both dist_name and ext_name to Extension class 2013-04-02 12:04:03 +02:00
Stein Magnus Jodal
1ac2fec4a5 docs: Tweak module docs formatting 2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
aab7c01c94 mpd: Add default config and config schema 2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
aa1f8199c2 Remove the FRONTENDS setting 2013-04-01 20:22:29 +02:00
Stein Magnus Jodal
6345022cfc Move frontend/backend import into methods 2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
ec7c172c2e Add ext prefix to config sections 2013-04-01 16:14:34 +02:00
Stein Magnus Jodal
a5f3bfc9c4 mpd: Define extension 2013-04-01 15:03:54 +02:00
Stein Magnus Jodal
dd1fad249b mpd: Fix grammar 2012-12-19 00:05:13 +01:00
Stein Magnus Jodal
ba84af2586 mpd: Add list of unsupported MPD features 2012-12-18 23:29:57 +01:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
f0602b4e3b docs: Fix lots of broken module documentation 2012-10-29 00:25:25 +01:00
Stein Magnus Jodal
95946caa08 Move MpdFrontend to an actor module 2012-10-16 16:15:16 +02:00
Stein Magnus Jodal
d4f5d02c72 Move MpdSession to a session module 2012-10-16 16:13:23 +02:00
Stein Magnus Jodal
666800ec57 Fix most flake8 warnings (#211) 2012-10-16 14:00:34 +02:00
Stein Magnus Jodal
c115cf123f MPD: Use core actor passed to frontend 2012-09-28 00:48:28 +02:00
Stein Magnus Jodal
706b6c6d3f Pass core actor to frontends 2012-09-28 00:48:24 +02:00
Stein Magnus Jodal
e7f08a7a20 Rename mopidy.{listeners.BackendListener => core.CoreListener} 2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
66f476e85a Fix typo 2012-09-26 10:08:59 +02:00
Stein Magnus Jodal
28e5ed8b2e Send old and new state to playback_state_changed listeners 2012-09-25 11:18:26 +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
2eae7aaae1 Call ThreadingActor/etc constructors to please pylint 2012-02-10 00:30:18 +01:00
Stein Magnus Jodal
e0bddfa109 Add MPD_SERVER_MAX_CONNECTIONS setting (fixes: #134) 2011-09-25 11:49:54 +02:00
Stein Magnus Jodal
d8959341e8 Unescapes all incoming MPD requests (fixes #113) 2011-08-02 22:35:50 +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
68c947ddf2 Allow clients to use carriage return in mpd sessions 2011-07-25 00:52:32 +02:00
Thomas Adamcik
37d5509a62 Merge branch 'develop' into feature/mpd-idle-support 2011-07-21 01:59:26 +02:00
Thomas Adamcik
da9b6470ba Switched playback test over to testing via MpdSession slightly higher level testing 2011-07-19 23:57:26 +02:00
Thomas Adamcik
da3b4c4b93 Add changed event for volume and updated MpdSession to regcognise it. 2011-07-19 11:07:36 +02:00
Thomas Adamcik
8ae0381cd8 Start adding idle to frontend, mpd-session and dispatcher 2011-07-19 03:45:40 +02:00
Thomas Adamcik
e919dcf627 Create helper for sending events to BackendListeners 2011-07-19 00:49:43 +02:00
Thomas Adamcik
96ebb4eed4 Indicate connection type in log message 2011-07-14 14:02:36 +02:00
Thomas Adamcik
cf48faad98 Remove log_* method from LineProtocol 2011-07-13 23:57:00 +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
79e46ab4fa Rename listemer to server 2011-07-05 00:56:29 +02:00
Thomas Adamcik
3053ba09e0 Typo fix :) 2011-07-04 21:13:46 +02:00
Thomas Adamcik
ab653b7539 Fix comments from pull-request 2011-07-04 10:33:59 +02:00
Thomas Adamcik
224a0d1247 Remove on_recieve from frontend 2011-07-04 00:56:57 +02:00
Thomas Adamcik
cfd48f8a5b Code style fix 2011-07-04 00:46:46 +02:00
Thomas Adamcik
e0ecc76e98 Import modules 2011-07-04 00:42:39 +02:00