mirror of
https://github.com/SinTan1729/TvTimeToTrakt.git
synced 2024-12-26 05:18:36 -06:00
updated readme again
This commit is contained in:
parent
54b1da5f13
commit
1f5ab9d66d
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -1,17 +1,17 @@
|
||||||
# TimeToTrakt
|
# TV Time to Trakt (Import Script)
|
||||||
A quick Python script to import TV Time watched episode data into Trakt.TV - using data provided by Whip Media Company via a GDPR request.
|
A quick Python script to import TV Time tracked episode data into Trakt.TV - using data provided by Whip Media Company via a GDPR request.
|
||||||
|
|
||||||
# Issues
|
# Issues
|
||||||
They'll be a few! If you come across anything then let me know in the 'Issue' section, and I'll provide help where possible.
|
They'll be a few! If you come across anything then let me know in the 'Issue' section, and I'll provide help where possible.
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
1. The script is using limited data provided from a GDPR request - so the accuracy isn't 100%. But you will be prompted to manually pick the Trakt show, when it can't be determined automatically.
|
1. The script is using limited data provided from a GDPR request - so the accuracy isn't 100%. But you will be prompted to manually pick the Trakt show, when it can't be determined automatically.
|
||||||
2. A delay of 5 seconds is added between each episode to ensure fair use of Trakt's servers - especially with my import of 6,500 episodes.
|
2. A delay of 5 seconds is added between each episode to ensure fair use of Trakt's servers - especially with my import of 6,500 episodes. You should adjust this for your own import.
|
||||||
3. Episodes which have been imported are be saved to `localStorage.json` - this will let you re-run and skip to episodes which have not been imported yet.
|
3. Episodes which have been processed will be saved to a TinyDB file `localStorage.json` - then when you restart the script, the program will skip those episodes which have been marked 'imported'.
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
## Get your Data
|
## Get your Data
|
||||||
The TV Time API is request based only. In order to get access to your data, you will have to request it from TV Time's Support via a GDPR request - or just ask for it!
|
TV Time's API is not open. So, in order to get access to your personal data, you will have to request it from TV Time's support via a GDPR request - or maybe just ask for it!
|
||||||
|
|
||||||
1. Copy the template provided by [www.datarequests.org](https://www.datarequests.org/blog/sample-letter-gdpr-access-request/) into an email.
|
1. Copy the template provided by [www.datarequests.org](https://www.datarequests.org/blog/sample-letter-gdpr-access-request/) into an email.
|
||||||
2. Send it to support@tvtime.com
|
2. Send it to support@tvtime.com
|
||||||
|
@ -22,10 +22,10 @@ The TV Time API is request based only. In order to get access to your data, you
|
||||||
1. Go to "Settings" under your profile
|
1. Go to "Settings" under your profile
|
||||||
2. Select ["Your API Applications"](https://trakt.tv/oauth/applications)
|
2. Select ["Your API Applications"](https://trakt.tv/oauth/applications)
|
||||||
3. Select "New Application"
|
3. Select "New Application"
|
||||||
4. Provide a random name into "Name"
|
4. Provide a name into "Name" e.g John Smith Import from TV Time
|
||||||
5. Paste "urn:ietf:wg:oauth:2.0:oob" into "Redirect uri:"
|
5. Paste "urn:ietf:wg:oauth:2.0:oob" into "Redirect uri:"
|
||||||
6. Click "Save App"
|
6. Click "Save App"
|
||||||
7. Make note of your app
|
7. Make note of your details to be used later.
|
||||||
|
|
||||||
## Setup Script
|
## Setup Script
|
||||||
### Install Required Libraries
|
### Install Required Libraries
|
||||||
|
@ -33,7 +33,7 @@ Install the following frameworks via Pip:
|
||||||
1. trakt
|
1. trakt
|
||||||
2. tinydb
|
2. tinydb
|
||||||
### Setup Configuration
|
### Setup Configuration
|
||||||
Create a new file named `config.json`, with the below JSON (replace values with your own).
|
Create a new file named `config.json` in the same directory of `TimeToTrakt.py`, using the below JSON contents (replace the values with your own).
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
@ -44,4 +44,4 @@ Create a new file named `config.json`, with the below JSON (replace values with
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, execute the program using the `./python3 TimeToTrakt.py` - make sure to pop back and confirm selection of shows when prompted.
|
Then, execute the program using `./python3 TimeToTrakt.py` - make sure to pop back during a long import to provide the correct Trakt TV Show selections.
|
Loading…
Reference in a new issue