소스 검색

Added oga to liquid_tags audio plugin

Marvin Steadfast 9 년 전
부모
커밋
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'}