From 1df178321712022f05a853fb32fa05e33ab13f27 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Sun, 20 Aug 2017 19:26:25 -0700 Subject: [PATCH] Use m4a for audio --- pkg/builders/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/builders/common.go b/pkg/builders/common.go index f818659..fc412e7 100644 --- a/pkg/builders/common.go +++ b/pkg/builders/common.go @@ -16,8 +16,8 @@ func makeEnclosure(feed *api.Feed, id string, lengthInBytes int64) (string, itun ext := "mp4" contentType := itunes.MP4 if feed.Format == api.AudioFormat { - ext = "mp3" - contentType = itunes.MP3 + ext = "m4a" + contentType = itunes.M4A } url := fmt.Sprintf("http://podsync.net/download/%s/%s.%s", feed.HashId, id, ext)