Handled extensions to log.

This commit is contained in:
Mattias Põldaru 2011-02-20 18:45:58 +02:00
parent 931f190f56
commit 264c7fb585

View File

@ -62,6 +62,8 @@ class MediaPlugin(Plugin):
type = mimetype.split(u'video/') type = mimetype.split(u'video/')
self.video_list, mimetype = self._addToList(self.video_list, self.video_list, mimetype = self._addToList(self.video_list,
type, mimetype) type, mimetype)
log.info(u'MediaPlugin handles audio extensions: %s', self.audio_list)
log.info(u'MediaPlugin handles video extensions: %s', self.video_list)
def _addToList(self, list, value, mimetype): def _addToList(self, list, value, mimetype):
# Is it a media type # Is it a media type