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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Metadata scrapers (/forumdisplay.php?fid=147)
+---- Thread: [WIP] AniDB.net Anime Video Scraper (/showthread.php?tid=64587)



- snyft - 2010-08-15 15:52

Scorpius Wrote:Post your debug log (use pastebin or something) where you scan one of the shows and we can figure it out.

http://pastebin.com/N6fiwhP8
There you go Smile


- Scorpius - 2010-08-15 18:25

Well I can't see the beginning of the log where the advancedsettings.xml is parsed. Those filenames are parsed with no problems using the settings I posted.

I don't use the "Season x" for anime folders and maybe that's a difference, and in that case http://forum.xbmc.org/showthread.php?tid=51614 would work better.


- snyft - 2010-08-15 19:17

Scorpius Wrote:Well I can't see the beginning of the log where the advancedsettings.xml is parsed. Those filenames are parsed with no problems using the settings I posted.

I don't use the "Season x" for anime folders and maybe that's a difference, and in that case http://forum.xbmc.org/showthread.php?tid=51614 would work better.

Nah it works now, i forgot to add the <advancedsettings> tags >_<.
Btw i noticied it had some difficulty picking up double episodes anyway to mark them some way?

[gg]_Aoi_Bungaku_-_07-08_[E179D65A] etc


- Scorpius - 2010-08-15 19:22

Yeah and that's a problem. That one will be recognized as episode 08 only. That happens to me too. The wiki says if you add a third pair of parenthesis at the end you can recognize multi-episodes.

http://wiki.xbmc.org/index.php?title=Advancedsettings.xml#.3Ctvshowmatching.3E
Quote:NOTE: for multi-episode matching to work, there needs to be a third set of parentheses on the end. This part is fed back into the regexp engine.

I think I have tried it with no success. For your Aoi Bungaku episode you would have to add before the first line something like:
Code:
<regexp>[\._ \-]()([0-9]{2,3})[\._ \-]([0-9]{2,3})[v\._ \-\[\(].*[\[\(][0-9A-F]{8}[\)\]][/\._ \-\[\(]</regexp>

Tell me if it works! I have some multi-episodes not recognized as such.


- snyft - 2010-08-15 20:50

Scorpius Wrote:Yeah and that's a problem. That one will be recognized as episode 08 only. That happens to me too. The wiki says if you add a third pair of parenthesis at the end you can recognize multi-episodes.

http://wiki.xbmc.org/index.php?title=Advancedsettings.xml#.3Ctvshowmatching.3E


I think I have tried it with no success. For your Aoi Bungaku episode you would have to add before the first line something like:
Code:
<regexp>[\._ \-]()([0-9]{2,3})[\._ \-]([0-9]{2,3})[v\._ \-\[\(].*[\[\(][0-9A-F]{8}[\)\]][/\._ \-\[\(]</regexp>

Tell me if it works! I have some multi-episodes not recognized as such.

I just added your regexp to the top of your other settings and it dident find the episode as a multi-episode


- gates - 2010-08-15 22:51

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 11:45

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 12:11

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 12:35

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 13:11

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