TrackTV Integration - 0xSysR3ll/MediaTrackSync GitHub Wiki
Prerequisites
- A registered Trakt.tv account
- Trakt.tv API credentials (Client ID and Client Secret)
Getting API Credentials
- Go to Trakt.tv API Settings
- Click "New Application"
- Fill in the required information:
- Name: MediaTrackSync
- Description: Automatic media tracking
- Redirect URI:
http://127.0.0.1:5000
- Save the application
- Note down your Client ID and Client Secret
Configuration
- Open the configuration file (
config/config.yml
) - Add your Trakt.tv credentials under the
users
section:tracktv: client_id: your_client_id client_secret: your_client_secret code: your_authorization_code redirect_uri: http://127.0.0.1:5000
- Get your authorization code:
- Visit:
https://trakt.tv/oauth/authorize?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=http://127.0.0.1:5000
- Log in to your Trakt.tv account
- Authorize the application
- Copy the authorization code
- Visit:
- Save the configuration file
- Restart the app
Troubleshooting
If you encounter any issues:
- Check that your Trakt.tv credentials are correct
- Verify that your authorization code is valid (they expire after a while)
- Check the logs for any error messages
- Ensure your server can reach the Trakt.tv API
[!NOTE] Authorization codes expire after a while, you may need to generate a new one