Commit graph

31 commits

Author SHA1 Message Date
DarkCat09 0b0759fb3b
Lyrics: add irrelevant results filtering
Small note on how it works, copied from
raise_on_irrelevant_result() docstring:

Raises ValueError
if no words from track title are present in search result track title
and no words from artist name are present in search result artist name
2024-05-06 20:31:42 +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 e1ef74cc1c
Simpliest frontend UI 2024-05-05 19:44:37 +04:00
DarkCat09 44fc039ac9
Refactor: merge ydl_wrap with ydl_pool.Downloader, add callbacks 2024-05-05 19:24:52 +04:00
DarkCat09 e9c55a67d3
JSON schema v0.0.2 2024-05-05 19:04:18 +04:00
DarkCat09 96be306b2b
More config options (tmpl, yt_proxy) + notes 2024-05-04 10:34:18 +04:00
DarkCat09 0cbb9d424e
Lyrics: change search engine for more relevant results 2024-05-03 20:57:43 +04:00
DarkCat09 df242e833f
Config, cookies 2024-05-03 20:57:20 +04:00
DarkCat09 93c5ea3b18
Code cleanup
(there was an attempt to redirect yt-dlp stdout)
2024-05-03 20:10:42 +04:00
DarkCat09 2b47b002e6
Working WS server, yt-dlp objects "pool", async wrappers 2024-05-03 18:42:53 +04:00
DarkCat09 53a00570e7
Multiple artists support 2024-05-03 18:38:11 +04:00
DarkCat09 77127d3476
Fix: keep connection 2024-05-03 14:39:29 +04:00
DarkCat09 26312a655b
WS server template 2024-05-02 17:18:27 +04:00
DarkCat09 464b65232b
Test: post-processors 2024-05-02 16:00:21 +04:00
DarkCat09 38abaa9bba
Format: unused import 2024-04-28 14:08:28 +04:00
DarkCat09 c354aeb183
Fix tests after moving PoolManager to shared module 2024-04-28 14:07:30 +04:00
DarkCat09 ab93124337
shared -> http_pool 2024-04-28 14:06:20 +04:00
DarkCat09 80a7d2bde5
id3pp: add genre (TCON) 2024-04-28 14:02:07 +04:00
DarkCat09 7669127826
Fix id3pp: try..catch for lyrics, file.save() 2024-04-28 14:00:54 +04:00
DarkCat09 3a25d86b4f
Shared http pool, lyrics in ID3TagsPP 2024-04-28 13:44:53 +04:00
DarkCat09 4d83b238e4
Unify ID3 post-processor, move add_tags() code into run() 2024-04-28 13:30:21 +04:00
DarkCat09 0f9798efbf
Move Python configs to root 2024-04-28 13:14:12 +04:00
DarkCat09 4865506dd3
Fix makefile: .PHONY, @cmd to disable echoing, cd && cmd 2024-04-28 13:12:00 +04:00
DarkCat09 1fa4d3e8e5
Makefile stub + make test 2024-04-28 13:06:34 +04:00
DarkCat09 daae22ea0e
Split frontend and backend 2024-04-28 12:55:45 +04:00
DarkCat09 eb9bada544
Genius lyrics parser (it works!) 2024-04-27 22:08:20 +04:00
DarkCat09 89b8f154fc
Requirements: reorder, add urllib3 2024-04-27 22:07:58 +04:00
DarkCat09 7e34fa6c95
Gitignore: pycache 2024-04-27 22:07:39 +04:00
DarkCat09 d62b2699c5
Politely ask Pyright to shut up
See `add_tags()` L10-17 in `id3pp.py`.
`mutagen.id3.Txxx` are not private, but Pyright has its own vision.
2024-04-27 20:05:26 +04:00
DarkCat09 5a0d879b5b
Untested pre/post-processors (ID3 + correct info dict), v0.0.1 2024-04-27 19:58:20 +04:00
DarkCat09 f79dd5f5ab
Initial commit 2024-04-27 19:57:53 +04:00