trakt-sync

command module
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 9 Imported by: 0

README

Installation

go install github.com/mfederowicz/trakt-sync@latest

Configuration

After install, we should create API app and save credentials in config file ($HOME/trakt-sync.toml):

client_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
token_path = "~/.config/trakt-sync/token.json"
errorCode = 0
warningCode = 0
per_page = 500
pages_limit = 10

Usage

trakt-sync supports a -config flag whose value should correspond to a TOML file. If not provided, trakt-sync will try to use a global config file (assumed to be located at $HOME/trakt-sync.toml). Otherwise, if no configuration TOML file is found then trakt-sync uses a built-in parameters depends on selected module.

Command Line Flags

trakt-sync accepts the following command line parameters:

  • -config [PATH] - path to config file in TOML format, defaults to $HOME/trakt-sync.toml if present.
  • -version - get trakt-sync version.

Command Line Commands

trakt-sync accepts the following command line commands/modules:

  • calendars - By default, the calendar will return all shows or movies for the specified time period and can be global or user specific.
  • certifications - Certifications list
  • checkin - Checkin movie,episode,show_episode,delete
  • collection - Get all collected items in a user's collection.
  • comments - Comments comments,comment,replies,item,likes,like,trending,recent,updates.
  • countries - Get a list of all countries, including names and codes.
  • genres - Get a list of all genres, including names and slugs.
  • help - Help on the trakt-sync command and subcommands.
  • history - Returns movies and episodes that a user has watched, sorted by most recent.
  • languages - Get a list of all laguages, including names and codes.
  • lists - Returns data about lists: trending, popular, list, likes, like, items, comments.
  • movies - Returns data about movies: trending, popular, list, likes, like, items, comments etc...
  • networks - Get a list of all TV networks
  • notes - Manage notes created by user
  • people - Returns all data for selected person.
  • recommendations - Recommendations manage movie and shows recommendations for user
  • scrobble - Scrobble for start/pause/stop movie,show,episode
  • search - Searches can use queries or ID lookups.
  • seasons - Returns data about seasons: summary, season, episodes, translations, comments etc...
  • shows - Returns data about movies: trending, popular, list, likes, like, items, comments etc...
  • users - Returns all data for a user.
  • watchlist - Returns all items in a user's watchlist filtered by type.

Sample export usage

calendars:
$ ./trakt-sync calendars -a all-shows -> export_calendars_shows_20240707_7.json
$ ./trakt-sync calendars -a all-new-shows -> export_calendars_new_shows_20240707_7.json
$ ./trakt-sync calendars -a all-season-premieres -> export_calendars_season_premieres_20240707_7.json
$ ./trakt-sync calendars -a all-finales -> export_calendars_finales_20240707_7.json 
$ ./trakt-sync calendars -a all-movies -> export_calendars_movies_20240707_7.json  
$ ./trakt-sync calendars -a all-dvd -> export_calendars_dvd_20240707_7.json
certifications:
$ ./trakt-sync certifications -> export_certifications_movies.json
$ ./trakt-sync certifications -t movies -> export_certifications_movies.json
$ ./trakt-sync certifications -t shows -> export_certifications_shows.json
checkin:
$ ./trakt-sync checkin -a movie -trakt_id 28 -msg "super movie"
$ ./trakt-sync checkin -a episode -trakt_id 3190486 -msg "super episode"
$ ./trakt-sync checkin -a show_episode -trakt_id 37696 -episode_abs 6 -msg "super episode"
$ ./trakt-sync checkin -a show_episode -trakt_id 136121 -episode_code 1x5 -msg "super episode"
$ ./trakt-sync checkin -a delete 
collection:
$ ./trakt-sync collection -t movies --ex metadata
$ ./trakt-sync collection -t shows --ex metadata
comments:
$ ./trakt-sync comments -a comment -comment_id 779883 -comment "minions,minions,minions movie ever ok" 
$ ./trakt-sync comments -a comment -comment_id 779883 -delete
$ ./trakt-sync comments -a comments -t episode -trakt_id 172245 -comment "super episode, interesting plot ok" 
$ ./trakt-sync comments -a replies -comment_id 779896 -reply "reply msg min 5 words" -spoiler 
$ ./trakt-sync comments -a replies -comment_id 71340
$ ./trakt-sync comments -a item -comment_id 664237 -ex full
$ ./trakt-sync comments -a likes -comment_id 773108 -remove
$ ./trakt-sync comments -a like -comment_id 773108
$ ./trakt-sync comments -a like -comment_id 773108 -remove
$ ./trakt-sync comments -a trending -comment_type reviews
$ ./trakt-sync comments -a recent -include_replies false
$ ./trakt-sync comments -a recent -include_replies true
$ ./trakt-sync comments -a updates -include_replies false
countries:
$ ./trakt-sync countries -> export_countries_movies.json
$ ./trakt-sync countries -t movies -> export_countries_movies.json
$ ./trakt-sync countries -t shows -> export_countries_shows.json
genres:
$ ./trakt-sync genres -> export_genres_movies.json
$ ./trakt-sync genres -t movies -> export_genres_movies.json
$ ./trakt-sync genres -t shows -> export_genres_shows.json
history:
$ ./trakt-sync history -t shows -> export_history_shows_imdb.json
$ ./trakt-sync history -t episodes -f tmdb -> export_history_episodes_tmdb.json
$ ./trakt-sync history -t episodes -f imdb -> export_history_episodes_imdb.json
languages:
$ ./trakt-sync languages -> export_languages_movies.json
$ ./trakt-sync languages -t movies -> export_languages_movies.json
$ ./trakt-sync languages -t shows -> export_languages_shows.json
lists:
$ ./trakt-sync lists -a trending
$ ./trakt-sync lists -a popular
$ ./trakt-sync lists -a list -trakt_id 2142753
$ ./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

-- (temp not working - problems with api endpoint)

$ ./trakt-sync lists -a comments -trakt_id 2142753 
movies:
$ ./trakt-sync movies -a trending
$ ./trakt-sync movies -a popular
Get the most favorited movies
$ ./trakt-sync movies -a favorited -period daily
$ ./trakt-sync movies -a favorited -period weekly
$ ./trakt-sync movies -a favorited -period monthly
$ ./trakt-sync movies -a favorited -period all
Get the most played movies
$ ./trakt-sync movies -a played -period daily
$ ./trakt-sync movies -a played -period weekly
$ ./trakt-sync movies -a played -period monthly
$ ./trakt-sync movies -a played -period all
Get the most watched movies
$ ./trakt-sync movies -a watched -period daily
$ ./trakt-sync movies -a watched -period weekly
$ ./trakt-sync movies -a watched -period monthly
$ ./trakt-sync movies -a watched -period all
Get the most collected movies
$ ./trakt-sync movies -a collected -period daily
$ ./trakt-sync movies -a collected -period weekly
$ ./trakt-sync movies -a collected -period monthly
$ ./trakt-sync movies -a collected -period all
Get the most anticipated movies
$ ./trakt-sync movies -a anticipated
Get the weekend box office
$ ./trakt-sync movies -a boxoffice
Get recenty updated movies
$ ./trakt-sync movies -a updates -start_date YYYY-MM-DD
Get recenty updated movie Trakt IDs
$ ./trakt-sync movies -a updated_ids -start_date YYYY-MM-DD
Get a movie
$ ./trakt-sync movies -a summary -i the-sopranos
Get all movie aliases
$ ./trakt-sync movies -a aliases -i the-sopranos
Get all movie releases
$ ./trakt-sync movies -a releases -i the-sopranos -country us
Get all movie translations
$ ./trakt-sync movies -a translations -i the-sopranos -language es
Get all movie comments
$ ./trakt-sync movies -a comments -i the-sopranos -s newest
$ ./trakt-sync movies -a comments -i the-sopranos -s oldest
$ ./trakt-sync movies -a comments -i the-sopranos -s likes
$ ./trakt-sync movies -a comments -i the-sopranos -s replies
$ ./trakt-sync movies -a comments -i the-sopranos -s highest
$ ./trakt-sync movies -a comments -i the-sopranos -s lowest
$ ./trakt-sync movies -a comments -i the-sopranos -s plays
Get lists containing the movie
$ ./trakt-sync movies -a lists -i the-sopranos -t all -s popular
$ ./trakt-sync movies -a lists -i the-sopranos -t all -s likes
$ ./trakt-sync movies -a lists -i the-sopranos -t all -s comments
$ ./trakt-sync movies -a lists -i the-sopranos -t all -s items
$ ./trakt-sync movies -a lists -i the-sopranos -t all -s added
$ ./trakt-sync movies -a lists -i the-sopranos -t all -s updated
Get all people for movie
$ ./trakt-sync movies -a people -i the-sopranos
Get movie ratings
$ ./trakt-sync movies -a ratings -i the-sopranos
$ ./trakt-sync movies -a related -i the-sopranos
Get movies stats
$ ./trakt-sync movies -a stats -i the-sopranos
Get movies studios
$ ./trakt-sync movies -a studios -i the-sopranos
Get users watching right now
$ ./trakt-sync movies -a watching -i the-sopranos
Get all videos
$ ./trakt-sync movies -a videos -i the-sopranos
Refresh movie metadata
$ ./trakt-sync movies -a refresh -i the-sopranos
networks:
$ ./trakt-sync networks -a list
notes:
adding notes for media types:
$ ./trakt-sync notes -a notes -t movie -i the-sopranos -notes "xyz"
$ ./trakt-sync notes -a notes -t show -i breaking-bad -notes "greate show"
$ ./trakt-sync notes -a notes -t season -i 250341 -notes "greate season"
$ ./trakt-sync notes -a notes -t episode -i 250341 -notes "greate episode"
$ ./trakt-sync notes -a notes -t person -i john-wayne -notes "greate person"
$ ./trakt-sync notes -a notes -t history -i 1234567 -notes "history note"
adding notes depends on activities:
$ ./trakt-sync notes -a notes -t collection -item episode -i 73629 -notes "great episode"
$ ./trakt-sync notes -a notes -t collection -item movie -i despicable-me-4-2024 -notes "great animation"
$ ./trakt-sync notes -a notes -t rating -item movie -i despicable-me-4-2024 -notes "great animation"
$ ./trakt-sync notes -a notes -t rating -item episode -i 73629 -notes "overall 10/10"
$ ./trakt-sync notes -a notes -t rating -item movie -i the-gorge-2025 -notes "overall 7/10"
$ ./trakt-sync notes -a notes -t rating -item season -i 3961 -notes "overall 9/10"
$ ./trakt-sync notes -a notes -t rating -item show -i the-sopranos -notes "overall 9/10"
manage notes get/modify/delete:
$ ./trakt-sync notes -a note -i 97857
$ ./trakt-sync notes -a note -i 97857 -notes "super 10/10" -privacy public -spoiler
$ ./trakt-sync notes -a note -i 97857 -delete
get items attachment to note:
$ ./trakt-sync notes -a item -i 97854
people:
$ ./trakt-sync people -a updates -start_date 2024-10-13
$ ./trakt-sync people -a updated_ids -start_date 2024-10-13
$ ./trakt-sync people -a summary -i john-wayne
$ ./trakt-sync people -a movies -i john-wayne
$ ./trakt-sync people -a shows -i john-wayne
$ ./trakt-sync people -a lists -i john-wayne
recommendations:
hide movie recommendations:
$ ./trakt-sync recommendations -a movies -i black-bag-2025 -hide                                                                                                              
movies recommendations:
$ ./trakt-sync recommendations -a movies                                                                                      
$ ./trakt-sync recommendations -a movies -ignore_collected true -ignore_watchlisted true                                                                                      
hide show recommendations:
$ ./trakt-sync recommendations -a shows -i wellington-paranormal -hide
movies recommendations:
$ ./trakt-sync recommendations -a shows                                                                                      
$ ./trakt-sync recommendations -a shows -ignore_collected false -ignore_watchlisted false                                                                                     
scrobble:
scrobble start/pause/stop movie:
$ ./trakt-sync scrobble -a start -t movie -progress 3.45 -i guardians-of-the-galaxy-2014
$ ./trakt-sync scrobble -a pause -t movie -progress 3.45 -i guardians-of-the-galaxy-2014
$ ./trakt-sync scrobble -a stop -t movie -progress 3.45 -i guardians-of-the-galaxy-2014
scrobble start/pause/stop episode:
$ ./trakt-sync scrobble -a start -t episode -i 73629 -progress 10.25
$ ./trakt-sync scrobble -a pause -t episode -i 73629 -progress 10.25
$ ./trakt-sync scrobble -a stop -t episode -i 73629 -progress 50.25
scrobble start/pause/stop show by episode code (format season x episode):
$ ./trakt-sync scrobble -a start -t show_episode -i 136121 -episode_code 1x5 -progress 3.45
$ ./trakt-sync scrobble -a pause -t show_episode -i 136121 -episode_code 1x5 -progress 3.45
$ ./trakt-sync scrobble -a stop -t show_episode -i 136121 -episode_code 1x5 -progress 3.45
scrobble start/pause/stop show by episode abs number (useful for Anime and Donghua):
$ ./trakt-sync scrobble -a start -t show_episode -i 37696 -episode_abs 164 -progress 50
$ ./trakt-sync scrobble -a pause -t show_episode -i 37696 -episode_abs 164 -progress 50
$ ./trakt-sync scrobble -a stop -t show_episode -i 37696 -episode_abs 164 -progress 60
Export search result by Text Query:
$  ./trakt-sync search -a text-query -t movie -q freddy --field title
$  ./trakt-sync search -a text-query -t movie -t show -q freddy --field tagline
$  ./trakt-sync search -a text-query -t movie -t show -t list -q freddy --field name
$  ./trakt-sync search -a text-query -t movie -t show -t list -q freddy --field title
$  ./trakt-sync search -a text-query -t person -t list -q freddy --field name
$  ./trakt-sync search -a text-query -t movie -t show -t list -q freddy --field title
Export search result by Id lookup:
$ ./trakt-sync search -a id-lookup -i 12601 -t movie -t show
$ ./trakt-sync search -a id-lookup --id_type tvdb -i 12601 -t movie -t show
$ ./trakt-sync search -a id-lookup --id_type imdb -i 12601 -t movie
$ ./trakt-sync search -a id-lookup --id_type imdb -i 12601 -t podcast
$ ./trakt-sync search -a id-lookup --id_type imdb -i tt0266697
$ ./trakt-sync search -a id-lookup --id_type tvdb -i 75725
$ ./trakt-sync search -a id-lookup --id_type tvdb -i 75725 -t podcast
$ ./trakt-sync search -a id-lookup -i 75725 
$ ./trakt-sync search -a id-lookup -i 75725 -t episode
$ ./trakt-sync search -a id-lookup --id_type tmdb -i 254265
shows:
$ ./trakt-sync shows -a trending
$ ./trakt-sync shows -a popular
Get the most favorited shows
$ ./trakt-sync shows -a favorited -period daily
$ ./trakt-sync shows -a favorited -period weekly
$ ./trakt-sync shows -a favorited -period monthly
$ ./trakt-sync shows -a favorited -period all
Get the most played shows
$ ./trakt-sync shows -a played -period daily
$ ./trakt-sync shows -a played -period weekly
$ ./trakt-sync shows -a played -period monthly
$ ./trakt-sync shows -a played -period all
Get the most watched shows
$ ./trakt-sync shows -a watched -period daily
$ ./trakt-sync shows -a watched -period weekly
$ ./trakt-sync shows -a watched -period monthly
$ ./trakt-sync shows -a watched -period all
Get the most collected shows
$ ./trakt-sync shows -a collected -period daily
$ ./trakt-sync shows -a collected -period weekly
$ ./trakt-sync shows -a collected -period monthly
$ ./trakt-sync shows -a collected -period all
Get the most anticipated shows
$ ./trakt-sync shows -a anticipated
Get recenty updated shows
$ ./trakt-sync shows -a updates -start_date YYYY-MM-DD
Get recenty updated show Trakt IDs
$ ./trakt-sync shows -a updated_ids -start_date YYYY-MM-DD
Get a show
$ ./trakt-sync shows -a summary -i the-sopranos
Get all show aliases
$ ./trakt-sync shows -a aliases -i the-sopranos
Get all show certifications
$ ./trakt-sync shows -a certifications -i the-sopranos
Get all show translations
$ ./trakt-sync shows -a translations -i the-sopranos -language es
Get all show comments
$ ./trakt-sync shows -a comments -i the-sopranos -s newest
$ ./trakt-sync shows -a comments -i the-sopranos -s oldest
$ ./trakt-sync shows -a comments -i the-sopranos -s likes
$ ./trakt-sync shows -a comments -i the-sopranos -s replies
$ ./trakt-sync shows -a comments -i the-sopranos -s highest
$ ./trakt-sync shows -a comments -i the-sopranos -s lowest
$ ./trakt-sync shows -a comments -i the-sopranos -s plays
Get lists containing the show
$ ./trakt-sync shows -a lists -i the-sopranos -t all -s popular
$ ./trakt-sync shows -a lists -i the-sopranos -t all -s likes
$ ./trakt-sync shows -a lists -i the-sopranos -t all -s comments
$ ./trakt-sync shows -a lists -i the-sopranos -t all -s items
$ ./trakt-sync shows -a lists -i the-sopranos -t all -s added
$ ./trakt-sync shows -a lists -i the-sopranos -t all -s updated
Get show collection progress
$ ./trakt-sync shows -a collection_progress -i the-sopranos
$ ./trakt-sync shows -a collection_progress -i the-sopranos -hidden false 
$ ./trakt-sync shows -a collection_progress -i the-sopranos -specials false 
$ ./trakt-sync shows -a collection_progress -i the-sopranos -count_specials true
$ ./trakt-sync shows -a collection_progress -i the-sopranos -hidden true -specials true -count_specials true
Get show watched progress
$ ./trakt-sync shows -a watched_progress -i the-sopranos
$ ./trakt-sync shows -a watched_progress -i the-sopranos -hidden false 
$ ./trakt-sync shows -a watched_progress -i the-sopranos -specials false 
$ ./trakt-sync shows -a watched_progress -i the-sopranos -count_specials true
$ ./trakt-sync shows -a watched_progress -i the-sopranos -hidden true -specials true -count_specials true
Reset show progress
$ ./trakt-sync shows -a reset_show_progress -i the-sopranos
Undo Reset show progress
$ ./trakt-sync shows -a reset_show_progress -i the-sopranos -undo
Get all people for a show
$ ./trakt-sync shows -a people -i the-sopranos
$ ./trakt-sync shows -a people -i the-sopranos -ex guest_stars
Get show ratings
$ ./trakt-sync shows -a ratings -i the-sopranos
$ ./trakt-sync shows -a related -i the-sopranos
Get show studios
$ ./trakt-sync shows -a studios -i the-sopranos
Get users watching right now
$ ./trakt-sync shows -a watching -i the-sopranos
Get next episode
$ ./trakt-sync shows -a next_episode -i the-sopranos
Get last episode
$ ./trakt-sync shows -a last_episode -i the-sopranos
Get all videos
$ ./trakt-sync shows -a videos -i the-sopranos
Refresh show metadata
$ ./trakt-sync shows -a refresh -i the-sopranos
seasons:
Get all seasons for a show
$ ./trakt-sync seasons -a summary -i the-sopranos -ex full
Get single seasons for a show
$ ./trakt-sync seasons -a season -i the-sopranos -season 1 -ex full
Get all episodes for a single season
$ ./trakt-sync seasons -a episodes -i the-sopranos -season 1 -translations es -ex full
Get all season translations - all languages
$ ./trakt-sync seasons -a translations -i the-sopranos -season 1 
Get all season translations - selected language
$ ./trakt-sync seasons -a translations -i the-sopranos -season 1 -language en
Get all season comments
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s newest
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s oldest
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s likes
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s replies
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s highest
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s lowest
$ ./trakt-sync seasons -a comments -i the-sopranos -season 1 -s plays
Get lists containing this season
$ ./trakt-sync seasons -a lists -i the-sopranos -season 1 -t all -s popular
$ ./trakt-sync seasons -a lists -i the-sopranos -season 1 -t all -s likes
$ ./trakt-sync seasons -a lists -i the-sopranos -season 1 -t all -s comments
$ ./trakt-sync seasons -a lists -i the-sopranos -season 1 -t all -s items
$ ./trakt-sync seasons -a lists -i the-sopranos -season 1 -t all -s added
$ ./trakt-sync seasons -a lists -i the-sopranos -season 1 -t all -s updated
Get all people for season
$ ./trakt-sync seasons -a people -i the-sopranos -season 1
Get season ratings
$ ./trakt-sync seasons -a ratings -i the-sopranos -season 1
$ ./trakt-sync seasons -a related -i the-sopranos -season 1
Get seasons stats
$ ./trakt-sync seasons -a stats -i the-sopranos -season 1
Get users watching right now
$ ./trakt-sync seasons -a watching -i the-sopranos -season 1
Get all videos
$ ./trakt-sync seasons -a videos -i the-sopranos -season 1
episodes:
Get a single episode for a show
$ ./trakt-sync episodes -a summary -i the-sopranos -season 1 -episode 1 -ex full
Get all episode translations - all languages
$ ./trakt-sync episodes -a translations -i the-sopranos -season 1 -episode 1 
Get all episode translations - selected language
$ ./trakt-sync episodes -a translations -i the-sopranos -season 1 -episode 1 -language en
Get all episode comments
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s newest
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s oldest
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s likes
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s replies
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s highest
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s lowest
$ ./trakt-sync episodes -a comments -i the-sopranos -season 1 -episode 1 -s plays
Get lists containing this episode
$ ./trakt-sync episodes -a lists -i the-sopranos -season 1 -episode 1 -t all -s popular
$ ./trakt-sync episodes -a lists -i the-sopranos -season 1 -episode 1 -t all -s likes
$ ./trakt-sync episodes -a lists -i the-sopranos -season 1 -episode 1 -t all -s comments
$ ./trakt-sync episodes -a lists -i the-sopranos -season 1 -episode 1 -t all -s items
$ ./trakt-sync episodes -a lists -i the-sopranos -season 1 -episode 1 -t all -s added
$ ./trakt-sync episodes -a lists -i the-sopranos -season 1 -episode 1 -t all -s updated
Get all people for episode
$ ./trakt-sync episodes -a people -i the-sopranos -season 1 -episode 1
Get episode ratings
$ ./trakt-sync episodes -a ratings -i the-sopranos -season 1 -episode 1
$ ./trakt-sync episodes -a related -i the-sopranos -season 1 -episode 1
Get episodes stats
$ ./trakt-sync episodes -a stats -i the-sopranos -season 1 -episode 1
Get users watching right now
$ ./trakt-sync episodes -a watching -i the-sopranos -season 1 -episode 1
Get all episodes videos
$ ./trakt-sync episodes -a videos -i the-sopranos -season 1 -episode 1
users:
Export movies or shows or episodes from user lists:
$ ./trakt-sync users -a lists -u username -i 123456 -t episodes
$ ./trakt-sync users -a lists -u username -i 123456 -t shows
$ ./trakt-sync users -a lists -u username -i 123456 -t movies
Fetch lists for selected user:
$ ./trakt-sync users -a lists -u username 
Fetch saved filters for selected user:
$ ./trakt-sync users -a saved_filters -u username 
Fetch stats for selected user:
$ ./trakt-sync users -a stats -u sean 
Fetch settings for current user:
$ ./trakt-sync users -a settings 
Fetch watched movies for selected user:
$ ./trakt-sync users -a watched -t movies -u sean 
Fetch watched shows for selected user:
$ ./trakt-sync users -a watched -t shows -u sean 
Fetch watched shows for selected user without seasons:
$ ./trakt-sync users -a watched -t shows -u sean --ex noseasons
watchlist
Export all movies from watchlist:
$ ./trakt-sync watchlist -t movies -f tmdb -> export_watchlist_movies_tmdb.json 
$ ./trakt-sync watchlist -t movies -f imdb -> export_watchlist_movies_imdb.json

License

MIT

Documentation

Overview

Package main github.com/mfederowicz/trakt-sync.

Directories

Path Synopsis
Package buffer used to write buffer bytes and printout logs if exists
Package buffer used to write buffer bytes and printout logs if exists
Package cfg used for process configuration
Package cfg used for process configuration
Package cli for basic cli functions
Package cli for basic cli functions
Package cmds used for commands modules
Package cmds used for commands modules
Package consts used to store const for application
Package consts used to store const for application
Package handlers used to handle module actions
Package handlers used to handle module actions
Package internal used for client and services
Package internal used for client and services
Package printer is replacement for fmt.* functions
Package printer is replacement for fmt.* functions
Package str used for structs
Package str used for structs
Package test used for process tests
Package test used for process tests
Package uri used for url operations
Package uri used for url operations
Package writer used for write operations
Package writer used for write operations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL