Commit graph

17 commits

Author SHA1 Message Date
mykola2312
e26814e2e7 add tests to check best format finding functions 2024-02-21 15:05:18 +02:00
mykola2312
bbcedac4e1 implement mp3 bitrate rounding up 2024-02-20 23:04:41 +02:00
mykola2312
0491be57c8 make yt-dlp error message its own enum type 2024-02-20 21:06:47 +02:00
mykola2312
b188551885 make separate process spawn function with error types to avoid code duplication 2024-02-20 21:01:41 +02:00
mykola2312
fa3d2b3b03 implement function to find best audio format 2024-02-20 16:39:15 +02:00
mykola2312
9414fb51bd rename to av because its video with audio 2024-02-20 16:09:11 +02:00
mykola2312
6602016d44 instead of sorting just find max width height format 2024-02-20 16:06:58 +02:00
mykola2312
d1bced33b5 implement function to find best quality video format 2024-02-20 14:24:19 +02:00
mykola2312
28799ca380 check exit status instead of stdout empty & stderr non-empty. also begin working on algorithm to determine best format 2024-02-19 20:24:20 +02:00
mykola2312
402e2ca990 implement pretty output for YtDlpFormat 2024-02-19 14:50:44 +02:00
mykola2312
5dace36e03 fix yt-dlp's "none" string value to real None variant 2024-02-19 14:37:19 +02:00
mykola2312
685320336b impl From traits for error type for easy usage 2024-02-19 14:20:04 +02:00
mykola2312
06864fc26d implement YtDlpError 2024-02-19 13:46:27 +02:00
mykola2312
5802b8fa9a use tokio process instead of sync one 2024-02-19 13:12:52 +02:00
mykola2312
c6cff5ad66 implement async process spawning 2024-02-19 12:48:10 +02:00
mykola2312
e935caefdc add yt-dlp json struct deserializers 2024-02-19 11:44:55 +02:00
mykola2312
2a0dc1c509 begin working on yt-dlp wrapper 2024-02-19 11:33:39 +02:00