Kodi Community Forum
[WIP] AniDB.net Anime Video Scraper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: TV Show Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=305)
+----- Thread: [WIP] AniDB.net Anime Video Scraper (/showthread.php?tid=64587)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


- gates - 2010-08-15

Hi,

my regexp find every ep and multi-ep on my all anime (75, from many team, with different name style)


PHP Code:
<advancedsettings>
 <
tvshowmatching action="prepend">
  <
regexp>[/\.\-]()([\d]{2,3})(-[\d]{2,3})?v?V?[0-9]?H?D?h?d?v?V?[0-9]?[/\.\-]</regexp>
 </
tvshowmatching>
</
advancedsettings

It works great for me !
just have a non-fasle positive with "Eyeshield 21"
I rename "Eyeshield 21" => "Eyeshield21" and have no more problem.

the "?v?V?[0-9]?H?D?h?d?v?V?[0-9]?" is for anime.015v2, anime.014HD, and anime.016hdv3 etc

enjoy


- snyft - 2010-08-16

gates Wrote:Hi,

my regexp find every ep and multi-ep on my all anime (75, from many team, with different name style)


PHP Code:
<advancedsettings>
 <
tvshowmatching action="prepend">
  <
regexp>[/\.\-]()([\d]{2,3})(-[\d]{2,3})?v?V?[0-9]?H?D?h?d?v?V?[0-9]?[/\.\-]</regexp>
 </
tvshowmatching>
</
advancedsettings

It works great for me !
just have a non-fasle positive with "Eyeshield 21"
I rename "Eyeshield 21" => "Eyeshield21" and have no more problem.

the "?v?V?[0-9]?H?D?h?d?v?V?[0-9]?" is for anime.015v2, anime.014HD, and anime.016hdv3 etc

enjoy

Dident work for my Aoi Bungaku
[gg]_Aoi_Bungaku_-_07-08_[E179D65A]


- gates - 2010-08-16

should be ! Smile

does other ep ( 01 => 06 ) works ? or only your multi "_07-08_"

have you a parent folder with number ?
ex : D:/mangas/Aoi bungaku/Season 01/[gg]_Aoi_Bungaku_-_07-08_[E179D65A]


- snyft - 2010-08-16

gates Wrote:should be ! Smile

does other ep ( 01 => 06 ) works ? or only your multi "_07-08_"

have you a parent folder with number ?
ex : D:/mangas/Aoi bungaku/Season 01/[gg]_Aoi_Bungaku_-_07-08_[E179D65A]

Yes but no season folder. Also all the other episodes works with the settings scorpius posted.
O:\anime\tv\Aoi Bungaku\[gg]_Aoi_Bungaku_-_07-08_[E179D65A]
Edit: Fixed the multiepisodes with:
<regexp>[/\._ \-]()([0-9]+)(-[0-9]+)?</regexp>

Will prob give alot of false readings i guess tho.
Edit2: Any idea why it wont add Code_Geass_R2_Ep01_The_Day_a_Demon_Awakens_[720p,BluRay,x264]_-_THORA? Is it the R2 thing?
tried making my own with regexp>[\._ \-]()([0-9]+)Ep(-[0-9]+)?</regexp> any help to with what i did wrong would be much appreciated.
Edit3: Fixed it with regexp>[\._ \-]Ep()([0-9]+)(-[0-9]+)?</regexp>


- gates - 2010-08-16

I think, it's the "Ep01"
the episode number must be between "." , "_" and "-".
change your regexp => i guess like this <regexp>[/\._ \-]E?e?P?p?()([0-9]+)(-[0-9]+)?</regexp>
or rename file with "R2_Ep_01_"

edit :
for Code Geass R2, i have renamed all ep with S02Exx format and use theTVDB scrapper.
you'll get a single Code Geass SerieTV with the 2 season inside


- Xeijin - 2010-08-26

Hi guys, I downloaded the scraper but it only seems to be detecting one or two episodes of my Anime and sporadically at that.

For example,

"Tengen Toppa Gurren Lagann" is the name of the folder.

Inside episodes are named with the following scheme:

Gurren Lagann - Episode 001.mkv

It has detected EP6 and EP1, and skipped all the rest, despite them having the same naming scheme.

I see there are a few regexp floating around this thread but I have no idea as to which one I should use! My Anime is named quite variably some with the regular [SubGroup] tag, and others like Tengen Toppa.

Thanks in Advance.


- spiff - 2010-08-26

debug log. we're not psychic.


- Xeijin - 2010-08-26

spiff Wrote:debug log. we're not psychic.

Sorry about that, here it is:

http://pastebin.com/32yh96CF

It's quite large (1.9mb) I was considering cutting it down but I was worried I might omit something important.

Also, not sure if it means anything but with "One Piece" it seems to be detecting episodes but getting the order completely wrong.


- spiff - 2010-08-26

okay, the problem is that you have the ordering of your expressions wrong. since those file names have 3 number in them, the one matching think it's season 0, episode 01 etc. you need to put the single-number expression before it.


- Xeijin - 2010-08-26

spiff Wrote:okay, the problem is that you have the ordering of your expressions wrong. since those file names have 3 number in them, the one matching think it's season 0, episode 01 etc. you need to put the single-number expression before it.

Does this mean adding the correct regexp to advancedsettings.xml? (E.g. like the examples given in this thread?)


- spiff - 2010-08-26

yes.


- Xeijin - 2010-08-26

spiff Wrote:yes.

Thanks.

I've just added scorpius' regexp to my (existing) advancedsettings.xml. I have just tried scanning an Anime with what I believe is a "standard" naming scheme, unfortunately it doesn't seem to be getting any results (the following is the result of the first episode it tries to scan - rest is the same for the other episodes):

Code:
22:10:55 T:3077572480 M:2369593344   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
22:10:55 T:2918185840 M:2369593344   DEBUG: VideoInfoScanner: No NFO file found. Using title search for '/media/TV/Anime/Eureka 7/[Nanashi]Eureka_seveN_-_50_[END]_[A496ABB6].avi'
22:10:55 T:2918185840 M:2369593344   DEBUG: InternalFindMovie: Searching for '[nanashi]eureka seven - 50' using AniDB.net scraper (path: '/home/xbmc/.xbmc/addons/metadata.anidb.net', content: 'tvshows', version: '1.0.0')
22:10:55 T:2918185840 M:2369593344   DEBUG: scraper: CreateSearchUrl returned <url gzip="yes" cache="anidb.xml">[url]http://sites.google.com/site/anidblist/anidb.xml[/url]</url>
22:10:55 T:2918185840 M:2369593344   DEBUG: FileCurl::Open(0xadefdb78) [url]http://sites.google.com/site/anidblist/anidb.xml[/url]
22:11:01 T:2918185840 M:2367705088   DEBUG: FileCurl::Close(0xadefdb78) [url]http://sites.google.com/site/anidblist/anidb.xml[/url]
22:11:02 T:2918185840 M:2367172608   DEBUG: scraper: GetSearchResults returned <results></results>
22:11:02 T:2918185840 M:2367172608   DEBUG: InternalFindMovie: Searching for '[nanashi]eureka_seven_-_50' using AniDB.net scraper (path: '/home/xbmc/.xbmc/addons/metadata.anidb.net', content: 'tvshows', version: '1.0.0')
22:11:02 T:2918185840 M:2369458176   DEBUG: scraper: CreateSearchUrl returned <url gzip="yes" cache="anidb.xml">[url]http://sites.google.com/site/anidblist/anidb.xml[/url]</url>
22:11:02 T:2918185840 M:2367213568   DEBUG: scraper: GetSearchResults returned <results></results>



- spiff - 2010-08-26

full log again please.


- Xeijin - 2010-08-26

spiff Wrote:full log again please.

I've posted my log and advancedsettings.xml just in case I cocked that up somehow.

xbmc.log

advancedsettings.xml


- spiff - 2010-08-27

you're not attempting to scan the problematic show in that log.