XaF / TraktForVLC

Automatically trakt.tv what you're watching on VLC
300 stars 49 forks source link

Scrobbling not working for episodes found in The TVDB but not registered the same way in IMDB #111

Closed veselind closed 6 years ago

veselind commented 6 years ago

Hey again,

Running Windows 10 x64, latest TFV and VLC 3.0.2. I installed TFV using the --vlc and --vlc-lua-directory arguments, since my VLC isn't in the default install location. My logs are spammed by this:

[0000000004b47740] [trakt] main interface error: connection failed: Connection refused by peer
[0000000004b47740] [trakt] lua interface error: (call_helper) Command: "--quiet" "resolve" "--meta" "{\"setting\":\" HAS_INDEX\",\"title\":\"Ed, Edd n' Eddy - S01E20\",\"showName\":\"Ed, Edd n' Eddy -\",\"filename\":\"Ed, Edd n' Eddy - S01E20 - It's Way Ed.avi\",\"episodeNumber\":\"20\",\"seasonNumber\":\"01\"}" "--duration" "648" "--hash" "8b786dad5cdd63b0" "--size" "82929064"
[0000000004b47740] [trakt] lua interface error: (call_helper) Command exited with code -1
[0000000004b47740] [trakt] lua interface error: (call_helper) Command output:
[0000000004b47740] [trakt] main interface error: connection failed: Connection refused by peer
[0000000004b47740] [trakt] lua interface: Ed, Edd n' Eddy - S01E20 - It's Way Ed.avi is playing! :) (10.400000/648.000000)
[0000000004b47740] [trakt] main interface error: connection failed: Connection refused by peer
[0000000004b47740] [trakt] lua interface error: (call_helper) Command: "--quiet" "resolve" "--meta" "{\"setting\":\" HAS_INDEX\",\"title\":\"Ed, Edd n' Eddy - S01E20\",\"showName\":\"Ed, Edd n' Eddy -\",\"filename\":\"Ed, Edd n' Eddy - S01E20 - It's Way Ed.avi\",\"episodeNumber\":\"20\",\"seasonNumber\":\"01\"}" "--duration" "648" "--hash" "8b786dad5cdd63b0" "--size" "82929064"
[0000000004b47740] [trakt] lua interface error: (call_helper) Command exited with code -1
[0000000004b47740] [trakt] lua interface error: (call_helper) Command output:
[0000000004b47740] [trakt] main interface error: connection failed: Connection refused by peer
[0000000004b47740] [trakt] lua interface: Ed, Edd n' Eddy - S01E20 - It's Way Ed.avi is playing! :) (19.175000/648.000000)`

Unfortunately, I haven't tried with an earlier version of VLC, although looking at the error I doubt that VLC's version is the issue.

XaF commented 6 years ago

Could you please post a log in debug mode from the beginning (all information from the beginning) to one of those messages ?

veselind commented 6 years ago

Sure, here you go: log.txt

XaF commented 6 years ago

It seems that this show is weirdly registered by IMDb, which explains the problems there. In IMDb, episodes are registered by pairs for the seasons (only 13 episodes, and episode S02E18 is episode 9.2... which is thus 18). It thus doesn't find the right episode using IMDb. Currently, IMDb is the main link between TraktForVLC and trakt.tv. I will try and see if it's possible to use directly a research in trakt.tv when such situation happens so I can actually return directly trakt's information for matching.