changeset 464:794f60e2da27

plugin radiocol: fixed missing import
author Goffi <goffi@goffi.org>
date Sat, 24 Mar 2012 17:46:42 +0100
parents ac568832a71a
children 78e67a59d51d
files src/plugins/plugin_misc_radiocol.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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: