Kodi Community Forum
[RELEASE] trakt.tv tv/movie scrobbler - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152)
+---- Thread: [RELEASE] trakt.tv tv/movie scrobbler (/showthread.php?tid=138745)



RE: [RELEASE] trakt.tv tv/movie scrobbler - kri kri - 2013-07-02

Awesome thanks for all the hard work.


RE: [RELEASE] trakt.tv tv/movie scrobbler - shedrock - 2013-07-02

Why does this add on work sometimes and other times it doesn't?

I sometimes watch 2 tv shows and then a movie, it will show the 2 tv shows but not the movie, until I reboot my machine. Am I the only one that experiences this problem. I've done so many new installs of OpenELEC and I get this problem each and every time.

Thanks,
Shedrock


RE: [RELEASE] trakt.tv tv/movie scrobbler - rectifyer - 2013-07-02

All will be revealed in the log file.


RE: [RELEASE] trakt.tv tv/movie scrobbler - zag - 2013-07-02

The trakt.tv website sometimes does not respond to requests.

Their hosting isn't the most reliable...

As mentioned the log file will explain what's going on.


RE: [RELEASE] trakt.tv tv/movie scrobbler - MeMeMe - 2013-07-02

(2013-07-02, 04:47)rectifyer Wrote: Have you tried the latest 2.3 from github? It will be in the repo once approved, but it's worth giving it a try before then. If its stil throwing an error, its still best to post the entire log if you can. You should be able to keep it smaller by starting up and doing the action that is crashing it.

I have installed 2.3, and it seems to be improved but is still reporting the error on start up.
I started XBMC, loaded a profile, waited for the error to appear, and shut down.

Here's the PasteBin link if I've posted it correctly
http://pastebin.com/M2V8bRtz

It was barely open a minute or two and still generated 2000 lines of log file!

Edit: the dramatic slowdown and hang i was experiencing with 2.2 seems to be gone with 2.3, so far at least. It's just that start up error which is irritating but doesn't appear to affect anything.


RE: [RELEASE] trakt.tv tv/movie scrobbler - shedrock - 2013-07-02

Thanks guys, I will check into it.


RE: [RELEASE] trakt.tv tv/movie scrobbler - dickalan - 2013-07-02

Will there ever be a different way to implement the Custom Actions? As seen here: https://github.com/rectifyer/script.trakt/wiki
I'm running XBMC on an 1st gen aTV with Crystalbuntu. I don't think editing the keymaps.xml will enable these features due to the limitations of the Apple remote.

I can get it working on my windows machine. But either way, to me custom keymaps aren't ideal anyway. Ideally, I'd prefer a regular graphical interface that could be activated other places. Is this already possible and I'm not aware of it?


RE: [RELEASE] trakt.tv tv/movie scrobbler - rectifyer - 2013-07-03

Those hooks can be used in a skin as well, afaik. I agree that is a cleaner implementation. Maybe nate has more info on this.


RE: [RELEASE] trakt.tv tv/movie scrobbler - dickalan - 2013-07-03

Yes I would be interested in know how to implement them into a skin's GUI.


RE: [RELEASE] trakt.tv tv/movie scrobbler - ezechiel1917 - 2013-07-03

The best way to implement these actions to the skin is to include them in context menu through DialogContextMenu.xml

Here's sample from my !transparency skin (The visibility conditions might not be perfect for some items...):

Code:
            <control type="button" id="1247">
                <posx>0</posx>
                <posy>0</posy>
                <width>300</width>
                <height>35</height>
                <label>Rate on trakt.tv</label>
                <font>font-20</font>
                <align>center</align>
                <textcolor>white</textcolor>
                <focusedcolor>lightblue</focusedcolor>
                <texturefocus border="7">list-focus.png</texturefocus>
                <texturenofocus border="7">list-nofocus.png</texturenofocus>
                <onclick>RunScript(script.trakt,action=rate)</onclick>
                <visible>!IsEmpty(ListItem.TVShowTitle) + !IsEmpty(ListItem.DBID) + !StringCompare(ListItem.Label,All seasons) + !SubString(ListItem.Label,Season ,,left) + !StringCompare(ListItem.Label,Specials) | [SubString(Container.FolderPath,videodb://Movies/) | SubString(Container.FolderPath,library://Video/Movies/Titles.xml) | SubString(Container.FolderPath,videodb://RecentlyAddedMovies) | SubString(Container.FolderPath,special://profile/playlists/video/Movies)]</visible>
            </control>            
            <control type="button" id="1248">
                <posx>0</posx>
                <posy>0</posy>
                <width>300</width>
                <height>35</height>
                <label>Add to trakt.tv Watchlist</label>
                <font>font-20</font>
                <align>center</align>
                <textcolor>white</textcolor>
                <focusedcolor>lightblue</focusedcolor>
                <texturefocus border="7">list-focus.png</texturefocus>
                <texturenofocus border="7">list-nofocus.png</texturenofocus>
                <onclick>RunScript(script.trakt,action=addtolist,list=Watchlist)</onclick>
                <visible>!IsEmpty(ListItem.DBID) + !IsEmpty(ListItem.Duration) + [SubString(Container.FolderPath,library://Video/Movies/Titles.xml) | [!IsEmpty(ListItem.DBID) + SubString(Container.FolderPath,videodb://movies/ + !SubString(Container.FolderPath,videodb://movies/tags/)] | SubString(Container.FolderPath,videodb://RecentlyAddedMovies)] | [SubString(Container.FolderPath,special://profile/playlists/video/Movies) + !SubString(Container.FolderPath,special://profile/playlists/video/Movies Watchlist)]]</visible>                
            </control>
            <control type="button" id="1249">
                <posx>0</posx>
                <posy>0</posy>
                <width>300</width>
                <height>35</height>
                <label>Remove from trakt.tv Watchlist</label>
                <font>font-20</font>
                <align>center</align>
                <textcolor>white</textcolor>
                <focusedcolor>lightblue</focusedcolor>
                <texturefocus border="7">list-focus.png</texturefocus>
                <texturenofocus border="7">list-nofocus.png</texturenofocus>
                <onclick>RunScript(script.trakt,action=removefromlist,list=Watchlist)</onclick>
                <visible>!IsEmpty(ListItem.DBID) + !IsEmpty(ListItem.Duration) + [SubString(Container.FolderPath,library://Video/Movies/Titles.xml) | SubString(Container.FolderPath,videodb://movies/) | SubString(Container.FolderPath,videodb://RecentlyAddedMovies)] | SubString(Container.FolderPath,special://profile/playlists/video/Movies)]</visible>                
            </control>            
            <control type="button" id="1251">
                <posx>0</posx>
                <posy>0</posy>
                <width>300</width>
                <height>35</height>
                <label>Add/Remove trakt.tv lists</label>
                <font>font-20</font>
                <align>center</align>
                <textcolor>white</textcolor>
                <focusedcolor>lightblue</focusedcolor>
                <texturefocus border="7">list-focus.png</texturefocus>
                <texturenofocus border="7">list-nofocus.png</texturenofocus>
                <onclick>RunScript(script.trakt,action=itemlists)</onclick>
                <visible>!IsEmpty(ListItem.TVShowTitle) + !IsEmpty(ListItem.DBID) + !StringCompare(ListItem.Label,All seasons) + !SubString(ListItem.Label,Season ,,left) + !StringCompare(ListItem.Label,Specials) | [SubString(Container.FolderPath,videodb://Movies/) | SubString(Container.FolderPath,library://Video/Movies/Titles.xml) | SubString(Container.FolderPath,videodb://RecentlyAddedMovies) | SubString(Container.FolderPath,special://profile/playlists/video/Movies)]</visible>
            </control>
            <control type="button" id="1252">
                <posx>0</posx>
                <posy>0</posy>
                <width>300</width>
                <height>35</height>
                <label>Manage trakt.tv lists</label>
                <font>font-20</font>
                <align>center</align>
                <textcolor>white</textcolor>
                <focusedcolor>lightblue</focusedcolor>
                <texturefocus border="7">list-focus.png</texturefocus>
                <texturenofocus border="7">list-nofocus.png</texturenofocus>
                <onclick>RunScript(script.trakt,action=managelists)</onclick>
            </control>        
            <control type="button" id="1253">
                <posx>0</posx>
                <posy>0</posy>
                <width>300</width>
                <height>35</height>
                <label>Update trakt.tv tags</label>
                <font>font-20</font>
                <align>center</align>
                <textcolor>white</textcolor>
                <focusedcolor>lightblue</focusedcolor>
                <texturefocus border="7">list-focus.png</texturefocus>
                <texturenofocus border="7">list-nofocus.png</texturenofocus>
                <onclick>RunScript(script.trakt,action=updatetags)</onclick>
            </control>



RE: [RELEASE] trakt.tv tv/movie scrobbler - Lappen71 - 2013-07-03

I had to do a clean install of xbmc because of some problem.
And now Trakt wont update my episodes playcounts in my xbmc library it tries to get the information but stops on 3%.
Movies updates fine but not my series.
What can be the problem?


RE: [RELEASE] trakt.tv tv/movie scrobbler - Lappen71 - 2013-07-03

I downgraded to 2.1.0 and now it works.


RE: [RELEASE] trakt.tv tv/movie scrobbler - rectifyer - 2013-07-03

We can't do much without looking at a log file.


RE: [RELEASE] trakt.tv tv/movie scrobbler - MeMeMe - 2013-07-03

I posted a log file back in post 665.
Any idea what's causing my error?


RE: [RELEASE] trakt.tv tv/movie scrobbler - saarth - 2013-07-04

Scrobbling not working for me either. using xbmc 12.2, trakt 2.3.0

xbmc.log >> http://pastebin.com/xCSRHD8K