1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

fix: correct enclosure type on custom format

This commit is contained in:
Dawid H
2022-11-03 08:51:24 +01:00
parent 5f0123ddbc
commit 3a42d8249e

View File

@@ -178,7 +178,7 @@ func EpisodeName(feedConfig *Config, episode *model.Episode) string {
func EnclosureFromExtension(feedConfig *Config) itunes.EnclosureType {
ext := feedConfig.CustomFormat.Extension
// Use switch on the day variable.
switch {
case ext == "m4a":
return itunes.M4A