2018-01-18, 18:30
Seeing as this is the only anidb scraper i could find anywhere. Any reason why this is not in the official repository?
(2013-01-26, 23:58)ZERO <ibis> Wrote: Feature suggestion.
To aid in preforming a full db update from scratch without needing any additional human input I propose the detection of a .txt file or something that can hard link a folder to a particular series.
For example a series like K instead of just relying on the title of the folder the scrapper can look for a file called anidb.txt and read the first line for a9043
The scrapper would then know that the data in this folder is for a9043 making scrapping 100% successful at finding the correct series.
Is there any way to implement such a feature where as we would have the "adi" declared from our file system directly as to ensure that the scrapper always gets it right 100% of the time?
(2013-01-27, 00:09)scudlee Wrote: This is already possible. Just create a file called tvshow.nfo (exactly that, don't replace "tvshow" with the title of the show) and place in it "aid=9043". Technically, you should include the entire URL to the page on AniDB.net, but only the "aid=..." part is searched for. That will short-cut the title search and jump straight to getting the details for that show, regardless of the folder name.
Check the wiki for details.
(2013-01-27, 01:57)ZERO <ibis> Wrote: Cool, I will try that method in the future
aid=13259
19:23:44.031 T:15272 DEBUG: VideoInfoScanner: Found matching URL NFO file: smb://terra3-vault/anime/(active)/Darling in the FranXX/tvshow.nfo
19:23:44.031 T:15272 DEBUG: VideoInfoScanner: Fetching url 'http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=13259' using AniDB.net [MOD] scraper (content: 'tvshows')
19:23:44.031 T:14280 DEBUG: Thread VideoInfoDownloader start, auto delete: false
19:23:44.031 T:14280 DEBUG: ADDON::CScraper::GetVideoDetails: Reading movie 'http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=13259' using AniDB.net [MOD] scraper (file: 'C:\Users\<edited>\AppData\Roaming\Kodi\addons\metadata.tvshows.anidb.net.mod', content: 'tvshows', version: '2.4.0')
19:23:44.032 T:14280 DEBUG: scraper: GetDetails returned <details><url function="GetPersonalAnimeMapping" cache="pers-anime-list.xml">https://<editedsite>/anidb/pers-anime-list.xml</url><url function="LoadAnimeMapping" cache="anime-list.xml">https://raw.github.com/ScudLee/anime-lists/master/anime-list.xml</url><chain function="GetIDByIDChain"></chain><chain function="GetTitleByIDChain"></chain><chain function="GetOriginalTitleByIDChain"></chain><chain function="GetStartDateByIDChain"></chain><chain function="GetRatingByIDChain"></chain><chain function="GetGenresByIDChain"></chain><chain function="GetPlotByIDChain"></chain><chain function="GetCastByIDChain"></chain><chain function="GetWritersByIDChain"></chain><chain function="GetDirectorsByIDChain"></chain><chain function="GetStudiosByIDChain"></chain><chain function="GetArtworkByIDChain"></chain><chain function="GetTVArtworkByIDChain"></chain><episodeguide><url gzip="yes" cache=".xml">http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=</url></episodeguide></details>
19:23:44.032 T:14280 DEBUG: scraper: GetPersonalAnimeMapping returned <details></details>
19:23:44.040 T:14280 DEBUG: scraper: LoadAnimeMapping returned <details><url function="PrepareTVDBSearch" cache=".xml">&</url></details>
19:23:44.040 T:14280 DEBUG: scraper: PrepareTVDBSearch returned <details><url function="CheckTVDBResults" cache="tvdb-s-.xml">http://www.thetvdb.com/api/GetSeries.php?seriesname=</url></details>
19:23:44.041 T:14280 DEBUG: scraper: CheckTVDBResults returned <details><chain function="TVDBSearchLoop">&</chain></details>
19:23:44.041 T:14280 DEBUG: scraper: TVDBSearchLoop returned <details></details>
19:23:44.041 T:14280 DEBUG: scraper: GetIDByIDChain returned <details><id></id></details>
19:23:44.041 T:14280 DEBUG: scraper: GetTitleByIDChain returned <details><url function="ParseTitle" gzip="yes" cache=".xml">http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=</url></details>
19:23:44.041 T:14280 DEBUG: scraper: ParseTitle returned <details></details>
19:23:44.042 T:14280 DEBUG: scraper: GetOriginalTitleByIDChain returned <details><url function="ParseOriginalTitle" gzip="yes" cache=".xml">http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=</url></details>
19:23:44.042 T:14280 DEBUG: scraper: ParseOriginalTitle returned <details></details>
19:23:44.042 T:14280 DEBUG: scraper: GetStartDateByIDChain returned <details><url function="ParseStartDate" gzip="yes" cache=".xml">http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=</url></details>
19:23:44.042 T:14280 DEBUG: scraper: ParseStartDate returned <details></details>
19:23:44.042 T:14280 DEBUG: scraper: GetRatingByIDChain returned <details><url function="ParseRating" gzip="yes" cache=".xml">http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=</url></details>
19:23:44.043 T:14280 DEBUG: scraper: ParseRating returned <details></details>
19:23:44.043 T:14280 DEBUG: scraper: GetGenresByIDChain returned <details><url function="ParseGenres" gzip="yes" cache=".xml">http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=</url></details>
19:23:44.045 T:14280 DEBUG: could not parse input XML
19:23:44.045 T:14280 DEBUG: XSLT: xslt transformation failed
19:23:44.045 T:14280 DEBUG: could not parse input XML
19:23:44.045 T:14280 DEBUG: XSLT: xslt transformation failed
xml:<?xml version="1.0" encoding="utf-8"?>
<anime-list>
<anime anidbid="13259" tvdbid="337017" defaulttvdbseason="1">
<name>Darling in the FranXX</name>
</anime>
</anime-list>
22:26:34.215 T:4692 NOTICE: Starting Kodi (17.4 Git:20170822-7fc6da0). Platform: Windows NT x86 32-bit
22:26:34.215 T:4692 NOTICE: Using Release Kodi x32 build
22:26:34.215 T:4692 NOTICE: Kodi compiled Aug 22 2017 by MSVC 190024215 for Windows NT x86 32-bit version 10.0 (0x0A000000)
22:26:34.215 T:4692 NOTICE: Running on Windows 10, kernel: Windows NT x86 64-bit version 10.0
...
22:34:47.974 T:4716 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanStarted
22:34:47.980 T:14488 DEBUG: VideoInfoScanner: Scanning dir 'F:\Videos\TV Shows\Yuru Camp\' as not in the database
22:34:47.981 T:14488 DEBUG: VideoInfoScanner: Found episode match F:\Videos\TV Shows\Yuru Camp\Yuru Camp - 01 - Mount Fuji and Curry Noodles [HorribleSubs][www][1280x720][h264][D1ABFBC2].mkv (s1e1) [ - ()(\d+)((?:-\d+)*)(?:v\d+)? - [^\\/]*$]
22:34:47.981 T:14488 DEBUG: VideoInfoScanner: Found episode match F:\Videos\TV Shows\Yuru Camp\Yuru Camp - 02 - Welcome to the Outdoor Activities Club! [HorribleSubs][www][1280x720][h264][41660B74].mkv (s1e2) [ - ()(\d+)((?:-\d+)*)(?:v\d+)? - [^\\/]*$]
22:34:47.981 T:14488 DEBUG: VideoInfoScanner: Found episode match F:\Videos\TV Shows\Yuru Camp\Yuru Camp - 03 - Mount Fuji and Relaxed Hot Pot Camp [HorribleSubs][www][1280x720][h264][539F4086].mkv (s1e3) [ - ()(\d+)((?:-\d+)*)(?:v\d+)? - [^\\/]*$]
22:34:47.983 T:14488 DEBUG: CVideoDatabase::GetEpisodeId (F:\Videos\TV Shows\Yuru Camp\Yuru Camp - 01 - Mount Fuji and Curry Noodles [HorribleSubs][www][1280x720][h264][D1ABFBC2].mkv), query = select idEpisode from episode where idFile=266
22:34:47.983 T:14488 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'F:\Videos\TV Shows\Yuru Camp\Yuru Camp - 01 - Mount Fuji and Curry Noodles [HorribleSubs][www][1280x720][h264][D1ABFBC2].mkv'
22:34:47.983 T:14488 DEBUG: ADDON::CScraper::GetEpisodeList: Searching 'http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid=' using AniDB.net [MOD] scraper (file: 'C:\Users\kuena\AppData\Roaming\Kodi\addons\metadata.tvshows.anidb.net.mod', content: 'tvshows', version: '2.4.0')
22:34:47.993 T:14488 DEBUG: CurlFile::Open(119AF118) http://api.anidb.net:9001/httpapi?reques...over=1&aid=
22:34:47.993 T:14488 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://api.anidb.net
22:34:47.998 T:13880 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: VideoLibrary.OnScanStarted - data: null
22:34:48.101 T:14488 DEBUG: CScraperUrl::Get: Using "UTF-8" charset for XML "http://api.anidb.net:9001/httpapi?request=anime&client=xbmcscrap&clientver=1&protover=1&aid="
22:34:48.104 T:14488 DEBUG: scraper: GetEpisodeList returned <episodeguide><chain function="StartDelayLoop">&</chain></episodeguide>
22:34:48.105 T:14488 DEBUG: scraper: StartDelayLoop returned <details><chain function="DelayLoop">&</chain></details>
22:34:48.105 T:14488 DEBUG: scraper: DelayLoop returned <details><chain function="DelayLoop">&</chain></details>
22:34:48.106 T:14488 DEBUG: scraper: DelayLoop returned <details></details>
22:34:48.106 T:14488 WARNING: No information found for item 'F:\Videos\TV Shows\Yuru Camp\', it won't be added to the library.
22:34:48.107 T:14488 DEBUG: VideoInfoScanner: No (new) information was found in dir F:\Videos\TV Shows\Yuru Camp\
22:34:48.131 T:14488 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
22:34:48.131 T:4716 DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc
22:34:48.131 T:4716 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanFinished
22:34:47.983 T:14488 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'F:\Videos\TV Shows\Yuru Camp\Yuru Camp - 01 - Mount Fuji and Curry Noodles [HorribleSubs][www][1280x720][h264][D1ABFBC2].mkv']
log:23:02:55.515 T:1660801792 DEBUG: VideoInfoScanner: Scanning dir '/mnt/hd/Anime TV Shows/Cowboy Bebop/' as not in the database
(...)
23:02:55.554 T:1660801792 DEBUG: VideoInfoScanner: Found episode match /mnt/hd/Anime TV Shows/Cowboy Bebop/Cowboy Bebop - S01E26 - The Real Folk Blues (Part II) [480p x264 AAC 2ch].mkv (s1e26) [s([0-9]+)[ ._x-]*e([0-9]+(??:[a-i]|\.[1-9])(?![0-9]))?)([^\\/]*)$]
23:02:55.569 T:1660801792 DEBUG: VideoInfoScanner: No NFO file found. Using title search for '/mnt/hd/Anime TV Shows/Cowboy Bebop/Cowboy Bebop - S01E01 - Asteroid Blues [480p x264 AAC 2ch].mkv'
23:02:55.569 T:1660801792 DEBUG: GetEpisodeList: Searching 'http://www.thetvdb.com/api/1D62F2F90030C444/series/76885/all/en.zip' using AniDB.net [MOD] scraper (file: '/root/.kodi/addons/metadata.tvshows.anidb.net.mod', content: 'tvshows', version: '2.4.0')
23:02:55.615 T:1660801792 DEBUG: scraper: GetEpisodeList returned <episodeguide><chain function="StartDelayLoop">&</chain></episodeguide>
23:02:55.616 T:1660801792 DEBUG: scraper: StartDelayLoop returned <details><chain function="DelayLoop">&</chain></details>
23:02:55.617 T:1660801792 DEBUG: scraper: DelayLoop returned <details><chain function="DelayLoop">&</chain></details>
23:02:55.618 T:1660801792 DEBUG: scraper: DelayLoop returned <details></details>
23:02:55.619 T:1660801792 WARNING: No information found for item '/mnt/hd/Anime TV Shows/Cowboy Bebop/', it won't be added to the library.