Anime lookup scraper for anidb.net and/or animenfo.com

  Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
thugg Offline
Junior Member
Posts: 18
Joined: Oct 2003
Reputation: 0
Lightbulb  Anime lookup scraper for anidb.net and/or animenfo.com Post: #1
i know of the feature freeze, but, if i don't mention it now, i'll forget. Sad

basically, it's nice how xbmc can check imdb and cddb for album/movie information. but, i was thinking, it would be nice if i could look up anime information from animenfo.com via xbmc, also get the picture if one is present. i don't know if this is possible, but the site has extensions, and there's a few applications (gpl too) that can browse the site, maybe search. i mean, yeah it's just an idea, it could be a pain in the ass to know to look at animenfo instead of imdb (how is xbmc supposed to know this particular folder/file/whatever is anime and not a movie? i'm sure there are ways, maybe an "anime" view much like movies, or somehow telling xbmc where the anime is located via the config file or something.

edit: forgot something. (refer to top Wink)

links:

animenfo client documentation
animenfo client examples (all gpl)
find quote
Morien Offline
Senior Member
Posts: 185
Joined: Dec 2003
Reputation: 0
Post: #2
this would be a great feature for implementation.
it's got my bid.

morien
find quote
katana Offline
Junior Member
Posts: 14
Joined: Feb 2004
Reputation: 0
Post: #3
if you have already seen http://www.anidb.net, you may know that it's an amazing site that references all the anime releases. it lets each user manage his own list, with file status (on cd, on hdd, watched...), and so on.

but the best part: it provides a socket api that lets users develop their own custom clients in order to interact with their list and with the website database. the site is based on ed2k hashes for files unicity.

i was wondering if it would be easy / possible to implement support for that amazing api using _ maybe _ python.

what i would be interested in would be something like imdb support but for anidb. i feel like it is too complex for python and would require real core implementation, but it does not hurt to ask.

it would be great if it was possible to get the same kind of information for anime files: genre, title, episode titles, thumbnails, year... and so on.

any clue ? piece of advice ? comment ? thanks in advance !
find quote
Seren Offline
Junior Member
Posts: 46
Joined: Mar 2004
Reputation: 0
Post: #4
ok so i watch a lot of serialised anime.  i would also like my anime collection to look as good and be as informative as my regular films.

ok i'll try too keep this to the point. oh and this could work for regular tv series i suppose...not just anime.

*when i scan anime and the imdb can't find it, it scans every episode.  not fun for those 50+ ep series. (plus the imdb thumbs are often just shots of boxset boxes)

*could there be a way to mark specific shares as containing anime (i have separate directories and shares for mine...don't know about anybody else) and have xbmc check the likes of anidb.net or animenfo.com for synopsies, thumbs etc.

*also could the browsing of areas marked as serialised be given an option to apply the thumbs to the directories.  i'm presuming most people file their different series away in their own directories and mark the episodes like 'juuni kokki - 01.avi , juuni kokki - 02.avi etc.  the plan being that you select the directory and then rather than stacking you select an episode number or play all for those all night marathons.  this would tidy up boring looking directory structures filled with video files and replace them with lovely thumbs.

anyway i'll leave it there as i could go on about possible features that would suppost serialisations for pages.  i'll just let you guys tell me if it's feesable or not first.  if there is even significant demand for a feature like this.

i know i personally would use the databasing features if they supported any of my media effectivly.

cheers

edit:

i just found 2 other threads requesting simelar features here:
http://www.xboxmediaplayer.de/cgi-bin....l=anime
and here:
http://www.xboxmediaplayer.de/cgi-bin....l=anime
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #5
i think this feature is best implemented with a python script and not be part of the core code. is there a way to tie in python scripts to the context menu?

how about passing an argument to a python script?
find quote
Seren Offline
Junior Member
Posts: 46
Joined: Mar 2004
Reputation: 0
Post: #6
i suppose if there was a way to have the script hit animenfo or anidb and get the details from there....then simply convert it so it looks just like data downloaded from imdb and save it in it's place. that could work couldn't it?

now all we need is a talented young scripter....with a thirst for the anime.

having said that i would still like to see it implemented like imdb is, but as long as i get the details and lovely thumbs i'm not bothered.

still doesn't solve the browsing being a big messy directory structure though.

ttfn
find quote
Mu33rto Offline
Junior Member
Posts: 1
Joined: Jan 2006
Reputation: 0
Post: #7
well i don't realy see movies but i see alot of anime.is it possible to be able to choose from imdb to something like anidb or animeinfo to get information on the anime show.imdb will be for movies and anidb will be for anime stuff?possible.
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #8
please do a search before posting next time
http://www.xboxmediaplayer.de/cgi-bin....l=anidb

i wonder what interface you would use to determine if something is anime though...
find quote
jonbaby Offline
Junior Member
Posts: 5
Joined: Jan 2006
Reputation: 0
Post: #9
i've done my own modification to xbmc something along the lines suggested in this forum.

it works as follows when you press the "info" button.
- looks for a file called xxx.afo in the folder (where xxx is the aindb id eg 3408.afo)
- if no file is found uses normal imdb lookup
- if the file is found uses xxx as part of url
 http://anidb.info/perl-bin/animedb.pl?sh...e&aid=3408
- downloads the page and parses it for information

basically it uses the imdb info gui, and replaces it with the anidb information.
its pretty much a hack, but it gives me the info i want like the title, number of episodes, the anidb picture and plot summary.

the other change i included in this was to save the last file watched in each folder to the myvideos database. so whenever you restart the xbox, it automatically selects the last episode you watched when you open a folder(pretty handy if you watch a few different shows).

i know xbmc has a history while you have the xbox on, but it doesn't seem to persist it anywhere. is there an option somewhere to save the history and i missed it?
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,171
Joined: Nov 2003
Reputation: 81
Post: #10
jonbaby, please see

http://www.xboxmediaplayer.de/cgi-bin....v;st=45

if you'd be willing to do the scraper using my system, it would be pretty sweet Smile

if so, i'll hook u up with a new version and better documentation.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply