Skip to content

Language filter for auto-download #214

@adr1978

Description

@adr1978

Hi - rhanks for building this. As far as I can tell it's the only audiobook request portal that exists!

Quick request: would you consider adding a language filter to the download settings?

I'm running ABR with auto-download on, behind Prowlarr/Jackett with AudiobookBay as the indexer. Asked for a few Frank Herbert Dune books and got a mix - two English ones came through fine, but the other three were a Russian edition of God Emperor, a Spanish Herejes de Dune, and a Russian Dune Messiah. ABR scored them well because the English title is in the torrent name (publishers prepend it for searchability), so title_ratio matched.

I had a poke around the settings page and don't see anywhere to tell it "only English please". The Audible API returns a language field on every result, so the data is sitting right there - it's just not being used to filter.

What I think would solve it: a setting under Settings > Download where you can specify allowed languages (e.g. en, en-us), defaulting to empty so existing behaviour is unchanged. Either a hard drop or a heavy negative score, whichever fits the existing scoring pipeline better.

Happy to put a PR together if you're open to it - I'd want to check first whether you'd rather the gate sit in the Audible result filtering or further down in the scoring code. Also whether you'd want hard-filter or score-based.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions