Skip to content

Commit

Permalink
fix: add opus to audio types
Browse files Browse the repository at this point in the history
  • Loading branch information
rdwz authored and lightpohl committed Apr 13, 2024
1 parent c74c9cb commit 4973683
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bin/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,16 +395,17 @@ const getUrlExt = (url) => {
};

const AUDIO_TYPES_TO_EXTS = {
"audio/mpeg": ".mp3",
"audio/mp3": ".mp3",
"audio/aac": ".aac",
"audio/flac": ".flac",
"audio/mp3": ".mp3",
"audio/mp4": ".m4a",
"audio/mpeg": ".mp3",
"audio/ogg": ".ogg",
"audio/opus": ".opus",
"audio/vorbis": ".ogg",
"audio/mp4": ".m4a",
"audio/x-m4a": ".m4a",
"audio/wav": ".wav",
"audio/x-m4a": ".m4a",
"audio/x-wav": ".wav",
"audio/aac": ".aac",
"video/mp4": ".mp4",
"video/quicktime": ".mov",
"video/x-m4v": ".m4v",
Expand Down

0 comments on commit 4973683

Please sign in to comment.