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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user