From 86b849da159d8ec4de04006dc0cfb03f3a70b0e1 Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Mon, 27 Sep 2010 12:12:09 -0400 Subject: [PATCH] Fix for problem ogg mime type. --- append.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/append.py b/append.py index b5079b5..3c0a09c 100755 --- a/append.py +++ b/append.py @@ -57,6 +57,10 @@ def __append(feed, suffix, append_fn): def __append_non_itunes(entry, output, suffix, base_url): (url, mime_type, size) = __enclosure(entry.enclosures, base_url, suffix) + # Google listen won't play 'application/ogg' and that mime type is currently + # returned by archive.org for Ogg Vorbis files + if 'ogg' == suffix: + mime_type = 'audio/ogg' output.write(""" %(title)s (Comment Line 240-949-2638) %(link)s