http://code.google.com/p/autoqueue/source/detail?r=279
Modified:
/trunk/mirage_miximize.py
=======================================
--- /trunk/mirage_miximize.py Sat Sep 19 05:35:01 2009
+++ /trunk/mirage_miximize.py Sat Sep 19 06:21:19 2009
@@ -66,6 +66,8 @@
except:
return
db.add_track(track_id, scms)
+ yield
+ yield
print "done"
ids_and_songs = [
(self.get_track(song.comma("artist").lower(),
get_title(song))[0],
@@ -74,6 +76,7 @@
qsongs = []
for cluster in clusterer.clusters:
qsongs.extend([c for id, c in cluster])
+ yield
self.player_enqueue(qsongs)
def get_track(self, artist_name, title):