mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Use m4a for audio
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user