Fixed bug with input ogg files with no genre tag.
/mp3togo/conf.py
blob:053280ba65723151df13776373d05752d9fdc41c -> blob:d98c380b7f15b79e7d3ea9a59f506bdcb1768036
--- mp3togo/conf.py
+++ mp3togo/conf.py
@@ -20,7 +20,9 @@
# requires python-pyvorbis and python-id3 and lame
# and mpg321
-import sys, os
+import sys
+import os
+import time
import mp3togo
import mp3togo.options as options
@@ -179,6 +181,7 @@ Description:
# Check for Third party modules:
self.mod['ogg.vorbis'] = False
self.mod['ID3'] = False
+ self.mod['eyeD3'] = False
self.mod['xmms'] = False
# Go ahead and read in the data:
@@ -274,7 +277,7 @@ Description:
def try_print(msg):
"""Try to print a message to a nonblocking stdout"""
- for i in range(5):
+ for i in range(1, 6):
try:
sys.stdout.write(msg)
return