Trakt.tv

Got a good idea? You can suggest new features here.
Post Reply
das1969
Posts: 7
Joined: Thu Feb 24, 2011 2:05 pm

Trakt.tv

Post by das1969 » Fri May 12, 2017 9:08 am

I've been looking into a way to have my trakt.tv account updated with the tv shows I'm watching in MPC-HC.

What I've found is that a "scrobbler" has been written for VLC in Python:

https://github.com/XaF/TraktForVLC

If some talented programmer could create an Eventghost Trakt.tv plugin, then potentially any video player that has an Eventghost plugin (such as MPC-HC) could also then update a trakt.tv account with shows that have been watched.

User avatar
kgschlosser
Site Admin
Posts: 4019
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Trakt.tv

Post by kgschlosser » Fri May 12, 2017 12:29 pm

I'll take a look at it later today. But I don't see why not. It should just have a REST API
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4019
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Trakt.tv

Post by kgschlosser » Tue May 16, 2017 7:35 am

https://github.com/fuzeman/trakt.py

this i think would be a far better solution. as it is not written to interface with a specific program.and it is also still being developed all fo the others i have found have not been touched in 2+ years


what exactly are you looking to specifically do?
If you like the work I have been doing then feel free to Image

das1969
Posts: 7
Joined: Thu Feb 24, 2011 2:05 pm

Re: Trakt.tv

Post by das1969 » Wed May 17, 2017 2:46 pm

You would have a trakt.tv plugin.

Going into configure item, you would have a button that would generate a code, which you could then enter into http://trakt.tv/activate, and the plugin would then be registered with trakt.tv.

If for instance one were using MPC-HC, you would have the MPC-HC plugin also running in Eventghost.

When the event below appears:
MPC-HC.NowPlaying [u'', u'', u'', u'E:\\Media\\TV Shows\\A TV Show\\Season 1\\TV Show Name - 1x01 - Episode 1.mkv', u'2931.394']
this would trigger an action of the trakt.tv plugin, where the currently playing show is recorded.

When an event occurs indicating that the TV show has finished:
MPC-HC.Playstate.Stop
this would trigger an action where a pop-up window requests a rating for the TV Show, and when received the rating and the fact that the TV show has been watched are communicated to Trakt.tv.

Post Reply