[RELEASE] WhatTheMovie addon - guess movies by snapshots
#40
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 <
Reply


Messages In This Thread
[No subject] - by sphere - 2011-06-23, 18:48
[No subject] - by Henkske - 2011-06-27, 20:07
[No subject] - by turboglyde - 2011-06-28, 04:43
[No subject] - by darkscout - 2011-06-28, 06:35
[No subject] - by sphere - 2011-06-28, 19:43
[No subject] - by skiller2k1 - 2011-06-28, 20:47
[No subject] - by ErlendSB - 2011-06-28, 22:09
[No subject] - by skiller2k1 - 2011-06-28, 22:27
[No subject] - by nmat - 2011-06-28, 22:39
[No subject] - by skiller2k1 - 2011-06-28, 22:53
[No subject] - by nmat - 2011-06-29, 02:04
[No subject] - by skiller2k1 - 2011-06-29, 16:02
[No subject] - by sphere - 2011-07-10, 10:50
[No subject] - by mat____ - 2011-07-11, 15:13
[No subject] - by sphere - 2011-07-11, 15:27
[No subject] - by mat____ - 2011-07-12, 23:37
[No subject] - by sphere - 2011-07-13, 07:50
[No subject] - by Elyl - 2011-07-25, 00:49
[No subject] - by sphere - 2011-07-25, 06:45
[No subject] - by Elyl - 2011-07-26, 06:46
[No subject] - by sphere - 2011-07-26, 07:47
[No subject] - by Elyl - 2011-07-27, 02:03
[No subject] - by sphere - 2011-07-31, 22:22
[No subject] - by sphere - 2011-11-15, 21:02
[No subject] - by macf1an - 2011-11-15, 21:20
[No subject] - by sphere - 2011-11-15, 21:24
[No subject] - by sphere - 2012-01-09, 15:02
[No subject] - by sphere - 2012-02-26, 19:02
[No subject] - by blenni - 2012-03-10, 21:26
RE: - by sphere - 2012-03-12, 10:08
RE: [RELEASE] WhatTheMovie addon - guess movies by snapshots - by Mossy - 2013-08-31, 20:26


Logout Mark Read Team Forum Stats Members Help
[RELEASE] WhatTheMovie addon - guess movies by snapshots2
This forum uses Lukasz Tkacz MyBB addons.