feat: filter also ogg files
This commit is contained in:
parent
cd2359c634
commit
db891109aa
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ defmodule PodcastFeed.Provider.Archive.Parser do
|
|||
end
|
||||
|
||||
defp filter_audio_files(files) do
|
||||
files |> Enum.filter(fn f -> Map.get(f, "format") =~ ~r/MP3/i end) #FIXME:! mp3, ogg, boh
|
||||
files |> Enum.filter(fn f -> Map.get(f, "format") =~ ~r/MP3|OGG/i end) #FIXME:! mp3, ogg, boh
|
||||
end
|
||||
|
||||
defp to_feed_item(file, identifier) do
|
||||
|
|
Loading…
Reference in a new issue