Giter Club home page Giter Club logo

trakt's Introduction

Trakt.tv import/export tools

Purpose

  • Import Movies or TVShows IDs from CSV file format into Trakt.tv.

  • Export Movies or TVShows IDs from Trakt.tv list into CSV file format.

  • Create trakt.tv custom list from TDMB discover with filter.

Requirements

You must use Python 2.7.x.

On Ubuntu/Debian Linux system

Ensure you are running Python 2.7

        $ python -V
Python 2.7.9

Install need module dependencies

    $ apt-get install python-dateutil python-simplejson python-requests python-openssl jq
On Windows system

Download the installer: https://www.python.org/ftp/python/2.7.11/python-2.7.11.msi

Ensure you are running Python 2.7

        C:\Python27>python.exe -V
Python 2.7.11

Install need module dependencies

    C:\Python2.7\Scripts\easy_install-2.7.exe simplejson requests

Usage

  • Create an Trakt.tv application to have your own client_id and client_secret, https://trakt.tv/oauth/applications. You only need to fill up the Name with a Description and Redirect uri to whatever (i.e. https://zapp.com, it is not being used), leave the rest empty and click on SAVE APP.

  • Run the script to create a default config file config.ini

      $ python export_trakt.py
    
  • Edit the config file config.ini and specify the client_id and client_secret as well as any other settings appropriate to your enviromenent, eg: URL, proxy, etc... Refer to Configuration details section for more information.

      $ vim config.ini
    
  • Run the script to authenticate against Trakt.tv API using the PIN method and it will generate you an oauth_token. You will be prompted to open a link into a browser and paste the pincode back to the script. Make sure you save the generated oauth_token into the config file config.ini for later use.

      $ python export_trakt.py
    

Import

Import CSV into trakt.tv

Export

Export data from trakt.tv into CSV

Sync

Create trakt.tv list from TDMB discover with filter

Export data from Kodi

Export Movies or TVShows IDs from Kodi into CSV file format. Export data from Kodi

Export data from CouchPotato

Export Movies IDs from CouchPotato into CSV file format. Export data from CouchPotato

Support

To get support, please create new issue

Licence

This script is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See http://www.gnu.org/licenses/gpl.html.

trakt's People

Contributors

a12 avatar britton-clapp avatar xbgmsharp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.