trakt / script.trakt Goto Github PK
View Code? Open in Web Editor NEWTrakt.tv movie and TV show scrobbler for Kodi
License: GNU General Public License v2.0
Trakt.tv movie and TV show scrobbler for Kodi
License: GNU General Public License v2.0
Getting this with the latest git pull from this repo and @N3MIS15 on every run and nothings getting sync'd. It's not scrobbling either.
Th only setting I do not have active is the one that will remove stuff from trakt.tv - I don't want to do that.
Here is the failure from my XBMC Log
http://pastebin.com/MQF35AwN
I am a bit confused about a change in the utilities.py source regarding the requests to the Trakt API
base64string = base64.encodestring('%s:%s' % (username, password)).replace('\n', '')
req.add_header("Authorization", "Basic %s" % base64string)
This piece of code seems to send my password, in cleartext, to the API. I know that it's base64 encoded, so not really cleartext, and that the request is done via SSL, so technically encrypted and not readable by 3rd parties...
But, the server on the other side is still receiving my password in cleartext. Shouldn't it be expecting an SHA1 hash as per http://trakt.tv/api-docs/authentication
Cross-posted on request.
Every time I watch a certain show (tvdbid 102261), instead some Norwegian sex show (tvdbid 206341) shows up on my profile. http://trakt.tv/user/brtkrbzhnv
In XBMC, the correct information from thetvdb is shown.
I'm guessing what happens is something like {title:u"化物語", ...} gets submitted, somewhere the non-ASCII gets removed, and then Trakt thinks it's the same as that Norwegian sex show because that one for some reason doesn't have a title on Trakt.
Here's from my xbmc.log:
9:45:20 T:5680 NOTICE: DVDPlayer: Opening: G:\tv\ja\化物語\Bakemonogatari[Coalgirls]Bakemonogatari_05(1280x720_Blu-Ray_FLAC)_[03DE5070].mkv
19:45:20 T:5680 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
[...]
19:45:24 T:4724 NOTICE: [trakt] [Notification Service] message: {"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"id":2891,"type":"episode"},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}
19:45:24 T:4724 NOTICE: [trakt] [Scrobbler] Watching: episode
19:45:25 T:4724 NOTICE: [trakt] json url: /show/watching/b6135e0f7510a44021fac8c03c36c81a17be35d9
19:45:25 T:4724 NOTICE: [trakt] [Scrobbler] Watch response: {u'status': u'success', u'episode': {u'number': 5, u'title': u'Sexleket\xf8y'}, u'show': {u'tvdb_id': u'206341', u'year': u'2010', u'imdb_id': u'', u'title': u''}, u'season': 1, u'twitter': False, u'tumblr': False, u'facebook': False, u'message': u'watching 1x05'}
Hello,
There seems that when running a library Scan, the plugin goes crazy.
The addon I have was downloaded 12h ago (I think the lastest)
When I run a library scan or I update the library my XBMC log goes crazy....
I'm using RaspBMC
Hello,
I'm experiencing a couple of issues,
1st. It doesn't matter how many times I run the sync, it will always mark there there's 1 movie left to sync.
2nd. Script fails when fetching the series at trakt.tv
Log: http://pastebin.com/qpB2K5Zj
RaspberryPI with OpenELEC latest update
KR,
David
I was looking in my log file and noticed:
09:58:28 T:140589714634496 DEBUG: ADDON: cpluff: 'Suspicious plug-in descriptor content in /home/andy/.xbmc/addons/script.traktutilities/addon.xml, line 14, column 5 (ignoring unexpected element res and its contents).'
I assume your plugin has the same issue (since you're using the res tag too) though I don't know what the fix is, since the element's being ignored anyway maybe it's fine to just remove it and let xbmc find the resources automatically?
When you queue, e.g., a whole season for viewing, only the last seen episode is scrobbled.
This is due to the fact that the is no (more?) OnStop notif between episodes. You get:
OnPlay
OnPlay
OnPlay
OnStop
Scrobbling is only done on "OnStop", so only the last ep is sent.
I'm using this code to scrobble and sync with trakt, but I have a problem while syncing, it always try to update the same things, 34 play counts, 8 deleted episodes and so forth, and everytime I sync I get this bogus show added to my watched episodes, all previous versions of the trakt plugin just gave me an error on sync.
My profile,
http://trakt.tv/user/fldc/history/shows
and the xbmc log file,
http://xbmclogs.com/show.php?id=6289
Hello I notice that with the github version the service and the force update are broken
Check the log below.
Hello guys,
I had some time to check out the latest updates and so on. This is a small list of things that should be improved/fixed and that also will help the end-user.
Let me know if you need more information or screenshots.
KR,
David
Stopped working a few months ago...
07:55:38 T:3028282224 ERROR: /home/xbmc/.xbmc/addons/script.trakt/utilities.py:19: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha # Python 2.5 and earlier
07:55:38 T:3019889520 NOTICE: -->Python Interpreter Initialized<--
07:55:38 T:3028282224 NOTICE: [trakt] loading script.trakt version 1.0.1
07:55:38 T:3028282224 NOTICE: [trakt] json url: /account/test/Commit:b6135e0
07:55:38 T:2994711408 ERROR: Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in bootstrap_inner
self.run()
File "/home/xbmc/.xbmc/addons/script.trakt/notification_service.py", line 66, in run
telnet = telnetlib.Telnet(self.TELNET_ADDRESS, self.TELNET_PORT)
File "/usr/lib/python2.6/telnetlib.py", line 209, in __init
self.open(host, port, timeout)
File "/usr/lib/python2.6/telnetlib.py", line 225, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python2.6/socket.py", line 514, in create_connection
raise error, msg
error: [Errno 111] Connection refused
07:55:43 T:2986318704 NOTICE: [trakt] Scrobbler stopping
I can confirm 9090 isn't being used by something else and xbmc is listening fine (netstat -ln | grep 9090), and "Allow programs on this system to control XBMC" is also checked. I have tried telnetting to port 9090 and I can connect successfully.
Can anyone help troubleshoot this?
Unsure if this has been looked into as cannot find documentation to support it.
The trakt script appears to detect that livetv is starting to be watched (In my case using TVHeadend and pvr.hts client in XBMC), but then almost immediately stops.
Code in debugging appears to show that the script.trakt isn't picking up on the data correctly, which may need some add-on tweaking to integrate with pvr plug-ins.
Happy to assist in coding if this is something that would make sense?
14:57:06 T:3016709888 DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/All TV channels/1.pvr)
14:57:06 T:3016709888 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
14:57:06 T:3016709888 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
14:57:06 T:3016709888 DEBUG: Building didl for object 'pvr://channels/tv/All TV channels/1.pvr'
14:57:06 T:2978999104 NOTICE: [trakt] [Notification Service] message: {u'params': {u'data': {u'item': {u'channeltype': u'tv', u'type': u'channel', u'id': 4, u'title': u'BBC Two England'}, u'player': {u'playerid': 1, u'speed': 1}}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Player.OnPlay'}
14:57:06 T:2978999104 NOTICE: [trakt] [Scrobbler] Watching: channel
14:57:06 T:2978999104 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xb8dc5a0
14:57:06 T:2978999104 NOTICE: [trakt] [Scrobbler] Suddenly stopped watching item
So it appears the trakt notification is only picking up the basic info for the channel and not the extended info that would contain the program name being watched for accurate trakt logging.
Pls get in touch if I can assist
Hi. I do some development on the iPlayer plugin for xbmc, and we've had a feature request for trakt support. I was wondering how trakt reads metadata for remote streams not in the (local) xbmc video library? If it's possible to provide this metadata in a way which does not involve the VideoLibrary, I'd be interested in adding that functionality.
Hey guys, it's me or there's a lot of duplicates in the English strings?
for the:
Now there is almost 2x lines, most of them are duplicated or the only difference is how it's written.
The new lines are from: 1460 till 1498.
Could any verify what lines are beeing used and by what, so that also that can be separated in:
Service notifications
Program notifications
Other notification
I have hte spanish version up-to-date without the lines 1460-1498.
Justin, when will u submit the update to the repo?
I would like to be able to rate shows after watching them. This would make the plugin amazing
Version 2, in xbmc repo.
Even if the option "sync after library updates" is enabled episodes are not synchronized in a second xbmc 12 installation.
I still need to run manually the trakt program, this is the only way to make synchronization process start.
I expected an automatic sync at startup, after libraries are scanned.
here's the log of xbmc startup (trakt log is at the bottom of the file): http://pastebin.com/K4Wp2wPU
and this is the log after running trakt manually (in the same xbmc session): http://pastebin.com/qeqtcDfB
Running a Tronsmart T428 (Android mini PC) over Wifi with the latest build of XBMC. I've got good video playback and network connectivity, but the Trakt addon doesnt seem to work.
Ive done the following:
Is this is a bug on Android or what? I've searched for xbmc logs but i couldnt find any on my filesystem. Searched in /data/data and on external storage.
Last night i updated my system to OpenELEC 3.0.1 and noticed that the exclude setting didn't work anymore. Did various checks on pvr, http and path options but none of them seems to work. When i downgrade to version =<3.0 it's working again.
I also tested it on a Windows machine with various installations that are equal to OpenELEC and or are latest Gotham releases and again exclude not working.
I think it has something to do with the fullpath.find command.
This is a snippet from debug logging, you see it checking for exclusion but then nothing happens it jumps straight to the rest of the process as it would do if it wasn't excluded.
11:47:56 T:3528 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'item': {u'filetype': u'file', u'type': u'movie', u'id': 4, u'label': u'Argo'}}
11:47:56 T:3528 NOTICE: [trakt] checkScrobblingExclusion(): Checking exclusion settings for 'D:\videos\http\Argo.2012.720p.BluRay.x264-SPARKS\argo.http.avi'.
11:47:56 T:3528 NOTICE: [trakt] Queuing for dispatch: {'action': 'started', 'type': u'movie', 'id': 4}
11:47:56 T:3528 NOTICE: [trakt] Queued dispatch: {'action': 'started', 'type': u'movie', 'id': 4}
11:47:56 T:3528 NOTICE: [trakt] Dispatch: {'action': 'started', 'type': u'movie', 'id': 4}
11:47:56 T:3528 NOTICE: [trakt] [Scrobbler] playbackStarted(data: {'type': u'movie', 'id': 4})
11:47:56 T:3528 NOTICE: [trakt] [Scrobbler] Watching: movie
The file used is a dummy test file to check both path and http/pvr exclude functions.
hi I have a question about the plugin. will it work for anime that is named in absolute order rather than season order? TU requires that they are in season naming which has forced me to rename my anime (which I would love to be able to return to absolute ordering).
cheers
I just started to use the new uniqueid feature in order to use my own order of episodes. When scrobbling, the plugin maps to the right episode on trakt.tv. When I sync my collection or watched status, the log says everything is up to date.
Some information about one of those episodes:
filename: Columbo - S13E05 - Die letzte Party.{avi, nfo}
nfo-content (reduced)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<episodedetails>
<title>Die letzte Party</title>
<showtitle>Columbo</showtitle>
<season>13</season>
<episode>5</episode>
<uniqueid>2334461</uniqueid>
</episodedetails>
These details are imported correctly. I have checked this directly in the database. The episode should map to S00E08 (Specials) on trakt.tv (http://trakt.tv/show/columbo/specials/episode/8).
While watching the episode, the scrobbling produces following log:
04:10:53 T:78260 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'item': {u'type': u'episode', u'id': 2560, u'label': u'05. Die letzte Party'}}
04:10:53 T:78260 NOTICE: [trakt] checkScrobblingExclusion(): Checking exclusion settings for 'I:\Columbo\Season 13\Columbo - S13E05 - Die letzte Party.avi'
04:10:53 T:78260 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - Doing multi-part episode check.
04:10:53 T:78260 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'episodedetails': {u'season': 13, u'tvshowid': 164, u'episode': 5, u'episodeid': 2560, u'label': u'Die letzte Party'}}
04:10:53 T:78260 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'episodes': [{u'episode': 1, u'episodeid': 2556, u'file': u'I:\\Columbo\\Season 13\\Columbo - S13E01 - Seltsame Bettgenossen.avi', u'label': u'13x01. Strange Bedfellows'}, {u'episode': 2, u'episodeid': 2557, u'file': u'I:\\Columbo\\Season 13\\Columbo - S13E02 - Keine Spur ist sicher.avi', u'label': u'13x02. Keine Spur ist sicher'}, {u'episode': 3, u'episodeid': 2558, u'file': u'I:\\Columbo\\Season 13\\Columbo - S13E03 - Das Aschenpuzzle.avi', u'label': u'13x03. Das Aschenpuzzle'}, {u'episode': 4, u'episodeid': 2559, u'file': u'I:\\Columbo\\Season 13\\Columbo - S13E04 - Mord nach Takten.avi', u'label': u'13x04. Mord nach Takten'}, {u'episode': 5, u'episodeid': 2560, u'file': u'I:\\Columbo\\Season 13\\Columbo - S13E05 - Die letzte Party.avi', u'label': u'13x05. Die letzte Party'}], u'limits': {u'start': 0, u'total': 5, u'end': 5}}
04:10:53 T:78260 NOTICE: [trakt] [Notification] Dispatch: {'action': 'started', 'type': u'episode', 'id': 2560}
04:10:54 T:78260 NOTICE: [trakt] [Scrobbler] playbackStarted(data: {'item': {'type': u'episode', 'id': 2560}})
04:10:54 T:78260 NOTICE: [trakt] [Scrobbler] Watching: episode
04:10:55 T:78260 NOTICE: [trakt] [Scrobbler] watching()
04:10:55 T:78260 NOTICE: [trakt] [VideoLibrary.GetEpisodeDetails] {"id":1,"jsonrpc":"2.0","result":{"episodedetails":{"episode":5,"episodeid":2560,"label":"Die letzte Party","season":13,"showtitle":"Columbo","tvshowid":164,"uniqueid":{"unknown":"2334461"}}}}
04:10:55 T:78260 NOTICE: [trakt] [VideoLibrary.GetTVShowDetails] {"id":1,"jsonrpc":"2.0","result":{"tvshowdetails":{"imdbnumber":"70369","label":"Columbo","tvshowid":164,"year":0}}}
04:10:55 T:78260 NOTICE: [trakt] [traktAPI] watching(url: https://api.trakt.tv/show/watching/b6135e0f7510a44021fac8c03c36c81a17be35d9, data: {'episode': 5, 'episode_tvdb_id': u'2334461', 'progress': 19.0, 'title': u'Columbo', 'duration': 85.0, 'season': 13, 'tvdb_id': u'70369', 'year': 0})
04:10:55 T:78260 NOTICE: [trakt] [traktAPI] traktRequest(): Request data: '{"episode": 5, "episode_tvdb_id": "2334461", "progress": 19.0, "title": "Columbo", "duration": 85.0, "season": 13, "tvdb_id": "70369", "year": 0}'
04:10:55 T:78260 NOTICE: [trakt] [traktAPI] traktRequest(): Starting retry loop, maximum 5 retries.
04:10:55 T:78260 NOTICE: [trakt] [traktAPI] traktRequest(): (0) Request URL 'https://api.trakt.tv/show/watching/b6135e0f7510a44021fac8c03c36c81a17be35d9'
04:10:55 T:78260 NOTICE: [trakt] [traktAPI] __getData(): urllib2.Request(https://api.trakt.tv/show/watching/b6135e0f7510a44021fac8c03c36c81a17be35d9)
04:10:55 T:78260 NOTICE: [trakt] [traktAPI] __getData(): urllib2.urlopen()
04:11:02 T:78260 NOTICE: [trakt] [traktAPI] __getData(): response.read()
04:11:02 T:78260 NOTICE: [trakt] [traktAPI] __getData(): Response Code: 200
04:11:02 T:78260 NOTICE: [trakt] [traktAPI] __getData(): Response Time: 7239.00 ms
04:11:02 T:78260 NOTICE: [trakt] [traktAPI] __getData(): Response Headers: {'content-length': '259', 'x-powered-by': 'PHP/5.3.18-1~dotdeb.0', 'vary': 'Accept-Encoding', 'server': 'nginx/1.2.7', 'connection': 'Close', 'date': 'Fri, 29 Mar 2013 03:10:41 GMT', 'content-type': 'application/json'}
04:11:02 T:78260 NOTICE: [trakt] [traktAPI] traktRequest(): (0) JSON response: '{u'status': u'success', u'episode': {u'number': u'8', u'title': u'Columbo Likes the Nightlife'}, u'show': {u'tvdb_id': u'70369', u'year': u'1968', u'imdb_id': u'tt1466074', u'title': u'Columbo'}, u'season': u'0', u'twitter': False, u'tumblr': False, u'facebook': False, u'message': u'watching Columbo 0x08'}'
04:11:02 T:78260 NOTICE: [trakt] [traktAPI] traktRequest(): JSON request was successful.
04:11:02 T:78260 NOTICE: [trakt] [Scrobbler] Watch response: {u'status': u'success', u'episode': {u'number': u'8', u'title': u'Columbo Likes the Nightlife'}, u'show': {u'tvdb_id': u'70369', u'year': u'1968', u'imdb_id': u'tt1466074', u'title': u'Columbo'}, u'season': u'0', u'twitter': False, u'tumblr': False, u'facebook': False, u'message': u'watching Columbo 0x08'}
04:11:38 T:50220 NOTICE: Thread CFileCache start, auto delete: false
Since scrobbling works, it can be assumed, the library entry and uniqueid are correct. When syncing, the mapping via id is broken. I do not know python very well (I'm into C/C++/Java), but I could narrow it down to the function compare_show(xbmc_show, trakt_show)
. I have enhanced the function with further debuginformation:
def compare_show(xbmc_show, trakt_show):
missing = []
trakt_seasons = [x['season'] for x in trakt_show['seasons']]
for xbmc_episode in xbmc_show['episodes']:
Debug("[Episodes Sync] xbmc_episode: '%s'" % str(xbmc_episode))
if xbmc_episode['season'] not in trakt_seasons:
Debug("[Episodes Sync] missing")
missing.append(xbmc_episode)
else:
Debug("[Episodes Sync] not missing")
for trakt_season in trakt_show['seasons']:
Debug("[Episodes Sync] trakt_season: '%s'" % str(trakt_season))
if xbmc_episode['season'] == trakt_season['season']:
Debug("[Episodes Sync] first if")
if xbmc_episode['episode'] not in trakt_season['episodes']:
Debug("[Episodes Sync] second if --> append")
missing.append(xbmc_episode)
return missing
and the result is
04:31:36 T:78260 NOTICE: [trakt] [Episodes Sync] xbmc_episode: '{u'episode': 5, u'season': 13, u'episodeid': 2560, u'label': u'13x05. Die letzte Party', u'uniqueid': {u'unknown': u'2334461'}, u'playcount': 1}'
04:31:36 T:78260 NOTICE: [trakt] [Episodes Sync] not missing
04:31:36 T:78260 NOTICE: [trakt] [Episodes Sync] xbmc_episode: '{u'episode': 1, u'season': 1, u'episodeid': 1048, u'label': u'1x01. Die Kugel der Macht (Pilot)', u'uniqueid': {u'unknown': u''}, u'playcount': 1}'
So it takes the else branch, but doesn't enter the for loop and the episode is not registered in missing. I think this method should first compare by unique id if available and by season/episode if not.
If you need a better debug log, provide a snippet with logging instruction, I will run it then.
Movie correctly send the IMDB, but it looks like TV shows send None for the tvdb_id field. Adding the ID should improve accuracy a lot.
Seems that after watching an episode, the series is removed from the watchlist. Not sure if this is an issue with trakt or this plugin, however, the action is undesirable since (a) unwatched episodes may still exist, and (b) future episodes can be released.
Please close out if this is an issue with trakt website, and I'll open a feature request/issue there instead.
hi,
i got this error the last few days, don,'t know why but tv sync isn't working anymore.
17:04:06 T:2929720128 ERROR: Exception in thread trakt-sync:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/home/xbmc/.xbmc/addons/script.trakt-master/service.py", line 138, in run
sync.sync()
File "/home/xbmc/.xbmc/addons/script.trakt-master/sync.py", line 641, in sync
self.syncEpisodes()
File "/home/xbmc/.xbmc/addons/script.trakt-master/sync.py", line 358, in syncEpisodes
xbmcShows = self.xbmcLoadShows()
File "/home/xbmc/.xbmc/addons/script.trakt-master/sync.py", line 127, in xbmcLoadShows
episodes = data['episodes']
KeyError: 'episodes'
using the github version, when i try to open an show/movie on a upnp xbmc share (added as source/aready with all metadata), it doesn't scrobble or show the rate dialog after watchng. and the log shows some error in: "trakt-master/service.py", line 327, in onPlayBackStarted"
the log: http://cl.ly/OgT3/xbmc.log
1:28:47 T:3037346496 NOTICE: Storing total System Uptime 21:28:47 T:3037346496 NOTICE: Saving settings 21:28:47 T:2940205888 NOTICE: [trakt] [Notification Service] message: {u'params': {u'data': 64, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'System.OnQuit'} 21:28:47 T:2940205888 NOTICE: [trakt] Notification service stopping 21:28:47 T:3037346496 NOTICE: stop all 21:28:47 T:3037346496 NOTICE: ES: Stopping event server 21:28:47 T:3037346496 NOTICE: stopping zeroconf publishing 21:28:47 T:3037346496 NOTICE: Webserver: Stopping... 21:28:47 T:3037346496 NOTICE: WebServer: Stopped the webserver 21:28:47 T:3037346496 NOTICE: Webserver: Stopped... 21:28:48 T:2842663744 NOTICE: ES: UDP Event server stopped 21:28:48 T:3037346496 NOTICE: stop dvd detect media 21:28:48 T:3037346496 NOTICE: stop sap announcement listener 21:28:48 T:3037346496 NOTICE: clean cached files! 21:28:48 T:3037346496 NOTICE: unload skin 21:28:49 T:2966809408 WARNING: The python script "/home/xbmc/.xbmc/addons/service.skin.widgets/default.py" has left several classes in memory that we couldn't clean up. The classes include: Window,Player,Monitor 21:28:50 T:2950024000 NOTICE: [trakt] Scrobbler stopping 21:28:50 T:2893019968 NOTICE: StorageServer-2.5.0 Closed down 21:28:50 T:3037346496 NOTICE: stop python
I know it doesn't seem like a trakt problem, but it only happens when the plugin is enabled.
When I'm watching movies or shows, everyone that follows me get a notification on their realtime feed (Dashboard @ trakt.tv), that "Arias is watching ..". Thats great, the only problem is that when I'm watching stuff using XBMC with this addon, it seems to spam with these notifications..
Couple of weeks ago I though that the people I'm following where doing something wrong, because they where filling my dashboard with the same info over and over again.
But then I added myself to the Dashboard ("All friends + me") and started to realize that I was spamming the same way.
I have the watchdog addon installed and so every time while I download episodes the sync notifications of trakt pop up. Generally this is wanted but not while I am watching movies. Is it possible to add a setting: Disable Notifications while playback?
I think it would be great if when I'm looking at my movies/shows and the ones I already watched. I could hit the information button and rate the episode or movie from right there, instead of having to watch the media before submitting a rating.
Thanks,
Angel
Hello,
Some feedbacks.
After some syncronizations...
Trakt Movies: 392
XBMC Movies: 432
Trakt is missing some movies, but I can't know wich ones, there's no information at the log file from xbmc.
Trakt Shows: 70
XBMC Shows: 79
Some series appear to be missing, the script can't find series in trakt. Check log.
Log from XBMC:
And it keep for a couple hours on the last step.....
PS: I'm not sure what Clean library should do... My common sense says that should make trakt and xbmc library to look the same. I'm wrong?
Trakt: dpons039
Hi guys,
XBMC has stacking of multi-part files.
Current version of trakt plugin handles it almost as it should.
The only problem is - rate dialogue pops up each time the part ends starting from part 2 or 3, depending on your rate percentage option. I'm not sure but I think the same happens with scrobble - it's scrobbled each time file ends if stacked length is more then percent value in options. Gonna test that now.
More info on stacking: http://wiki.xbmc.org/index.php?title=File_stacking
I have no movies in my library, only TV shows.
With default options the update process fails (when invoked directly from PROGRAMS menu) because the movie collection is empty.
Actually if the movie collection is empty the movie update process should not start, but only the TV shows update process (and vice-versa)
version: downloaded directly from github.
I'm not exactly sure why, maybe the video player isn't in library mode then?
Is it possible at all to fix this? Or is it impossible to get the necessary metadata then. The remote app uses the same type of listing as xbmc in library mode though.
I've been looking at refactoring the scrobbler on traktr and I'm wondering if it's worth scrapping the whole "keep track using system time" method and just check the video position when playback ends/is stopped or you need to send a ping to trakt.tv.
http://wiki.xbmc.org/index.php?title=InfoLabels has methods to do this (and I think using those might solve a potential external player issue too if the infolabel's intelligent enough to do that, since people have told me that when using an external player in traktr it doesn't scrobble).
The only real problem case for doing it this way is if someone starts a video, seeks past their "% watched to scrobble" then ends it, but I have no idea why someone would do that.
Add GetGlue support for an all-in-one sync solution!
When configuring exclude path, thoses paths are properly checked and skipped when scrobbling videos.
But if I do a full sync, then all videos that should be excluded are sent to trakt. So It looks like exclusion path are not checked at all when doing a full sync. Any idea how to properly excluse some path from scrobbling AND full sync?
Trakt utilities for XBMC shows me message, that my username or password incorrect (but it isn't). I tried reinput username and password, changing pass on site, restarting XBMC. It doesn't help. XBMC version 11.0
When a user has nothing in his library at trakt, the response from trakt is '[]' when doing an api call. This results synchronization to break with TypeError's.
TypeError: 'NoneType' object is not iterable
TypeError: object of type 'NoneType' has no len()
Original version of this script included setting to set few excluded locations (like live tv, online video addon or local country content not on tvdb/tmdb, local trailers etc...) which were not submitted/processed further to trakt if you played a video from them.
Is it please possible to bring this feature back. It's essential feature if you don't want every video activity being monitored and sent to trakt. Thanks Ez.
When using mysql as a central database, this error occurs:
23:28:46 T:4544794624 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.OperationalError'>
Error Contents: unable to open database file
Traceback (most recent call last):
File "/Users/jandjmarshall/Library/Application Support/XBMC/addons/script.trakt/default.py", line 6, in <module>
from service import traktService
File "/Users/jandjmarshall/Library/Application Support/XBMC/addons/script.trakt/service.py", line 20, in <module>
class traktService:
File "/Users/jandjmarshall/Library/Application Support/XBMC/addons/script.trakt/service.py", line 27, in traktService
dispatchQueue = queue.SqliteQueue()
File "/Users/jandjmarshall/Library/Application Support/XBMC/addons/script.trakt/queue.py", line 56, in __init__
with self._get_conn() as conn:
File "/Users/jandjmarshall/Library/Application Support/XBMC/addons/script.trakt/queue.py", line 72, in _get_conn
self._connection_cache[id] = sqlite3.Connection(self.path, timeout=60)
OperationalError: unable to open database file
-->End of Python script error report<--
Since there seems to be no notification in xbmc for marking a video as watched it would be great to be able to sync the collection to trakt by hand.
Scenario:
Thanks!
About 30% of the time, when i start playing a video, the screen goes blank while audio continues in the background. The video cannot be stopped. The only way to solve the problem is to restart XBMC. I had a similar issue with trakt utilities until I discovered it was an incomparability between it and the TV Show Next Aired addon. However, I have tried disabling Next Aired and it still happens, so disabling the trakt addon is the only way to prevent this from happening.
If one file has two episodes, only the first get scrobbled.
Maybe any XBMC query to know if it's a multi-episode file?
Hello boys!!
Could any of you correct the English version with the used phrases so I could translate it into Spanish.
I found several duplicated, so I'm not sure what is used or not.
Regards,
Dave
In traktr I removed the ability to use the plugin over HTTP because of the fact that someone can grab the password's sha hash when HTTPS isn't used, it seems that it'd be worth removing HTTP support in your plugin too?
I've not caught this yet to be able to post a log or anything substantive, so apologies if this is noise. I wanted to give a heads-up in case you can find it in code before I can get any debug here. I'll try and get something as soon as I can but this is pretty difficult to trakt down.
Shows have been disappearing randomly from my trakt watchlist. Certain shows (the ones I watch most) seem to do it very regularly now. At the end of last week I had 30 shows on my watchlist, now I'm down to 24. I'm pretty sure it might be the trakt plugin doing it during sync. I also have flexget synced to my trakt watchlist so the only other option is flexget, but that is read only on the watchlist.
Has anyone else seen this?
Please, give to selected rate more focus, it's a little dificult to realize which rate is selected when the dialog panel opens, mabe change a little the images "_b"
Hello everyone!
About three weeks ago - after using XBMC for a couple of years, I decided to do a full "tabula rasa" install a fresh copy of XBMC 12.0 (not the RC) instead of just updating it.
So, I wiped every trace of XBMC, including library stuff (OSX) and emptied recycle bin!
Re-installed with focus on just using genuine XBMC addon repository - especially since I heard that the latest 2.0.0 Trakt-addon was awesome.
Alas - ever since, I cannot get my trakt to do anything!
...in the end - I never get a notification that announce anything in XBMC OR get an updet on my Trakt-profile.
However:
a) Even though I uninstall, wipe files etc. the fresh install still knows my login by default. What files am I missing?
b) My friend that did a simular thing a week before me says that the config for scobbling should be much more than three lines???
Please help, you´re my only hope!
Since today's update, this addon has stopped working in its entirety. Nothing works, scrobbling, synce, nothing.
The addon doesn't even get a mention in the log file.
What's happened? This addon is one of the sole reasons I use XBMC at all!!
Currently watched state is imported to trakt site with date/time of when sync script is being called. It would be better to respect lastplayed string from xbmc db and save that to the site. I previously used Justins original eden php script which did exactly that.
Hello,
This error appeared when doing a manual sync. The overwall, seem to run correctly.
Version used: github
System: OpenELEC 3.0.6
Note: The sync was for the entire library... (600+ movies, 120+ series)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.