Commit graph

8 commits

Author SHA1 Message Date
DarkCat09 9071017dbf
Refactor: unify YDL object and proxy cfg field
This would allow to add sites much simplier
or even drop the ydl_fn_keys.
Main purpose of the refactoring is a code cleanup.
2024-05-28 13:21:23 +04:00
DarkCat09 7a75805423
Add SoundCloud 2024-05-28 11:10:50 +04:00
DarkCat09 1e1fe6dd16
Config: use None if no proxy specified 2024-05-28 09:09:59 +04:00
DarkCat09 d8f0172e95
Sanitize filenames 2024-05-24 21:28:32 +04:00
DarkCat09 38cc43b84f
Add cover downloader, add cfg.save_{lyrics,cover} (mainly for testing) 2024-05-09 18:05:39 +04:00
DarkCat09 62ebecc87f
Remove path_length config option
I've misunderstood the FS limits, 255 is for filename, not path.
Path is limited only by libc, it's 4096.
The default outtmpl in musicdlp contains slashes, so it's a path.
But YDL considers it to be a filename, so the whole
outtmpl formatting result is trimmed to path_length.
Do we really need this? I think there are no "malicious" long-named tracks :)
2024-05-06 19:43:32 +04:00
DarkCat09 96be306b2b
More config options (tmpl, yt_proxy) + notes 2024-05-04 10:34:18 +04:00
DarkCat09 df242e833f
Config, cookies 2024-05-03 20:57:20 +04:00