Let’s start improving the main page. So far, it was just all release groups sorted by weight on a single page, which was not super helpful (and got kinda large). The first feature is to show the latest releases that are known. This is done by torrent group ID. This ID does not always correspond to the date, but can also be a very old album that gets uploaded, or (seldomly) a group that gets merged for metadata. We should think about restricting this to favourites, automatically marking everything as favourite where we have an album downloaded or clicked on the artist before, and then selectively allow to un-mark it after the fact. An even stronger “not interested” could be used to automatically reclaim seedbox space once it becomes an issue. Eventually (after implementing favourites), we should introduce a job system that automatically updates these entries every few hours. Maybe even have a “very interested” feature that automatically downloads everything new for an artist? And then a “veryvery interested” feature that also buys the thing from bandcamp lol Change-Id: I467c350722279ff37150f847f5014d7e0e67e626 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13225 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> |
||
|---|---|---|
| .. | ||
| services | ||
| src | ||
| .gitignore | ||
| build.ninja | ||
| default.nix | ||
| Main.hs | ||
| notes.org | ||
| README.md | ||
| server-notes.org | ||
| whatcd-resolver.cabal | ||
whatcd-resolver
To run:
ninja run-services
in one terminal (starts the background tasks)
ninja run
to start the server. It runs on 9092.
You need to be in the nix-shell in ./...
You need to set the pass key internet/redacted/api-keys/whatcd-resolver to an API key for RED.
You need to have a transmission-rpc-daemon listening on port 9091 (no auth, try ssh port forwarding lol).