Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Limits misbehave

Sun Feb 22, 2009 2:04 am

I have found a problem where the XMLRPC interface will give out results, but downloading the actual files sends HTML error files reporting on limits having been reached.

Since the files are sent answering to the gzip subtitle and since the pages are gzipped, programs can't know they've hit the limits of the interface.

Wouldn't it make sense to return in every XMLRPC query the available number of searches, downloads and how many hours? Timezones are different, so "for the day" is not clear. And the number should decrease every time it's used anyway.

I'm worried I might have hit hardly the limits yesterday, but I can't know because the XMLRPC didn't report errors and I don't check the downloaded files for format (I wouldn't be able, with all formats available).

What do you suggest?

If you need to know, I periodically scan for better subtitles to replace the ones I might have downloaded the first day, which are never good quality.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sun Feb 22, 2009 2:12 am

I must add my program has, of course, deleted tons and tons of subtitles, which were replaced by the "better" copies that ended up being HTML.

I'm now running a shellscript to remove all those HTML files, but I have lost all the previous one.

This is a sample image of the downloaded HTML.


http://h4xr.org/q3k4
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
oss
Site Admin
Posts: 5890
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Sun Feb 22, 2009 5:39 am

yeah definitely good idea, I will implement some limit reporting to XMLRPC

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 25 guests