diff src/plugins/plugin_misc_radiocol.py @ 464:794f60e2da27

plugin radiocol: fixed missing import
author Goffi <goffi@goffi.org>
date Sat, 24 Mar 2012 17:46:42 +0100
parents cf005701624b
children 2a072735e459
line wrap: on
line diff
--- a/src/plugins/plugin_misc_radiocol.py	Sat Mar 24 16:11:16 2012 +0100
+++ b/src/plugins/plugin_misc_radiocol.py	Sat Mar 24 17:46:42 2012 +0100
@@ -35,7 +35,7 @@
 
 from time import time
 import os.path
-from mutagen.oggvorbis import OggVorbis
+from mutagen.oggvorbis import OggVorbis, OggVorbisHeaderError
 
 try:
     from twisted.words.protocols.xmlstream import XMPPHandler
@@ -224,6 +224,7 @@
         which trigger after the song has been played to play next one"""
         #TODO: need to check that there are still peoples in the room
         #      and clean the datas/stop the playlist if it's not the case
+        #TODO: songs need to be erased once played or found invalids
         radio_data = self.radios[room_jid.userhost()]
         queue = radio_data['queue']
         if not queue: