I just spent far too long trying to work out how to add my entire library to my trakt.tv account. I finally got it, and to help out anybody else who's as clueless as me I wrote a quick guide to describe what I did, so hopefully you won't waste as much time as I did.
I'm going to preface it by saying that I wasn't entirely sure of what I was doing, and pieced everything together from what is already in this thread. USE THESE INSTRUCTIONS AT YOUR OWN RISK!!!
This is just how I got it working myself. Any references to Mac or Linux have been picked up from this thread, I haven't done this on those platforms myself.
Well, here it is: The total idiot's guide to using the php script to upload your full library to trakt.tv
What you need:
* PHP installed on your computer (see below)
* the trakt-import.php script (available here
* For Mac this is easy because it's already installed
* On Linux run the apt-get instruction in this post
* On Windows, download an installer from here
. I downloaded "VC9 x86 Thread Safe" version, which worked for me. When it asked me which webserver I'd like to install I went with Apache 2.2.
Setting up the PHP script
* At the top of the script you'll notice a section like this:
Enter the relevant details by replacing the lower-case text or numbers on the right-hand side.
are referring to the username and password you have set for accessing the web server. I think the defaults are "xbmc" and "xbmc". You can check, or reset them in the Network settings menu in XBMC. NOTE: THESE ARE CASE SENSITIVE!
is referring to the IP address of the machine that you are running XBMC on. If you don't know this you can find it out by looking up the system info in XBMC. To find this in the Confluence skin hover over System setting in the main menu and press the right-hand directional button. From the sub-menu that appears select "System info"
is referring to the port being used for the XBMC web server - you can also find this under network settings. Default is 8080
Find this on the trakt.tv website
, NOTE: you must have a trakt.tv account before you can get one of these.
are the username and password that you used to sign up to trakt.tv
Preparing to run the script
* Ensure that XBMC is running
* Ensure that the web server is switched on (Settings > Network > services > Allow control of XBMC via HTTP)
* Move the script to the C:\ drive (at the root level, not in a folder)
Running the script
* Open the command prompt (Windows) or terminal (Linux/Mac)
* run the script by typing
(note above code is for Windows, don't know if it differs on Mac or Linux
The trakt-import.php script should run and you should see it picking up what's in your library and uploading it to trakt.tv
If you get a screen with "TV" and "Movies" headers but no other code, then you've probably entered some of the information wrong in the php script.
That's how I did it. Corrections gratefully accepted if you think anything should've been done different