[RELEASE] trakt.tv tv/movie scrobbler

  Thread Rating:
  • 9 Votes - 4.78 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rectifyer Offline
trakt.tv admin
Posts: 424
Joined: Oct 2009
Reputation: 18
Video  [RELEASE] trakt.tv tv/movie scrobbler
Post: #1
This is a new thread to discuss the trakt.tv add-on and website. This thread replaces the old one. The first posts will be updated with any new info, screenshots, etc.

Official Release: 2.3.1 (frodo) (xbmc.org repository)
Testing Release: 2.3.2 (frodo) (github)

*** Please post a link to your xbmc.log with debugging on. This is the best way to troubleshoot your issue. ***

[Image: logo-trakt.png]

What is trakt?

Automatically scrobble all TV episodes and movies you are watching to trakt.tv! Keep a comprehensive history of everything you've watched and be part of a global community of TV and movie enthusiasts. Sign up for a free account at trakt.tv and get a ton of features:
  • Automatically scrobble what you're watching
  • Mobile apps for iPhone, iPad, Android, and Windows Phone
  • Share what you're watching (in real time) and rating to facebook and twitter
  • Follow your friends and people you're interesed in
  • Use watchlists so you don't forget to what to watch
  • Track your media collections and impress your friends
  • Create custom lists around any topics you choose
  • Easily track your TV show progress across all seasons and episodes
  • Track your progress against industry lists such as the IMDb Top 250
  • Discover new shows and movies based on your viewing habits
  • Widgets for your forum signature
What can this add-on do?
  • Automatically scrobble all TV episodes and movies you are watching
  • Sync your TV episode and movie collections to trakt (triggered after a library update)
  • Auto clean your trakt collection so that it matches up with XBMC
  • Keep watched statuses synced between XBMC and trakt
  • Rate movies and episode after watching them
  • Custom skin/keymap actions for toggling watched status, rating, tagging, and listing (see https://github.com/trakt/script.trakt/wiki)
What can be scrobbled?

This plugin will scrobble local media and most remote streaming content. Local content should be played in XBMC library mode and you should use TVDb (for tv shows) and TMDb (for movies) as your scrapers. TV shows are identified using their TVDb ID. Movies are identified using the IMDb ID. This helps trakt match up the correct show or movie regardless of the title and improves accuracy a lot.

Remote streaming content will scrobble assuming the metadata is correctly set in XBMC. The various streaming plugins need to correctly identify TV episodes and movies with as much metadata as they can for trakt to know what you're watching.

Tested and scrobbling correctly
  • XBMC library mode
  • PleXBMC
  • Amazon (bluecop repo)
  • CBS (bluecop repo)
  • South Park
Installation
  • In XBMC, go to Settings » Add-ons » Search and search for trakt (If it doesn't show up, try refreshing the xbmc.org repository so it gets the latest listings)
  • Select the trakt plugin and choose install
  • After installation, open trakt again and select configure
  • Enter your username, password, and change any other settings as needed
  • Select OK to save your settings
  • Watch something and see it show up on trakt.tv!
Thanks

Special thanks to all who contributed to this plugin! Check the commit history and changelog to see these talented developers.

Links
Release Notes

Code:
version 2.3.1
  - improved API error handling and debugging
  - new context menu action via RunScript(script.trakt,action=contextmenu)
  - silent option for manual sync via RunScript(script.trakt,action=sync,silent=True)

version 2.3.0
  - moved debug settings to their own menu (nate1280)
  - new togglewatched action for skins/keymaps (nate1280)
  - new rate action for skins/keymaps (nate1280)
  - new tagging/list actions for skins/keymaps (nate1280)
  - alternate rating notification style (nate1280)
  - exclusion checks now work in syncing and scrobbling (nate1280)

version 2.2.0
  - lots of code optimizing and bug fixes (nate1280)
  - sync fixes (nate1280)
  - better scrobbling of streaming media (nate1280)
  - updated translations

version 2.1.0
  - rate movies and episode after watching them (sschocke, N3MIS15)
  - use urllib2 for connection (nate1280)
  - rewrite notification service (nate1280)
  - scrobbles playlisted items correctly (koying)
  - exclude settings for media to not scrobble (ezechiel1917)
  - scrobble double episodes correctly (nate1280)

version 2.0.0
  - compatible with Frodo RC3 (Eden support dropped)
  - supports absolute and dvd ordering (mizaki)
  - sync your TV episode and movie collections to trakt (N3MIS15)
  - auto clean your trakt collection so that it matches up with XBMC (N3MIS15)
  - keep watched statuses synced between XBMC and trakt (N3MIS15)
  - retry the telnet connection to prevent timeouts (sschocke)
  - fixed authentication issue for incorrect username/password
  - default to HTTPS on

version 1.0.1
  - code optimization (seadog)
  - use tvdb_id for much improved matching and international support
  - hide error notifications during playback

version 1.0.0
  - initial release
  - tv episode and movie scrobbling
  - works with local files and remote streams with correct metadata
  - tested with XBMC library mode, PleXBMC, Amazon, CBS

[Image: all-thin-banner@2x.jpg]

trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
(This post was last modified: 2013-10-06 23:59 by rectifyer.)
find quote
rectifyer Offline
trakt.tv admin
Posts: 424
Joined: Oct 2009
Reputation: 18
Post: #2
Action: togglewatched (nate1280)

Since XBMC's python interface does not offer an event that triggers when an item's playcount changes, this adds a wrapper around XBMC's built in action ToggleWatched action.
full details: https://github.com/trakt/script.trakt/wi...glewatched

-----

Action: rate (nate1280)

Adds the ability to trigger a manual rating.
full details: https://github.com/trakt/script.trakt/wi...on%3A-rate

-----

Action: tagging lists (nate1280)

Create tags from your trakt.tv Lists, Watchlists, as well as Ratings (Watchlists and Ratings are enabled by a setting).
full details: https://github.com/trakt/script.trakt/wi...ging-lists

itemlists dialog:
[Image: trakt.tv-tags-ss03.png]

managelists dialog, showing your trakt.tv lists.
[Image: trakt.tv-tags-ss04.png]

managelists dialog, showing movie/tv show selection, and parent folder, and editing options.
[Image: trakt.tv-tags-ss09.png]

managelists dialog, showing your movies, with the ability to toggle selection for addition/removal from list.
[Image: trakt.tv-tags-ss06.png]

[Image: all-thin-banner@2x.jpg]

trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
(This post was last modified: 2013-09-17 23:48 by rectifyer.)
find quote
hoju3508 Offline
Junior Member
Posts: 19
Joined: May 2011
Reputation: 0
Location: Austin, TX
Post: #3
This is working great for movies, but it's not scrobbling TV shows. Is there an option to enable TV shows as well as movies like TU (Running on Win7/Eden/ver 1.0.1)?

[Image: all-thin-banner.jpg]
(This post was last modified: 2012-08-21 16:30 by hoju3508.)
find quote
XmemphistoX Offline
Member
Posts: 59
Joined: Aug 2010
Reputation: 0
Post: #4
Trakt utilities doesn't update my library on trakt anymore. Is there an otpion in trakt.tv that will do this?

[Image: widget]
find quote
rectifyer Offline
trakt.tv admin
Posts: 424
Joined: Oct 2009
Reputation: 18
Post: #5
@hoju3508 tv worked fine for me last night. Please post a link to you debug log which should give more clues. Also, you might need to try 1.0.1 so it uses the TVDB ID to do the matching instead of using the show name.

@XmemphistoX no, this is a scrobble only plugin at this point

[Image: all-thin-banner@2x.jpg]

trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
find quote
skabyss Online
Senior Member
Posts: 256
Joined: Dec 2005
Reputation: 0
Post: #6
Going to give this a go tonight, anybody know if this suffers from the same issue the other trakt plugin(s) does? (Freezes occasionally during start of playback)

Thanks for putting time into this!
find quote
hoju3508 Offline
Junior Member
Posts: 19
Joined: May 2011
Reputation: 0
Location: Austin, TX
Post: #7
@rectifyer, I'm already using 1.0.1 Smile. Below is the link of the log file.

http://pastebin.com/zr4ny7iE

[Image: all-thin-banner.jpg]
find quote
thrak76 Offline
Moderator
Posts: 1,379
Joined: Mar 2011
Reputation: 26
Location: Lake Michigan Shoreline
Post: #8
Would it be possible to include an option for a "silent mode"? Meaning, the add-on would continue to scrobble, but you would not be notified at all. Most of the time it does run "silently", but I have content that is not referenced on TMDB or TVDB, and the "...not found..." notification popping up every ~15 minutes is intrusive.
find quote
michael7oliver Offline
Member
Posts: 65
Joined: Apr 2010
Reputation: 0
Location: Australia
Post: #9
(2012-08-21 19:42)rectifyer Wrote:  @XmemphistoX no, this is a scrobble only plugin at this point

Are there plans for Trakt utilities to update the xbmc library on trakt?
find quote
Martijn Offline
Team Kodi
Posts: 11,605
Joined: Jul 2011
Reputation: 167
Location: Dawn of time
Post: #10
(2012-08-22 14:45)michael7oliver Wrote:  
(2012-08-21 19:42)rectifyer Wrote:  @XmemphistoX no, this is a scrobble only plugin at this point

Are there plans for Trakt utilities to update the xbmc library on trakt?

Wrong thread

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
michael7oliver Offline
Member
Posts: 65
Joined: Apr 2010
Reputation: 0
Location: Australia
Post: #11
Could you please be a little more specific? Which thread should I be posting in?
find quote
Hjord Offline
Senior Member
Posts: 212
Joined: Nov 2009
Reputation: 0
Post: #12
(2012-08-22 17:24)michael7oliver Wrote:  Could you please be a little more specific? Which thread should I be posting in?

http://forum.xbmc.org/showthread.php?tid=98582

[Image: widget]
find quote
rectifyer Offline
trakt.tv admin
Posts: 424
Joined: Oct 2009
Reputation: 18
Post: #13
@hoju3508 Thanks, looks like that must be a bug in 1.0.1, I'll take a look tonight and see what's up

@thrak76 agreed, I'll remove those and simply show it in the log file instead

[Image: all-thin-banner@2x.jpg]

trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
find quote
thrak76 Offline
Moderator
Posts: 1,379
Joined: Mar 2011
Reputation: 26
Location: Lake Michigan Shoreline
Post: #14
(2012-08-22 19:32)rectifyer Wrote:  @hoju3508 Thanks, looks like that must be a bug in 1.0.1, I'll take a look tonight and see what's up

@thrak76 agreed, I'll remove those and simply show it in the log file instead

Thank you!
find quote
rectifyer Offline
trakt.tv admin
Posts: 424
Joined: Oct 2009
Reputation: 18
Post: #15
@hoju3508 If you grab the latest source on github it should scrobble episodes correctly now

[Image: all-thin-banner@2x.jpg]

trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
find quote
Post Reply