fix: excluding ogg files
Archive create an mp3 file for every ogg file uploaded, avoid duplication using only mp3 in the future maybe we can choose if use only mp3 or only ogg with a parameter
This commit is contained in:
parent
1bce4490a0
commit
3aeb1b501e
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,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|OGG/i end) #FIXME:! mp3, ogg, boh
|
||||
files |> Enum.filter(fn f -> Map.get(f, "format") =~ ~r/MP3/i end) #FIXME:! mp3, ogg, boh
|
||||
end
|
||||
|
||||
defp to_feed_item(file, identifier, files) do
|
||||
|
|
Loading…
Reference in a new issue