2014-09-15, 03:09
Hi all, I'm having a little trouble getting the CrunchyRoll plugin to scan in episodes. Other playon sources work correctly, but i can't get it to scan in crunchyroll either through playon or just through the XBMC Crunchyroll plugin (playing files from either source directly from XBMC works correctly). When i use the following search for the Crunchyroll plugin:
It detects the correct episodes to pull (only Akame ga Kill is pulled), but the episodes are parsed incorrectly (snippet from the debug log follows):
So it looks like the episodes are parsing incorrectly, since CrunchyRoll's plugin shows episodes as "anime/alphabetical/series/episode <episodenumber> - <title>". I'm assuming i need a custom regex or parser for crunchyroll, but i'm lost in that regard. Can anyone give me a hand?
Code:
<CrunchyRoll path="plugin://plugin.video.crunchyroll-takeout" recursive="false">
<subfolder name="Anime/Alphabetical" type="episodes" recursive="true">
<filter>
<contains>Akame Ga Kill!</contains>
</filter>
</subfolder>
</CrunchyRoll>
It detects the correct episodes to pull (only Akame ga Kill is pulled), but the episodes are parsed incorrectly (snippet from the debug log follows):
Code:
9/14/2014 09:05:42 PM DEBUG Archiving Next: CrunchyRoll/Anime/Alphabetical/Akame ga Kill!/Episode 3 - Kill Your Cares
09/14/2014 09:05:42 PM DEBUG Archiving Attempting default parsing of TV Show...
09/14/2014 09:05:42 PM DEBUG Archiving Found series "Episode 3", and title "Kill Your Cares", from file label "Episode 3 - Kill Your Cares". Will use this info to look up on the TVDB.com
09/14/2014 09:05:42 PM DEBUG Archiving Checking if this video has already been looked up on TVDB based on original path of: CrunchyRoll/Anime/Alphabetical/Akame ga Kill!/Episode 3 - Kill Your Cares
09/14/2014 09:05:42 PM DEBUG Archiving SQL = SELECT original_path, dropbox_location, video_type, title, series, artist, episode_number, season_number, year, is_tvdb_lookup FROM ArchivedFiles WHERE original_path = ?
09/14/2014 09:05:42 PM DEBUG Archiving Set STRING param 1 to CrunchyRoll-zXz-Anime-zXz-Alphabetical-zXz-Akame ga Kill!-zXz-Episode 3 - Kill Your Cares
09/14/2014 09:05:42 PM WARN Archiving No video found in the database using SQL: SELECT original_path, dropbox_location, video_type, title, series, artist, episode_number, season_number, year, is_tvdb_lookup FROM ArchivedFiles WHERE original_path = ?
09/14/2014 09:05:42 PM INFO Archiving This video has not been succesfully looked up on the TVDB before, will attempt lookup now.
09/14/2014 09:05:42 PM DEBUG Archiving Attempting to get series IDs (max of 3) based on seriesname of 'Episode 3', url = http://www.thetvdb.com/api/GetSeries.php?seriesname=Episode+3
09/14/2014 09:05:42 PM DEBUG Archiving Using XML from cached file: "Z:\xbmc-mylibrary\XBMC.MyLibrary-1.4.3\XMLCache\www.thetvdb.com-api-GetSeries.phpseriesname=Episode+3.xml" for URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=Episode+3
09/14/2014 09:05:42 PM WARN Archiving Ending lookup. No series could be found by querying TheTVDB: http://www.thetvdb.com/api/GetSeries.php?seriesname=Episode+3. Will try to archive this video again later.
09/14/2014 09:05:42 PM INFO Archiving TV Episode will fail to be archived because manual archiving is disabled and the meta-data cannot be parsed or found on the TheTVDB.com: CrunchyRoll/Anime/Alphabetical/Akame ga Kill!/Episode 3 - Kill Your Cares
09/14/2014 09:05:42 PM WARN Archiving Cannot be archived: series=Episode 3, title=Kill Your Cares, season=-1, episode=-1
CrunchyRoll/Anime/Alphabetical/Akame ga Kill!/Episode 3 - Kill Your Cares
So it looks like the episodes are parsing incorrectly, since CrunchyRoll's plugin shows episodes as "anime/alphabetical/series/episode <episodenumber> - <title>". I'm assuming i need a custom regex or parser for crunchyroll, but i'm lost in that regard. Can anyone give me a hand?