• 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 85
[RELEASE] Trakt.tv (Plugin) TV and Movie Scrobbler Addon
i've got an error too:

Code:
19:06:26 T:3077814144 M:1639419904   ERROR: GLX: Same window as before, refreshing context
19:06:32 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Video found playing'
19:06:32 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Percentage of progress: 0.0'
19:06:32 T:2798664560 M:1639940096  NOTICE: 'TRAKT: continuing to send check'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Found Movie'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Title: Dirty Dancing,2009'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Looking up video ID (tvdb or imdb)'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Title: Dirty Dancing,2009, sending watching status, current percentage: 0.0'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Creating data to send'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Dirty Dancing,2009,171579'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Title sent to getID: Dirty%20Dancing'
19:06:33 T:2798664560 M:1639940096  NOTICE: "TRAKT: select movie.c09 from movie where lower(movie.c00) = lower('Dirty%20Dancing') limit 1"
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: <record><field>171579</field></record>'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Final answer (for id!) --> 171579'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: IMDB/tvdb id: 171579'
19:06:33 T:2798664560 M:1639940096  NOTICE: 'TRAKT: Parsing Movie'
19:06:33 T:2798664560 M:1639940096   ERROR: Error Type: exceptions.ValueError
19:06:33 T:2798664560 M:1639940096   ERROR: Error Contents: too many values to unpack
19:06:33 T:2798664560 M:1639940096   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.trakt/default.py", line 246, in ?
                                                CheckAndSubmit()
                                              File "/home/xbmc/.xbmc/addons/script.trakt/default.py", line 125, in CheckAndSubmit
                                                SendUpdate(title+","+video_id, int(iPercComp*100), sType, "watching")
                                              File "/home/xbmc/.xbmc/addons/rudf0rd-Trakt-1424332/resources/lib/utilities.py", line 61, in SendUpdate
                                                title, year = info.split(",")
                                            ValueError: too many values to unpack


edit:

and i'm currently watching point break, but i doesn't appears on trak all i've got in log is that:
Code:
20:40:20 T:2682669936 M:1588891648  NOTICE: 'TRAKT: Percentage of progress: 0.854700854701'
20:40:20 T:2682669936 M:1588891648  NOTICE: 'TRAKT: continuing to send check'
20:40:21 T:2682669936 M:1588891648  NOTICE: 'TRAKT: Found Movie'
20:40:21 T:2682669936 M:1588891648  NOTICE: 'TRAKT: Title: Point break extr\xc3\xaame limite,1991'
20:40:36 T:2682669936 M:1589948416  NOTICE: 'TRAKT: Video found playing'
20:40:36 T:2682669936 M:1589948416  NOTICE: 'TRAKT: Percentage of progress: 0.863247863248'
20:40:36 T:2682669936 M:1589948416  NOTICE: 'TRAKT: continuing to send check'
20:40:37 T:2682669936 M:1589948416  NOTICE: 'TRAKT: Found Movie'
20:40:37 T:2682669936 M:1589948416  NOTICE: 'TRAKT: Title: Point break extr\xc3\xaame limite,1991'

i don't understand how the script work Sad
Reply
They're not sanitizing the comma before sending it as JSON, so when they do the split (explode) there are too many returns.
So say they send the data as
Movie, Year, IMDB, status.

Normally this would be
"Dark Night, 2008, tt00000, watching"

However with your movie
"xaame limite,1991, 1991, tt00000, watching"

It explodes the comma in the name, meaning the matrix is too big and it fails.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
ok script bug so ? need to wait an update to work?
Reply
Looks like you are running the latest source from github? I think sean just checked that in last night, so its likely not fully tested yet. I will mention it to him. Also, not sure what format its finding the id in, doesn't look like imdb formatted?
Trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
Reply
not i'm french and i'm using cine-passion scraper, so it's the scraper id, maybe the script should try to seek for a nfo, all routines to do that can be found in my logo downloader or tvtunes addon, will be easier to handle all scrapers Wink
Reply
Ok awesome, we will definitely check that out!
Trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
Reply
@ppic You actually got me in between commits there. The latest version on GH cleans up that bug. I was in the middle of rearranging where the ID gets checked for and it was still passing a value from default.py when it shouldn't.

As for the different scraper id's, thanks for the heads up.

@dairylee i have your bug fixed in the latest on GH (urlencode ftw) and will be requesting a pull tonight if I don't come across any testing issues in my watching habits.

@everyone i've been knocked off the weekly charts list Sad apparently i dont love tv enough.. still holding strong on the all time plays though.. lol.
Image
Reply
Speaking of feeds and a public trakt API, check this out http://gsfn.us/t/20bdv
Trakt.tv - Track what you're watching. Discover new shows & movies.
forum thread - @trakt on twitter - support
Reply
seems you can get userdata without authentification, this isn't a good thing.
ok for show data, but not for userdata.
Reply
ppic Wrote:seems you can get userdata without authentification, this isn't a good thing.
ok for show data, but not for userdata.

Why would it be bad? You can get the data without authentication on the web page.
Reply
kjuu Wrote:Why would it be bad? You can get the data without authentication on the web page.

that is bad too...
Reply
ppic Wrote:that is bad too...

Its the same on last.fm (including their API)
Reply
i don't know last.fm, minimal protection for an API is authentification or API key for project using it, even just to know what project is using the api. And will be easier to handle problem as you can block part of traffic if needed, we recently add this problem with cinepassion scrapper and had to block a client that was taking down our servers, without this minimal protection we should block traffic for all users, not just the bad client project.
IMO secrity is required when talking about users data.
as on the site, we shouldn't be able to see profile when not logged in, we should be able to see that one or 2 person are watching this, but not see watcher's name if we are not logged.
Reply
Well, there's privacy options if you really are worried about it.

Also, it looks like the user stuff is broken at the moment anyway.
Image
Reply
Also, last.fm does for music what we're trying to accomplish for movies and tv with trakt.
Image
Reply
  • 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 85

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Trakt.tv (Plugin) TV and Movie Scrobbler Addon10