Add note about how to avoid cyclic imports

This commit is contained in:
Stein Magnus Jodal 2012-09-08 22:17:09 +02:00
parent cd021cc819
commit f97ce0f06a

View File

@ -34,6 +34,9 @@ def create_track(label, initial_volume, min_volume, max_volume,
return Track()
# Import all mixers so that they are registered with GStreamer
# Import all mixers so that they are registered with GStreamer.
#
# Keep these imports at the bottom of the file to avoid cyclic import problems
# when mixers use the above code.
from mopidy.mixers.auto import AutoAudioMixer
from mopidy.mixers.fake import FakeMixer