feat(torrents): add Galaxy (TorrentGalaxy) provider with IMDb-first search and inline magnets

- new tg parser: /imdb-detail/<tt...> when an IMDb id is available (exact title, local seeder/size sort), keyword search as fallback; rows carry full magnets inline so Play works without a second fetch
- wire tg into /api/torrents and /api/magnet, TG_HOST env (default https://torrentgalaxy.info)
- Galaxy tab in the torrents modal; tabs now share equal space and hidden-scroll on overflow
- fix tab drag&drop: reorder on the sanitized order so tabs added later (like Galaxy) can be dragged
This commit is contained in:
ner committed 2026-10-25 18:24:08 +02:00
1 parent fb645b75a5
commit c41f1f098f
8 files changed
+184 -9

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ export const TOLOKA_PASSWORD = process.env.TOLOKA_PASSWORD;
export const PIRATE_BAY_HOST = process.env.PIRATE_BAY_HOST;
export const YTS_HOST = process.env.YTS_HOST;
export const TG_HOST = process.env.TG_HOST;
export const ODC_HOST = process.env.ODC_HOST;
export const ODC_USERNAME = process.env.ODC_USERNAME;