Skip to content

Latest commit

 

History

History
62 lines (62 loc) · 2.39 KB

lists.md

File metadata and controls

62 lines (62 loc) · 2.39 KB

Lists:

$ ./trakt-sync lists -a trending
$ ./trakt-sync lists -a popular

-t on trending/popular is sent to the API as-is; the API contract does not list the allowed types.

$ ./trakt-sync lists -a trending -t personal -> export_lists_trending_personal.json
$ ./trakt-sync lists -a popular -t official -> export_lists_popular_official.json
$ ./trakt-sync lists -a list -trakt_id 2142753

-ex images adds the list posters:

$ ./trakt-sync lists -a list -trakt_id 2142753 -ex images
$ ./trakt-sync lists -a likes -trakt_id 2142753
$ ./trakt-sync lists -a like -trakt_id 2142753
$ ./trakt-sync lists -a like -trakt_id 2142753 -remove
$ ./trakt-sync lists -a items -trakt_id 2142753
$ ./trakt-sync lists -a items -trakt_id 2142753 -t movie,show
$ ./trakt-sync lists -a items -trakt_id 2142753 -t movie -sort_by added -sort_how desc

Without -t, items returns all item types (movie,show,episode,season).

$ ./trakt-sync lists -a comments -trakt_id 2142753

-s sorts the comments: likes (the default), replies, newest or oldest. Another value stops before the request.

$ ./trakt-sync lists -a comments -trakt_id 2142753 -s newest
$ ./trakt-sync lists -a report -trakt_id 2142753 -r spam -message "only ads"
Filter lists and list items

trending, popular and items take the Trakt media filters: -genres, -subgenres, -years, -ratings, -runtimes, -countries, -certifications (comma separated where a filter takes several values), -start_date, -end_date and -watchnow favorites|any|any_all|free|free_all|subscriptions|subscriptions_all. -languages (language codes, comma separated) filters items; on 2026-10-03 the live API ignored it for trending and popular. -parental_nudity, -parental_violence, -parental_profanity, -parental_alcohol and -parental_frightening filter by parental guide: each takes a severity range min-max from 0 (none) to 3 (severe), ie: -parental_violence 0-1. Titles without a parental guide are left out, unless you add -parental_include_unrated.

$ ./trakt-sync lists -a items -trakt_id 2142753 -genres horror -years 2020-2026
$ ./trakt-sync lists -a trending -genres action -watchnow subscriptions