Jump to content

Anime: AniDB not working


Recommended Posts

Posted

Hi,

 

it seems that the AniDB provider is currently broken. I stumbled upon this because the Anime plugin was not setting the title to "Romanji" or any other setting i choose. 

 

I found some errors relating to this in my logfiles.

2017-07-16 00:02:17.5359 Error App: Error in AniDB
	*** Error Report ***
	Version: 3.2.25.0
	Command line: /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe
	Operating system: Unix 4.3.3.3
	64-Bit OS: True
	64-Bit Process: True
	Mono: 5.0.0 (Stable 5.0.0.100/9667aa6 Wed Jul 12 17:00:30 UTC 2017)
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /usr/lib/emby-server
	System.MissingMethodException: Method 'MediaBrowser.Controller.Entities.BaseItem.get_VoteCount' not found.
	  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at MediaBrowser.Plugins.Anime.Providers.AniDB.Metadata.AniDbSeasonProvider.GetMetadata (MediaBrowser.Controller.Providers.SeasonInfo info, System.Threading.CancellationToken cancellationToken) [0x00033] in <8f519ae28798400abedea2f7e53f83d1>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<ExecuteRemoteProviders>d__25[TItemType,TIdType].MoveNext () [0x000b8] in <f5d6ca26be42431ab2d0368ca0afebfe>:0 
	System.MissingMethodException
	  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at MediaBrowser.Plugins.Anime.Providers.AniDB.Metadata.AniDbSeasonProvider.GetMetadata (MediaBrowser.Controller.Providers.SeasonInfo info, System.Threading.CancellationToken cancellationToken) [0x00033] in <8f519ae28798400abedea2f7e53f83d1>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<ExecuteRemoteProviders>d__25[TItemType,TIdType].MoveNext () [0x000b8] in <f5d6ca26be42431ab2d0368ca0afebfe>:0 
	
2017-07-16 00:02:17.6077 Error App: Error in AniDB
	*** Error Report ***
	Version: 3.2.25.0
	Command line: /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe
	Operating system: Unix 4.3.3.3
	64-Bit OS: True
	64-Bit Process: True
	Mono: 5.0.0 (Stable 5.0.0.100/9667aa6 Wed Jul 12 17:00:30 UTC 2017)
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /usr/lib/emby-server
	System.MissingMethodException: Method 'MediaBrowser.Controller.Entities.BaseItem.set_VoteCount' not found.
	  at MediaBrowser.Plugins.Anime.Providers.AniDB.Metadata.AniDbSeriesProvider.FetchSeriesInfo (MediaBrowser.Controller.Providers.MetadataResult`1[T] result, System.String seriesDataPath, System.String preferredMetadataLangauge) [0x002ff] in <8f519ae28798400abedea2f7e53f83d1>:0 
	  at MediaBrowser.Plugins.Anime.Providers.AniDB.Metadata.AniDbSeriesProvider+<GetMetadata>d__21.MoveNext () [0x001a8] in <8f519ae28798400abedea2f7e53f83d1>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<ExecuteRemoteProviders>d__25[TItemType,TIdType].MoveNext () [0x0012a] in <f5d6ca26be42431ab2d0368ca0afebfe>:0 
	System.MissingMethodException
	  at MediaBrowser.Plugins.Anime.Providers.AniDB.Metadata.AniDbSeriesProvider.FetchSeriesInfo (MediaBrowser.Controller.Providers.MetadataResult`1[T] result, System.String seriesDataPath, System.String preferredMetadataLangauge) [0x002ff] in <8f519ae28798400abedea2f7e53f83d1>:0 
	  at MediaBrowser.Plugins.Anime.Providers.AniDB.Metadata.AniDbSeriesProvider+<GetMetadata>d__21.MoveNext () [0x001a8] in <8f519ae28798400abedea2f7e53f83d1>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <73ee1b14c2fa4d61b481096ff3d8d6d7>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<ExecuteRemoteProviders>d__25[TItemType,TIdType].MoveNext () [0x0012a] in <f5d6ca26be42431ab2d0368ca0afebfe>:0 

From what I can tell it looks like get_VoteCount and set_VoteCount are now longer available in that function/class.

I'd fix it myself since it seems to be a fairly simple problem but my C# knowledge is basically non existent  :huh: and I currently don't have the time read up on C# and Emby plugin development.

 

  • Like 1
PurposelyCryptic
Posted

The Anime Plugin broke (again) with the release of Emby Server Version 3.2.20.0. Version 3.2.19.0 still works  - which is what I'm currently running, due to my library consisting mostly of anime - but the Trakt plugin has developed issues there. I haven't tried a newer release since, so I don't know if anything has changed, but I'm guessing no, since it was likely an upgrade to the rest of Emby that broke compatibility.


 


As there is, to my knowledge, no dev working on/maintaining it, it has effectively been held together for this past year (Or is it years now?) through a combination of duct-tape, patch-work and the collective prayers of Emby-using anime fans; Luke has been the one doing most (all?) of the duct-tape/MacGyver repairs up until now, but he is in the running for World's Busiest Man Awrad working on the rest of Emby, and can't realistically take on the additional load from adopting the plugin. I can't thank him enough as is.


 


I've tried my hands at it several times, but, like the OP, my C# knowledge is sadly lacking.


 


Even before the changes in 3.2.20.0 broke its back, there were a variety of issues:


 


  • Even when set as highest priority Metadata downloader for series, Emby would not use it when new series were added - It skipped to the next in line, which for me is TVDB. When manually refreshing the series after it was successfully added, however (with TVDB/other metadata), the Anime plugin would properly grab the series metadata, overwriting that which was initially fetched, making this issue more of an inconvenience than a showstopper.
  • The plugin would not fetch series' genres/tags. This has been an issue ever since AniDB went through a major update back in September 2014, in which the entire category/tag system was redesigned, categories merged into tags, and the previously universal tags divided into series/character/episode tags (See here for details).
    • This should be a relatively simple fix, since the same information in the same format was still in the data the plugin was fetching, just labeled differently so the plugin wasn't seeing it. I was actually looking into it, to see if I was capable of fixing it myself, but then Emby was updated to 3.2.20.0, and the plugin stopped working entirely, so I ended up saying "screw it".

  • Seemingly at random, series will have their metadata replaced with that from TheTVDB, even with the "Automatically refresh metadata from the internet" option set to 'Never'. This is particularly infuriating as AniDB default series names are in Romaji, leading to random series suddenly being renamed to whatever the English name is, making them painfully hard to find in a large library after they "disappear". I've never been able to determine what triggers this, and usually only notice when a series has seemingly disappeared, or I come across a series with an English name while browsing.
  • I have never seen any indication of the AniList fetcher working, ever. I don't even know if it actually exists in the code, or is just a placeholder label for a feature the original dev had planned to someday implement.
  • When the metadata for a currently airing series is fetched, the end date value is set to 12/31/1969, likely due to that date being used as an internal placeholder on AniDB. Recently I had one series pull 01/01/1970 instead. It only really becomes an issue when a recently completed series is refreshed using the "Search for Missing Metadata" parameter, resulting in a series end date from decades prior to the start date being displayed.
  • There is unfinished code in the repo that looks like the original dev was trying to create a system for linking anime sequel series and long-running series to the relatively arbitrary seasons TheTVDB has organized them into, which would have allowed for keeping them organized in their original format (no seasons), while still getting metadata from TheTVDB. Shoko (Formerly Japanese Media Manager) has a similar system.

Hopefully, should a hero emerge and adopt the Anime Plugin, these random observations will help somehow. I really wish I could do it myself, but at the rate I'm learning C#, it would take years.


Posted

Hi guys, i will have a look at it. But before I'm developing an Emby plugin for Calibre server sooo maybe in September i can try to fix this plugin. ;)

Posted

Awesome, sounds great !

Posted

Hi guys, i will have a look at it. But before I'm developing an Emby plugin for Calibre server sooo maybe in September i can try to fix this plugin. ;)

 

A lot of people (myself included) would surly appreciate this. Hope the development on your Calibre plugin goes smoothly B)

Posted

A lot of people (myself included) would surly appreciate this. Hope the development on your Calibre plugin goes smoothly B)

I hope so too  :D

  • 2 months later...
  • 5 months later...
Posted

This should help users of the anime plugin to avoid having it mess with non-anime series in your library:

 

https://emby.media/community/index.php?/topic/57274-3317-metadata-settings-per-library

 

Thanks.

 

Thanks for the heads up Luke!

 

I recently switched back to Emby from Plex because I saw the Anime Plugin had been updated a few times and wanted to check if my initial issue had been resolved. I'm currently running Emby 3.3.1.0 + Anime 1.2.5.0 and I'm happy to say everything works a lot better now. Detection (AniDB etc. ) works fairly decent and naming (Romanji) is also working.

 

However I'll probably won't be updating very frequently out of fear things will start breaking again.

The reason I switched to Plex was because the Emby android app became incompatible with the old Emby server version I was running at the time and thus made the whole thing unusable. Here's hoping that won't happen again.

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...