nZEDb/nZEDb — pull request #984 by egandt (2013-11-05 21:45:32+00:00)
Title: Only changes for anime the key change according to me as it is the one thing broken in nZEDb currently

Changes for anime processing and only anime processing. I'm not going to check in anything else :-) Promise cross my heart ... this is it as I'm at the airport and typing this on wifi while waiting for my flight.

First is the populated table for anidb, though I'm unsure how to hook it up, but it is there and complete however.
I Could not find a better place for the sql file.
Second there is a file with all covers at https://dl.dropboxusercontent.com/u/106119348/anime_covers.zip
I assume this is best on the forum, but it is part of the pre-populate concept. Not required, but nice to have, it will be rebuild over time by the script if not present.

These 2 previous files are not needed, but mean nZEDb would have all current anime series in the DB from the get go, removing the need to get anime data again on installation.

pages/anime.php: has 2 fixes so that it no longer returns a blank screen. Capitalization of a parameter and categoryid, these are needed wether my changes are present or not.

lib/anidb.php: was majorly updated to only process anime, never look it up on anidb, as that is done by an update_script.
I actually throw out the old file since there are so many changes, though it does not appear to have been touched in a long time.

update_scripts/postprocess_non_amazon, simple to change to make sure that anime is handle by anidb and everything else by RageTV. The check actually is done based on the cateogryid (5070)

DB_scripts/populate_anidb.php: populate anidb table is an organized and logical manor to avoid being banned
Assumes old series only need to be updated every 120 days, and future series only every 45 days and current series every 7 days (as they actually change). This is the key new file for anime processing. This requires a anidb API ID, since the one from newznab is blocked, but people can get there own if they desire one).
Regex is broken out into many lines, not the most efficient, but makes debugging and processing more readable.

DB_scripts/populate_anidb.cron: The cron script to anidb which I'm using to ensure that I'm not banned. Not needed at all, but thought I'd include it anyways.

Hope that this limited commit can be of help to you,
ERIC