Stein Magnus Jodal
1ebe1151fc
http: Make event emitting testable
2014-07-17 01:14:06 +02:00
Stein Magnus Jodal
3fac0cb8de
http: Split socket and server creation
2014-07-17 01:13:48 +02:00
Stein Magnus Jodal
215dd777f6
http: Move Mopidy request handlers to helper method
2014-07-17 00:58:10 +02:00
Stein Magnus Jodal
2cf37679a6
Merge branch 'develop' into feature/http-startup
...
Conflicts:
mopidy/http/actor.py
2014-07-17 00:27:50 +02:00
Stein Magnus Jodal
47c507b8a7
zeroconf: ::ffff:127.* is also loopback addresses
2014-07-17 00:25:16 +02:00
Stein Magnus Jodal
b685f2ae63
mpd: Simplify Zeroconf publishing
2014-07-17 00:22:39 +02:00
Stein Magnus Jodal
ece59f5deb
http: Simplify Zeroconf publishing
2014-07-17 00:21:59 +02:00
Stein Magnus Jodal
c098ac961f
zeroconf: Improve log messages
2014-07-17 00:19:06 +02:00
Stein Magnus Jodal
e9243357ae
http: Format "server running" log msg like MPD
...
By removing the http://... URL in the log output, we hopefully remove the
dubious connection between hostname/port configuration and the URL you'll
actually use to browse the Mopidy web server.
Example log output with this change:
...
INFO Starting Mopidy frontends: HttpFrontend, MpdFrontend
INFO HTTP server running at [::ffff:127.0.0.1]:6680
INFO MPD server running at [::ffff:127.0.0.1]:6600
2014-07-16 22:36:03 +02:00
Stein Magnus Jodal
f9755b562c
http: Raise FrontendError if socket creation fails
...
This removes the stacktraces when two Mopidy instances are started with the
same hostname/port configuration.
2014-07-16 22:36:03 +02:00
Stein Magnus Jodal
971d320f1f
docs: Move mixer changes to v0.19
2014-07-16 22:35:47 +02:00
Thomas Adamcik
c6d810a049
Merge pull request #760 from jodal/feature/mixers
...
New mixer API
2014-07-16 22:32:43 +02:00
Stein Magnus Jodal
c28017c859
mpd: Remove redundant variable
2014-07-16 22:24:35 +02:00
Stein Magnus Jodal
7e6d3de81a
Merge branch 'develop' into feature/mixers
...
Conflicts:
mopidy/backend/__init__.py
2014-07-16 22:12:07 +02:00
Stein Magnus Jodal
b5fd6a6e9f
swmixer: Move attr init to init method
2014-07-16 22:11:17 +02:00
Stein Magnus Jodal
d1f2146b59
mpd: Raise FrontendError instead of sys.exit(1)
2014-07-16 10:36:46 +02:00
Stein Magnus Jodal
a1848aece5
docs: Add {Backend,Frontend,Mixer}Error guidelines to backend/frontend/mixer APIs
...
(cherry picked from commit 83f1d00944 )
Conflicts:
mopidy/mixer.py
2014-07-16 10:34:53 +02:00
Stein Magnus Jodal
dbecbbcea0
main: Log and exit if {Backend,Frontend,Mixer}Error is raised
...
(cherry picked from commit 95bddf666b )
Conflicts:
mopidy/commands.py
2014-07-16 10:34:07 +02:00
Stein Magnus Jodal
44664f2796
exc: Add {Backend,Frontend,Mixer}Error exceptions
...
(cherry picked from commit bf8307f329 )
2014-07-16 10:32:18 +02:00
Stein Magnus Jodal
7e489ccb0b
exc: Test ScannerError
...
(cherry picked from commit 8f59dd69ad )
2014-07-16 10:32:15 +02:00
Stein Magnus Jodal
e36228a1cc
docs: Add page for Mopidy-SoftwareMixer
2014-07-16 10:25:29 +02:00
Stein Magnus Jodal
c234281c7b
mixer: Remove trigger_events_for_any_change() helper from API
2014-07-15 10:34:32 +02:00
Stein Magnus Jodal
2177550649
http: Prettify HTTP router list in debug log
2014-07-15 01:42:37 +02:00
Stein Magnus Jodal
dda06dd8de
config: Add optional support to Boolean type
2014-07-15 00:33:30 +02:00
Stein Magnus Jodal
9ca5b4af39
docs: Remove reference to mopidy.audio.mixers
2014-07-15 00:07:11 +02:00
Stein Magnus Jodal
a981be2292
doc: Fix typos
2014-07-14 23:47:15 +02:00
Stein Magnus Jodal
d1c0d48be6
docs: Fix typo
2014-07-14 23:18:55 +02:00
Stein Magnus Jodal
dd555ed828
docs: Fix typo
2014-07-14 23:10:52 +02:00
Stein Magnus Jodal
8602ea24f1
docs: Volume use a linear scale
2014-07-14 23:09:57 +02:00
Stein Magnus Jodal
0e826d0086
mixer: Use mangled-private variables to avoid name collisions with subclasses
2014-07-14 22:56:00 +02:00
Thomas Adamcik
e79b38802d
Merge pull request #780 from jodal/feature/colorized-logs
...
log: Colorize logs, unless logging/color is false
2014-07-14 22:39:43 +02:00
Stein Magnus Jodal
47b44791a6
log: Colorize logs, unless logging/color is false
...
Fixes #772
2014-07-14 01:40:48 +02:00
Stein Magnus Jodal
7a08cb69c1
log: Reorder module
2014-07-13 23:43:28 +02:00
Stein Magnus Jodal
d15d66f070
Use 'mute' instead of 'muted', to avoid changing old APIs
2014-07-12 03:14:19 +02:00
Stein Magnus Jodal
249114b051
audio: Update tests broken by 5f091c10
2014-07-12 03:12:21 +02:00
Stein Magnus Jodal
16f6527095
swmixer: Listen for volume/mute changes in GStreamer
...
E.g. when using pulsesink, external changes to the application-volume and
appliction-mute state will now immediately be reflected in the SoftwareMixer.
2014-07-12 02:50:40 +02:00
Stein Magnus Jodal
2c4ba8b6a1
mixer: Add trigger_events_for_any_changes()
...
Lifted from Mopidy-ALSAMixer, so SoftwareMixer can use it too.
2014-07-12 02:49:35 +02:00
Stein Magnus Jodal
5f091c10c2
mixer: Inject audio into software mixer
...
Instead of giving all mixers access to the audio actor.
2014-07-12 01:53:43 +02:00
Stein Magnus Jodal
6e226326fd
http: Explicitly define template path for this router
...
Fixes #774
2014-07-12 00:05:55 +02:00
Stein Magnus Jodal
a3dc763b29
core: Forward {volume,mute}_changed events, don't trigger them ourselves
2014-07-10 01:15:44 +02:00
Stein Magnus Jodal
84ad6db546
swmixer: Trigger {volume,mute}_changed on set_{volume,mute}()
2014-07-10 01:00:35 +02:00
Stein Magnus Jodal
b8de7fa75c
mixer: Add MixerListener
2014-07-10 01:00:35 +02:00
Stein Magnus Jodal
4d0fa17c85
docs: Describe backend/mixer __init__ args
2014-07-09 23:49:06 +02:00
Stein Magnus Jodal
83f1d00944
docs: Add {Backend,Frontend,Mixer}Error guidelines to backend/frontend/mixer APIs
2014-07-09 23:49:06 +02:00
Stein Magnus Jodal
95bddf666b
main: Log and exit if {Backend,Frontend,Mixer}Error is raised
2014-07-09 23:49:06 +02:00
Stein Magnus Jodal
bb269688c6
mixer: Mark methods that may be implemented by subclasses
2014-07-09 22:19:34 +02:00
Stein Magnus Jodal
bf8307f329
exc: Add {Backend,Frontend,Mixer}Error exceptions
2014-07-09 22:17:46 +02:00
Stein Magnus Jodal
8f59dd69ad
exc: Test ScannerError
2014-07-09 22:15:45 +02:00
Stein Magnus Jodal
395019e857
swmixer: Remove unused attribute
2014-07-09 21:18:20 +02:00
Stein Magnus Jodal
64ecd7643a
main: Stop only the mixer actor that we now is running
2014-07-09 21:16:09 +02:00