From 1a329be22855a28babe7eca8be50b3a110075a9b Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 24 Mar 2012 17:46:42 +0100 Subject: [PATCH] plugin radiocol: fixed missing import --- src/plugins/plugin_misc_radiocol.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/plugin_misc_radiocol.py b/src/plugins/plugin_misc_radiocol.py index 42245403..14b5e9ba 100755 --- a/src/plugins/plugin_misc_radiocol.py +++ b/src/plugins/plugin_misc_radiocol.py @@ -35,7 +35,7 @@ from sat.tools.games import TarotCard 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 @@ class Radiocol(): 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: