Posts: 1,299
Joined: Jul 2009
Reputation:
59
sphere
Retired Team-Kodi Member
Posts: 1,299
update is now in the repo...
Posts: 1,299
Joined: Jul 2009
Reputation:
59
sphere
Retired Team-Kodi Member
Posts: 1,299
Version 1.0.4 is now in the repo.
Have fun.
Posts: 1
Joined: Jan 2013
Reputation:
0
Hi:
This seems like a dumb question, but how do I exit this addon using the IOS XBMC remote app?
I have tried to press everything, but the only way I found to exit the WhatTheMovie addon is by
pressing ESC on a regular keyboard.
If it helps, I am running raspbmc version RC3.
Thanks in advance.
Posts: 1,299
Joined: Jul 2009
Reputation:
59
sphere
Retired Team-Kodi Member
Posts: 1,299
You should be able to exit the game with the stop-command.
Posts: 3
Joined: Nov 2009
Reputation:
0
Hi,
I'm running the latest version from official repo, and it sometimes locks up on me. It is loading next image, and it just keeps loading. Interface is functional (I can move around the buttons, and zoom into image), but can't quit (esc doesn't work) and if I try to close xbmc (s key -> exit) then it locks up fully and I need to kill and restart xbmc.
Thanks
Posts: 1,299
Joined: Jul 2009
Reputation:
59
sphere
Retired Team-Kodi Member
Posts: 1,299
Hi. Thanks for reporting. I need a log file when this occours.
Regards,
sphere
Posts: 1,299
Joined: Jul 2009
Reputation:
59
sphere
Retired Team-Kodi Member
Posts: 1,299
From your log it looks like whatthemovie.com was unavailable for over a minute, not sure what I can do against this.
I will think about it...
Posts: 341
Joined: Oct 2011
Reputation:
29
2013-08-31, 20:26
(This post was last modified: 2013-09-01, 00:22 by Mossy.)
It has nothing to do with timeouts, there are two HTTP exceptions that I'm seeing.
1) One problem is that my proxy is filtering urls that follow a particular pattern (i.e. if it looks like there's an ad, or malware etc.). It would seem that this happens for one of more of the whatthemovie urls, I can just reconfigure the proxy to fix that.
2) If the user turns off explicit content in their whatthemovie.com account settings then an explicit image will cause a HTTP exception in the plugin (404: Not Found).
These problems can be worked-around by the user, but really the plugin should be able to handle exceptions without hanging XBMC.
The log makes it look like a timeout is happening about once a second, but that's because your code lumps HTTP exceptions together with timeout exceptions and prints "There's a timeout", and then tries again, and fails again, and tries again and fails again etc. This process goes on forever, preventing user input in the process, effectively hanging XBMC. The reason that this only lasts a minute in the log is because that how long I waited before I killed the XBMC process.
Also please limit the number of times the code retries the same snapshot after a HTTP exception, if it fails more than once it may keep failing indefinitely.
People have been asking me for a Donate button, so if you want to buy me a drink
> here it is <
Posts: 341
Joined: Oct 2011
Reputation:
29
There is one snapshot with "/ad/" in the URL, which my proxy filtered out as an ad. Simple matter of configuration to fix that.
I originally thought, based on the log, that the timeout was set to one second, so I thought that should be higher, but as we now know there was no timeout happening. The default timeout is probably fine, but setting it to thirty seconds isn't going to do any harm either.
I'd be happy to test the new version, will let you know how I get on.
People have been asking me for a Donate button, so if you want to buy me a drink
> here it is <
Posts: 341
Joined: Oct 2011
Reputation:
29
At one point the plugin hung (on pressing the "previous" button), but I didn't have debug logging turn on. I turned on debug logging, but it didn't happen again.
Other than that it worked fine, with explicit content turn on and off.
People have been asking me for a Donate button, so if you want to buy me a drink
> here it is <
Posts: 1,299
Joined: Jul 2009
Reputation:
59
sphere
Retired Team-Kodi Member
Posts: 1,299
Sadly I couldn't reproduce. Did you remember the preload-count while that happened?