dimanche 24 mai 2015

pyTivoMetaThis thetvdb timeouts

Does anyone know if pyTivoMetaThis is an active project?
Have any of you tweaked it yourself to fix problems?

I noticed that this kept timing out for me, and in the code it was doing this:

mirrorsURL = "the mirror url is here, but the forum won't let me post it" % APIKEY
mirrorsXML = parse(urllib2.urlopen(mirrorsURL, None, timeout))

But according to thetvdb, this is deprecated and you can simply hardcode it like this:

mirrorsXML="<Mirrors><Mirror><id>1</id>
<mirrorpath>http://ift.tt/1FOy4GY;

After making this change it seems to be working better, but I've only tested it a few times.

Have any of you tweak the code in ways that help make this work better? Would love to hear about any improvements you can suggest. Thanks!


Aucun commentaire:

Enregistrer un commentaire