NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
1 2 3 4 5 … 125 Next »
Anime Library - Support Thread

 
  • 0 Vote(s) - 0 Average
Anime Library - Support Thread
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#11
2008-05-04, 09:54 PM
Ted the Penguin Wrote:Hey,
I just got around to checking out your plugin... I have not used it yet, other than the configuration parts. the scan completed, but there still seems to be a large number of requests to anidb waiting.
I scanned 978 files, and when the scan was over, there were still 650+ anidb requests waiting. I have no connection problems, do you have to throttle your requests heavily to comply with their API? There is about 30 seconds between requests.

Once I use the rest of your plugin I will let you know what I think about it.

Your guess about throttling the requests is exactly correct.

It's a cost of using the API -- part of the requirements are that I am not allowed to issue more than one API request every 30 seconds "for an extended period of time". Which makes, as you're discovering, the initial run of the scanner quite painful. Or at least quite long -- it took me three days.

Once the initial scan is done and you're just adding new items, it isn't too bad, but the first trip through. Ugh.

On the other hand, though, at least it is an actual API. I don't rely on screen scraping anywhere, they actively work to ensure that API changes will not break existing clients, and the authors of the API are willing to add additional commands and features if the current specifications don't supply the data a client needs.

So as far as trade-offs go, I think it's a good one. I get a fairly rich feed of data in a consistent format and I don't need to worry about a web page change breaking the plugin.

But yeah, that first run sure takes a long time. I've made it a bit less painful in the next version, but only a bit.
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#12
2008-05-04, 11:54 PM
now here is a better question... my machine went to sleep before it finished with the anidb requests... when I woke it up I got "GENERAL FAILURE" messages, so I just quit it... what do I need to do to recover? rescan?
sub Wrote:Are you trying to make sure I get nothing done today?
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#13
2008-05-04, 11:59 PM
Wow, I know the lookups are boring, but they're putting machines to sleep?

Restarting the scanner should be sufficient, no need to rehash. On startup, it will go through and requeue any requests that need to be done.
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#14
2008-05-05, 12:03 AM
hmm...that didnt seem to work...
sub Wrote:Are you trying to make sure I get nothing done today?
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#15
2008-05-05, 12:09 AM
Hm.

Well, you can try the scan button, but I (expect) what will happen is it will happily tell you that there are no new files to hash - hash results are written to the database as soon as the are complete. Still, worth pushing I suppose.

I'm away from the code right now, but I'll take a look at it later this evening. What -might- be happening is that it wants to wait until tomorrow to requeue the requests. I do a limited number of updating of old data on a daily basis, and I'm wondering if the date check is also blocking the requests adds that shouldn't be waiting. I'll get back to you!
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#16
2008-05-05, 12:16 AM
well, with that analysis, I can wait until tomorrow Smile. but I did take a look at the plugin, and it looked really nice, I now just need to skin it for sassari.

I will let you know how it goes tomorrow (or whenever I get to it, damned work!).

thanks for the help, and the sweet plugin!!
sub Wrote:Are you trying to make sure I get nothing done today?
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#17
2008-05-05, 05:28 AM
OK, so that wasn't it.

When you start the scanner, does it just sit there happily and smile, claiming no requests are waiting, or does it return to the "GENERAL FAILURE" message?

As for skinning for Sassari, I wouldn't rush there just yet. I have version 1.7 sitting on the horizon, and it, of course, has a number of skin changes. (Somewhere between "a few" and "a lot".) While I've gone through Fatman-do's skinning tutorials and have tried to create the skins to be as friendly as possible to the themes in which they find themselves, I've still a ways to go.

And I'd hate to see your effort be for nought with the release of a new version.

Thanks for your kind words, I look forward to hearing what you think of it as you find the opportunity to work with it some more!
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#18
2008-05-05, 12:00 PM
I did not get any general failure messages, it just sat there dumb and happy Smile saying it didn't have to do anything.

Thanks for the heads up on the skinning!

I look forward to using your plugin more (and having the time to do that... but who knows when work will stop being crazy)
sub Wrote:Are you trying to make sure I get nothing done today?
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#19
2008-05-06, 11:11 PM
Well! I think I found out what's going on.

In order to keep files originally not found in the database from being resubmitted every time the scanner starts, I put in some extra logic to ensure they check only once every three days.

On the original insert, though, it (was) setting the 'last updated' date to the current (insert) date, which means it won't requeue the requests until, well, Wednesday or Thursday.

So, beyond running a SQL statement against the database to move those updated dates back, it's pretty much just a matter of waiting it out. And since you don't seem to be in THAT much of a hurry, I'll embrace the "wait and see if the problem goes away" solution. That said, if they don't auto-requeue on Thursday at the latest, let me know.

I've already change the insert times for the next version. I'm not sure that it is a big enough problem, though, to worry about trying to get this somewhat flakey source-control to cough up the 1.0.6 code to post a 1.0.7 release.
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#20
2008-05-17, 04:20 PM
ok, thanks for looking into that... it looks like you were right, if I waited it would try getting them again. its (slowly) draining the (large) queue now.

as you said.. I wasnt in that much of a hurry Smile I rarely get time to mess around with my toys anymore Sad


thanks again for this plugin, its pretty awesome... now I just want to see if it works on my new popcorn hour.
sub Wrote:Are you trying to make sure I get nothing done today?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (17): « Previous 1 2 3 4 5 … 17 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  vidImport utility support carpeVideo 73 53,703 2012-05-27, 06:27 AM
Last Post: jksmurf
  BBC Iplayer Downloader Plugin - Beta + Support smiler 420 157,616 2012-01-20, 12:15 PM
Last Post: martint123
  Video Library Plugins? reven 1 14,296 2011-03-17, 08:02 PM
Last Post: gEd
  Music plugin support thread MixMan 103 40,299 2010-08-31, 09:46 PM
Last Post: povarotti
  New Videos Library Plugin jasonbs10 202 65,990 2010-08-22, 01:38 PM
Last Post: 7ore
  StartGBPVR - support thread liteswap 46 24,786 2010-04-06, 04:10 AM
Last Post: keith_leitch
  videos library plugin crashes pvrx2 on fanart... cs4 no crash and no fan art why??. tvshowman 2 4,088 2010-04-01, 09:59 PM
Last Post: tvshowman
  BurnDVDX2 support issues. pastro 260 70,382 2010-03-05, 04:44 PM
Last Post: TomR
  Music Library Error chewy747 7 4,730 2010-01-29, 09:44 PM
Last Post: chewy747
  Music Library 3 Install Errors dennit 3 3,001 2009-12-05, 08:33 PM
Last Post: psycik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode