Adding support for other stream handlers in hopes to support Maemo 4.1
[watersofshiloah] / src / player.py
index 1b1494e..b1871cd 100644 (file)
@@ -3,7 +3,11 @@ import logging
 import gobject
 
 import util.misc as misc_utils
-import stream
+try:
+       import stream as _stream
+       stream = _stream # Silence PyFlakes
+except ImportError:
+       import stream_gst as stream
 import stream_index
 import call_monitor