plugin radiocol: fixed missing import
This commit is contained in:
parent
65c5a4f908
commit
1a329be228
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue