浏览代码

Added oga to liquid_tags audio plugin

Marvin Steadfast 8 年之前
父节点
当前提交
36b525379d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      liquid_tags/audio.py

+ 1 - 0
liquid_tags/audio.py

@@ -27,6 +27,7 @@ AUDIO = re.compile(r'(/\S+|https?:\S+)(?:\s+(/\S+|https?:\S+))?(?:\s+(/\S+|https
 
 AUDIO_TYPEDICT = {'.mp3': 'audio/mpeg',
                   '.ogg': 'audio/ogg',
+                  '.oga': 'audio/ogg',
                   '.opus': 'audio/ogg',
                   '.wav': 'audio/wav',
                   '.mp4': 'audio/mp4'}