•   
  • 1
  • 46
  • 47
  • 48(current)
  • 49
  • 50
  • 70
  •   
Release [MOD] AniDB.net scrapers for TV shows and Movies
(2015-12-27, 12:03)scudlee Wrote: The Shomin Sample issue is due to Kodi ignoring files and folders that contain the word "sample".
http://kodi.wiki/view/Advancedsettings.x...wsfromscan

Workarounds are either to remove the "sample" regexp from excludetvshowsfromscan via your advancedsettings.xml, or to simply remove/break up the word Sample from the folder and file names.

To achieve the former, just use:
PHP Code:
<advancedsettings>
  <
video>
    <
excludetvshowsfromscan/>
  </
video>
</
advancedsettings
In your advancedsettings.xml. (If you already have a <video> node, just add the <excludetvshowsfromscan/> inside it.)
However, this may cause conflicts if you have actual sample files that need ignoring.


Personally, I went the second route, and added:
Code:
ShowTitle:=$repl(%ShowTitle%, 'Sample', 'S_ample')
To my anidb client rules (after line 6). Slightly ugly, but it gets the job done, since the AniDb scraper search is smart enough to match "S_ample" to "Sample" (note thetvdb scraper search may not be as smart).

Thank you boss.
Renamed folder and file with Sample -> S_ample, and it scraped ok.Wink
Reply
Hey there.

Not sure if this would be the place for this kind of issue. But i'll try anyway.

First of all, certain (most) shows are getting added as "watched" and can not be marked unwatched.
Secondly, these "watched" shows then will not show up as added shows in the TV Shows parts.

Those that do show up, are also the ones not getting added as watched.

For example, using this modified scraper. Fairy Tail will show up when using the format "Fairy Tail - 01" Simple and obvious why it works. But if i use the same format for Aldnoah.Zero it will not work. Blade uses the same format as well, and also will not show up.

I have also tried with the advancedsettings.xml as mentioned in the first post as well, but to no avail.

Here are some screenshots, so it might be clearer what i mean.
http://imgur.com/a/rqYPk
As you can see in the Aldnoah.Zero folder, i have tried different formats.

http://xbmclogs.com/ptj7w1to9
And here is a log.
Reply
Hello here is a few more files that need a quick fix when u get the chance OniAi specials are all off by one on http://anidb.net/perl-bin/animedb.pl?sho...e&aid=9230 they start at S00E02 but on thetvdb http://thetvdb.com/?tab=season&seriesid=...9947&lid=7 they start at S00E01 also Dakara Boku wa, H ga Dekinai. (2013) http://anidb.net/perl-bin/animedb.pl?sho...e&aid=9302 need to be linked with So, I Can't Play H! S00E01 http://thetvdb.com/?tab=episode&seriesid...5593&lid=7 .Thanks you for your hard work and keep it up
Reply
Found a matching error, the new Steins Gate special Open the Missing Link (https://anidb.net/perl-bin/animedb.pl?sh...e&aid=7729) doesn't link to the correct TVDB entry (http://thetvdb.com/?tab=episode&seriesid...9783&lid=7), links to the movie one instead.
Reply
@mad61190, @TheFireKahuna all updated. Thank you! And please keep pointing these things out when you spot them. Specials, in particular, are a pain to keep on top of.


@Snuffsis, "Fairy Tail - 01" although simple, is not actually a pattern that works by default in Kodi. If you play the episode that Kodi has marked as episode 1, you'll find it's actually episode 101. This is because Kodi does match three (and higher) digit numbers as SEE - that is, first digit Season, last two digits Episode.

So only those shows that have more than 100 episodes will have any files enumerated (but incorrectly). Everything else will have no episodes.

...And if the show has no episodes, then you've clearly "watched" all of the episodes, which is why the shows are automatically being marked as watched.

To fix you need to make an advancedsettings.xml (wiki) containing:

Code:
<advancedsettings>
  <tvshowmatching action="prepend">
    <regexp>().*(?:\D|^)(\d+)((?:-\d+)+)(?=(?:\[[^\]]+]|\([^)]+\)|\{[^}]+\}|[^\]\[(){}]+)*)[^\/\\]*$</regexp>
    <regexp>().*(?:\D|^)(\d+)(?=(?:\[[^\]]+]|\([^)]+\)|\{[^}]+\}|[^\]\[(){}]+)*)[^\/\\]*$</regexp>
    <regexp defaultseason="0">().*(?:\D|^)s(\d+)(?!\d*e\d+)((?:-\d+)*)(?=(?:\[[^\]]+]|\([^)]+\)|\{[^}]+\}|[^\]\[(){}]+)*)[^\/\\]*$</regexp>
  </tvshowmatching>
</advancedsettings>

These are slightly modified from Sesshoumaru's post, which are pretty good as all-round regexps and should match the bulk of your file correctly, but there are probably still exceptions that won't work.
The first regexp handles multi-episode files with numbering 01-02-03 etc. You would need to rename the Sexy Commando Gaiden files to include all episode numbers, not just first and last.
The second regexp is for regular single episode files. Have to handle this separately from multi-episode case because the regex is greedy and would just use the last episode number otherwise.
The third regexp is adapted for special episodes using the numbering scheme "s01", you may have to manually rename them to get them to work, should you have any. It should also avoid matching incorrectly against "s01e01".

My recommendation as always is to use a file renaming tool, such as the anidb client with the rules I link in the first post, to rename all your files to a consistent standard (that will match the more specific regexps also in the first post).

I hope this helps.
Reply
Hello anytime I check most (but not all) anime TV Show's info pages that was scanned by Anidb MOD, I get the error "TV Show Info not available" by extendedscript, but I do get the info. Just the error popup is annoying. Any idea how to fix this? Thanks!
Reply
Most scripts of that sort require a tvdb id or imdb id to work properly, but by default the anidb scraper stores the anidb id.
You can change this on the first page of the scraper settings (just be sure to set this on your source folder via the "Change Content" option on the context menu (wiki)).

I don't know what kind of info the script pulls so there's no guarantees that this will produce correct results, though.
Multiple anidb series will have the same tvdb id, so season and episode-level information would likely be incorrect for sequels (since they will be "season 1" of the anidb listing, but a later season of the tvdb series).


If you're just looking to disable the script (or the pop-up), that would most likely be a skin-specific issue, and you should ask in the appropriate skin sub-forum.
Reply
This is no special script or anything, it's just the Extendedinfo script icon I see with the error "tv show not available" when I just check the info of a tv show using the "i" shortcut. It doesn't do this for non-anime shows. I don't know why it started doing this but no change came from me. I don't understand what you mean by changing the id, it is set to use anidb.net's id. I really don't wanna change it, I really don't wanna have to rescan all my anime, it's such a pain to get them right and the names and seasons have to be ordered different with every scraper.
I'm using Aeon Nox skin, should I check with them to see if it's a skin related issue? Thanks.
Reply
Hey scudlee

I have trouble getting the Episode infos for "Emma - A Victorian Romance", and i have no clue why not. Always getting the Error "No Information found". Other Shows are working fine. Maybe you can find something from the Log:

Code:
09:18:01 T:1732   DEBUG: VideoInfoScanner: Found episode match nfs://192.168.192.2/volume1/Animes/Emma - A Victorian Romance/Emma A Victorian Romance - 01 - The Gift - [Utsukushii-Raws][18A013BA].mkv (s1e1) [ - ()(\d+)((?:-\d+)*)(?:v\d+)? - [^\\/]*$]
09:18:01 T:1732   DEBUG: CVideoDatabase::GetEpisodeId (nfs://192.168.192.2/volume1/Animes/Emma - A Victorian Romance/Emma A Victorian Romance - 01 - The Gift - [Utsukushii-Raws][18A013BA].mkv), query = select idEpisode from episode where idFile=8260
09:18:01 T:1732   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'nfs://192.168.192.2/volume1/Animes/Emma - A Victorian Romance/Emma A Victorian Romance - 01 - The Gift - [Utsukushii-Raws][18A013BA].mkv'
09:18:01 T:1732   DEBUG: ADDON::CScraper::GetEpisodeList: Searching 'http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=2695' using AniDB.net [MOD] scraper (file: 'C:\Users\User\AppData\Roaming\Kodi\addons\metadata.tvshows.anidb.net.mod', content: 'tvshows', version: '2.3.0')
09:18:01 T:1732   DEBUG: scraper: GetEpisodeList returned <episodeguide><chain function="StartDelayLoop">&</chain></episodeguide>
09:18:01 T:1732   DEBUG: scraper: StartDelayLoop returned <details><chain function="DelayLoop">&</chain></details>
09:18:01 T:1732   DEBUG: scraper: DelayLoop returned <details><chain function="DelayLoop">&</chain></details>
09:18:01 T:1732   DEBUG: scraper: DelayLoop returned <details></details>
09:18:01 T:1732 WARNING: No information found for item 'nfs://192.168.192.2/volume1/Animes/Emma - A Victorian Romance/Emma A Victorian Romance - 01 - The Gift - [Utsukushii-Raws][18A013BA].mkv', it won't be added to the library.
Reply
Hi there, it's been a few days since AniDB MOD stopped working for me.
New animes didn't show at all so I decided to run the search from scratch, finding myself with an unpleasant surprise: only One Piece is found...

Trying to run "normal" AniDB scraper it finds several animes. Not all of them, but i think it's ok, that was the reason why i started using the MOD in the first place.

Here are my settings, which worked for months
Image

Anime list URL:
Code:
https://raw.githubusercontent.com/ScudLee/anime-lists/master/animetitles.xml
Anime mapping URL:
Code:
https://raw.githubusercontent.com/ScudLee/anime-lists/master/anime-list.xml

All the rest is default.

Am I getting something wrong here?
Reply
I would need to see a debug log (wiki) to be able to help. Turn on debug logging and refresh a specific show folder (by pressing 'i'), making sure the MOD is set as the scraper.
The default URLs redirect to the ones you've replaced them with anyway, so that shouldn't affect anything positively or negatively.


Also, the scraper is now only supported fully for Gotham and later (v13.0+). If you're using an older version of Kodi, it's possible the problem won't get fixed.
This currently only affects the scraping of episode details though (so probably not your issue either way), but it'll only get worse as I update to use the newer methods more.
(IMMINENT UPDATE WARNING!)
Reply
Thanks for the quick answer!
I'm running Helix 14.2

Here, i activated the log then set MOD as scaper, default settings this time
Kodi log

This time only Inuyasha was found, but not One Piece Confused
Reply
Definitely something wonky going on there. Not quite sure what, though.

First step, go to the cache (C:\Users\Kodi\AppData\Roaming\Kodi\cache\scrapers\metadata.tvshows.anidb.net.mod) and look for the animetitles.xml - it should be about 3.64MB in size.
My first thought is that it's corrupt in some way - One Piece and Inuyasha have relatively low ID numbers, so perhaps the file got truncated at some point after their listings, so if it's smaller, delete it and retry.

If it's not smaller... Delete it anyway and retry. I haven't got a lot of ideas currently for what else it could be.
Reply
animetitles.xml is 162KB !
Animelist is 974KB, is that right?

Anyway I deleted animetitles.xml and run again, now its size is 3.64MB

Now all of my animes are shown just right.
Thank you man, I owe you big time!
Reply
couple show updates, hopefully ok to post here. (would have sent a PM, but it wouldn't let me yet)

Ghost in the shell: Arise has been moved from Ghost in the shell: SAC to Ghost in the shell: Arise Alternative Architecture
Code:
<anime anidbid="9658" tvdbid="73749" defaulttvdbseason="0" episodeoffset="" tmdbid="" imdbid="">
    <name>Koukaku Kidoutai Arise: Ghost in the Shell</name>
    <mapping-list>
      <mapping anidbseason="0" tvdbseason="0">;1-0;</mapping>
      <mapping anidbseason="1" tvdbseason="0">;1-60;2-61;3-62;4-63;</mapping>
    </mapping-list>
  </anime>

becomes
Code:
<anime anidbid="9658" tvdbid="293491" defaulttvdbseason="0" episodeoffset="" tmdbid="" imdbid="">
    <name>Koukaku Kidoutai Arise: Ghost in the Shell</name>
    <mapping-list>
      <mapping anidbseason="1" tvdbseason="0">;1-2;2-3;3-4;4-5;</mapping>
    </mapping-list>
  </anime>

Fairy Tail (2014) spans 2 seasons on tvdb now. season 5 and 6. currently from episode 53 on it is not returning any metadata. (at least on my system)

Fairy Tail Zero [a11779] matches tvdb114801 season 7.

hope this helps, keep up the great work, thank you
Reply
  •   
  • 1
  • 46
  • 47
  • 48(current)
  • 49
  • 50
  • 70
  •   



Logout Mark Read Team Forum Stats Members Help
[MOD] AniDB.net scrapers for TV shows and Movies8
This forum uses Lukasz Tkacz MyBB addons.