l3uddz / traktarr

Script to add new series & movies to Sonarr/Radarr based on Trakt lists.
GNU General Public License v3.0
576 stars 52 forks source link

Option " --include_non_acting_roles" not working for CLI commands #117

Closed Rubeast closed 4 years ago

Rubeast commented 4 years ago

I was asked in the discord channel to post this here. On the wiki you can find examples CLI. https://github.com/l3uddz/traktarr#examples-cli

The last example is: traktarr movies -t person -a 'tom cruise' --include_non_acting_roles -l 10

When I execute that I receive: "Error: no such option: --include_non_acting_roles"

Without that option, the command works fine. But I was looking for a way to add movies from a certain director. (Don't even know if this is the best way)

desimaniac commented 4 years ago

Thanks. I’ll take a look later.

desimaniac commented 4 years ago

The command argument has dashes, not underlines.

traktarr movies --help
--include-non-acting-roles      Include non-acting roles such as 'As Himself', 'Narrator', etc.
                                  Requires the 'person' list option with the 'actor' argument.

So it should be:

 traktarr movies -t person -a 'tom cruise' --include-non-acting-roles -l 10
desimaniac commented 4 years ago

Corrected the example in the readme. Thanks for pointing it out.

desimaniac commented 4 years ago

As for director search, try -a <director name> -include-non-acting-roles