bitmagnet-io / bitmagnet

A self-hosted BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration.
https://bitmagnet.io/
MIT License
2.48k stars 100 forks source link

Feature adult classifier #56

Closed dr4gn3l closed 10 months ago

dr4gn3l commented 1 year ago

Classify adult content when it contains xxx in the name and try to get info from metadataapi.net using an api key I tried to use the code from the resolver tmdb, it may contains some duplicate code.

We may add a button NSFW and blur the image but I don't know anuglar.

Let me know if something is wrong.

mgdigital commented 1 year ago

Hi, I'm not sure about the metadataapi integration - what's their track record, it looks a bit fly-by-night (I might be wrong)? As I understand most adult content is available on TMDB that we've already integrated (is there a lot of adult content on metadataapi but not on TMDB?) - it might just be a case of adapting the existing movie/TV regexes to adult content and querying TMDB. Whereas the movie/TV classifiers require an exact API match we probably just want to put things in the XXX category if the name contains relevant keywords; if possible we'll find a TMDB match but generally XXX releases are more likely to be "unofficial" or not something we can find on any API.

mgdigital commented 10 months ago

Closing this PR due to lack of response.