Skip to content

Bash script which scans for movie files and adds the titles to your trakt.tv account.

License

Notifications You must be signed in to change notification settings

Ben-Kaniobi/drive2trakt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drive2trakt

Bash script which scans for movie files and adds the titles to your trakt.tv account. Movie file names don't have to be in English. TV shows not supported (yet?), sorry. The script is not very fast, but it does the job :)

What you'll need

  • TMDb API key
  • trakt.tv account
  • bash (works with git bash for Windows, so it should work with Cygwin too)

How to

  1. Add your user information to the file 'config.sh'

  2. Optional: Change the naming options in the same file

  3. Make sure both files 'drive2trakt.sh' and 'config.sh' are executable

    chmod +x drive2trakt.sh config.sh
  4. See help option for usage

    ./drive2trakt.sh --help

    Output:

    Usage: drive2trakt.sh [OPTION]... [DIR]
    Searches for movie files in DIR and add them to the library of the trakt.tv user.
    
      -r, --recursive            search subdirectories recursively
      -s, --seen                 add movies to seen list too
      -w, --watchlist            add movies to watchlist too
          --help                 display this info
    
  5. Run the script with the options you like

About

Bash script which scans for movie files and adds the titles to your trakt.tv account.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages