codecત્યpl
This commit is contained in:
parent
b8da59086b
commit
f233d9e64f
10 changed files with 343 additions and 1121 deletions
13
src/constants/codecs.ts
Normal file
13
src/constants/codecs.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { RegularCodec } from "../downloader/index.js";
|
||||
|
||||
export const songCodecRegex: { [key in RegularCodec]: RegExp } = {
|
||||
[RegularCodec.Aac]: /audio-stereo-\d+/,
|
||||
[RegularCodec.AacHe]: /audio-HE-stereo-\d+/,
|
||||
[RegularCodec.AacBinaural]: /audio-stereo-\d+-binaural/,
|
||||
[RegularCodec.AacDownmix]: /audio-stereo-\d+-downmix/,
|
||||
[RegularCodec.AacHeBinaural]: /audio-HE-stereo-\d+-binaural/,
|
||||
[RegularCodec.AacHeDownmix]: /audio-HE-stereo-\d+-downmix/,
|
||||
[RegularCodec.Atmos]: /audio-atmos-.*/,
|
||||
[RegularCodec.Ac3]: /audio-ac3-.*/,
|
||||
[RegularCodec.Alac]: /audio-alac-.*/
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue