Giter VIP home page Giter VIP logo

jellyfin-plugin-anilist's Introduction

Jellyfin AniList Plugin

Part of the Jellyfin Project

Plugin Banner

GitHub Workflow Status GPLv2 License Current Release

About

This plugin adds the metadata provider for AniList.

Installation

See the official documentation for install instructions.

Build

  1. To build this plugin you will need .Net 5.x.

  2. Build plugin with following command

dotnet publish --configuration Release --output bin
  1. Place the dll-file in the plugins/anilist folder (you might need to create the folders) of your JF install

Releasing

To release the plugin we recommend JPRM that will build and package the plugin. For additional context and for how to add the packaged plugin zip to a plugin manifest see the JPRM documentation for more info.

Contributing

We welcome all contributions and pull requests! If you have a larger feature in mind please open an issue so we can discuss the implementation before you start. In general refer to our contributing guidelines for further information.

Licence

This plugins code and packages are distributed under the GPLv2 License. See LICENSE for more information.

jellyfin-plugin-anilist's People

Contributors

anthonylavado avatar bond-009 avatar crobibero avatar cvium avatar danigta avatar dkanada avatar erayan avatar gavidroselj avatar h1dden-da3m0n avatar hanslehnert avatar hawken93 avatar jellyfin-bot avatar joshuaboniface avatar lukepulverenti avatar mateustoyama avatar matt07211 avatar methbkts avatar mistermcduck avatar mtlott avatar musi13 avatar nielsvanvelzen avatar oddstr13 avatar pikami avatar renovate-bot avatar reynn avatar robertgzr avatar sqlstatement avatar stillloading avatar tomgillen avatar zepx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jellyfin-plugin-anilist's Issues

10.7.6: Scanning with AniList plugin enabled leads to restart loop around 65-80% of scan progress

Describe the bug
During a library scan around 65%-80% it seems Jellyfin suddenly stops what it's doing and begins a restart loop. Using version 10.7.6 on Docker on Ubuntu.

System
OS: Ubuntu
Virtualization: Docker
Clients: Browser
Browser: Opera 78
Jellyfin Version: 10.7.6, stable
Playback: --
Hardware Acceleration: none
Installed Plugins: Tvdb, FanArt, AniDB, AniList, TvDbSharper
Reverse Proxy: NGINX (LinuxServer's SWAG)
Base URL: none
Networking: Bridge
Storage: Cloud via RClone

To Reproduce

  1. Scan all libraries.
  2. Gets to about 65%-80%
  3. Suddenly begins loop

Expected behavior
I expected the scan to go to 100%. Without a restart loop.

Server Logs

today at 8:40:23 PM [20:40:23] [INF] [47] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___01___2011___CAPTAIN.AMERICA.FIRST.AVENGER)
today at 8:40:28 PM [20:40:28] [INF] [54] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___02___2019___CAPTAIN.MARVEL)
today at 8:41:15 PM [20:41:15] [INF] [4] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___05___2008___THE.INCREDIBLE.HULK)
today at 8:42:25 PM [20:42:25] [INF] [52] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___09___2013___THOR.DARK.WORLD)
today at 8:42:46 PM [20:42:46] [INF] [49] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___10___2014___CAPTAIN.AMERICA.WINTER.SOLDIER)
today at 8:43:10 PM [20:43:10] [INF] [54] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___11___2014___GUARDIANS.OF.THE.GALAXY)
today at 8:43:10 PM [20:43:10] [INF] [52] Jellyfin.Plugin.AniList.Providers.AniList.AniListMovieProvider: Start AniList... Searching(MOVIES___MARVEL___12___2017___GUARDIANS.OF.THE.GALAXY.2)
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Jellyfin version: 10.7.6
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CONFIG_DIR, /config]"]
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg", "--webdir=/usr/share/jellyfin/web"]
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Operating system: Linux
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Architecture: X64
today at 8:43:20 PM [20:43:20] [INF] [1] Main: 64-Bit Process: True
today at 8:43:20 PM [20:43:20] [INF] [1] Main: User Interactive: True
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Processor count: 2
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Program data path: /config/data
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
today at 8:43:20 PM [20:43:20] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
today at 8:43:20 PM [20:43:20] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
today at 8:43:20 PM [20:43:20] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:43:20 PM [20:43:20] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
today at 8:43:20 PM [20:43:20] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:43:20 PM [20:43:20] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
today at 8:43:20 PM [20:43:20] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
today at 8:43:21 PM [20:43:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
today at 8:43:21 PM [20:43:21] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniDB_3.0.0.0/Jellyfin.Plugin.AniDB.dll
today at 8:43:21 PM [20:43:21] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniList, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniList_2.0.0.0/Jellyfin.Plugin.AniList.dll
today at 8:43:21 PM [20:43:21] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Fanart, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Fanart_6.0.0.0/Jellyfin.Plugin.Fanart.dll
today at 8:43:21 PM [20:43:21] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly TvDbSharper, Version=3.2.2.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/TvDbSharper.dll
today at 8:43:21 PM [20:43:21] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/Jellyfin.Plugin.Tvdb.dll
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Jellyfin version: 10.7.6
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_DATA_DIR, /config/data]"]
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg", "--webdir=/usr/share/jellyfin/web"]
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Operating system: Linux
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Architecture: X64
today at 8:44:33 PM [20:44:33] [INF] [1] Main: 64-Bit Process: True
today at 8:44:33 PM [20:44:33] [INF] [1] Main: User Interactive: True
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Processor count: 2
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Program data path: /config/data
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
today at 8:44:33 PM [20:44:33] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
today at 8:44:33 PM [20:44:33] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:44:33 PM [20:44:33] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
today at 8:44:33 PM [20:44:33] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:44:33 PM [20:44:33] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
today at 8:44:33 PM [20:44:33] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniDB_3.0.0.0/Jellyfin.Plugin.AniDB.dll
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniList, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniList_2.0.0.0/Jellyfin.Plugin.AniList.dll
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Fanart, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Fanart_6.0.0.0/Jellyfin.Plugin.Fanart.dll
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly TvDbSharper, Version=3.2.2.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/TvDbSharper.dll
today at 8:44:33 PM [20:44:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/Jellyfin.Plugin.Tvdb.dll
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Jellyfin version: 10.7.6
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]"]
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg", "--webdir=/usr/share/jellyfin/web"]
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Operating system: Linux
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Architecture: X64
today at 8:45:07 PM [20:45:07] [INF] [1] Main: 64-Bit Process: True
today at 8:45:07 PM [20:45:07] [INF] [1] Main: User Interactive: True
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Processor count: 2
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Program data path: /config/data
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
today at 8:45:07 PM [20:45:07] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
today at 8:45:07 PM [20:45:07] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:45:07 PM [20:45:07] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
today at 8:45:07 PM [20:45:07] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:45:07 PM [20:45:07] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
today at 8:45:07 PM [20:45:07] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniDB_3.0.0.0/Jellyfin.Plugin.AniDB.dll
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniList, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniList_2.0.0.0/Jellyfin.Plugin.AniList.dll
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Fanart, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Fanart_6.0.0.0/Jellyfin.Plugin.Fanart.dll
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly TvDbSharper, Version=3.2.2.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/TvDbSharper.dll
today at 8:45:07 PM [20:45:07] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/Jellyfin.Plugin.Tvdb.dll
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Jellyfin version: 10.7.6
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_DATA_DIR, /config/data]"]
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg", "--webdir=/usr/share/jellyfin/web"]
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Operating system: Linux
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Architecture: X64
today at 8:45:14 PM [20:45:14] [INF] [1] Main: 64-Bit Process: True
today at 8:45:14 PM [20:45:14] [INF] [1] Main: User Interactive: True
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Processor count: 2
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Program data path: /config/data
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
today at 8:45:14 PM [20:45:14] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
today at 8:45:14 PM [20:45:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:45:14 PM [20:45:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
today at 8:45:14 PM [20:45:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
today at 8:45:14 PM [20:45:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
today at 8:45:14 PM [20:45:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniDB_3.0.0.0/Jellyfin.Plugin.AniDB.dll
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniList, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniList_2.0.0.0/Jellyfin.Plugin.AniList.dll
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Fanart, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Fanart_6.0.0.0/Jellyfin.Plugin.Fanart.dll
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly TvDbSharper, Version=3.2.2.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/TvDbSharper.dll
today at 8:45:14 PM [20:45:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_6.0.0.0/Jellyfin.Plugin.Tvdb.dll

Additional context
The logs before the restart loop aren't always that particular job. This has happened while scanning something in my TV Shows library, something in my Anime library, etc. However, it does explicitly mention that it is scanning something using AniList plugin right before the loop begins.

How Issue was Resolved
I did a fresh install without either AniDB or AniList. I realize this could mean the culprit was either AniDB or AniList, but because of the preceding logs right before the loop, I'm led to believe it was AniList.

"My Media" Home Screen is using banner images instead of backdrop

First, I'm a novice to these sort of stuff. This issue persists after reinstalling Jellyfin.

Screenshot 2023-12-18 065223

Whenever I tried to delete and scan for a new one, "My Media" images will be replaced with banner size images. It also happens when creating a new library.

Screenshot 2023-12-20 102618
Screenshot 2023-12-21 210846

Using the "Edit Images" feature is odd.
      Searching for a backdrop returns banner size images
      Searching for a banner return nothing.
      Searching Clearart, Box, Disc ,Logo, Menu, Screenshot, Thumb also returns nothing.
      Only Primary images is consistent.
Recently I noticed the Fanart plugin is recognized but not being used?

Specs: Asustor NAS - running docker
Version: 10.8.13.r01
Plugins: AniDB, AniList, Fanart, Jelly Skin Manager

Anime containing an ampersand are identified as Cowboy Bebop

Every anime containing an ampersand is identified as Cowboy Bebop instead of being correctly identified or being treated as unknown. I assume this must stem from an assumption that folders cannot/won't contain the ampersand character (&). At least from my perspective, this looks like a problem with missing escaping.

This problem happens on Debian Bullseye with the latest Jellyfin. The files are located on a Samba server mounted as a CIFS file system.

Edit: The # character seems to cause the same problem.

Anime movies don't auto-add the anilist ID

When uploading an anime movie it doesn't add the anilist id here. Instead, i have to search for the exact name it already found via other providers in the identify search, have to search for the anilist entry, click that and, well, load the metadata from there.

Anilist id for season

Hello,

Is it possible to choose the id only for the season ?
They don't provide a show id.

Thank you,
Best !

Plugin pulls voice actors for all the languages.

I'd like to find a way to limit which voice actors get pulled to the metadata of a title but I can't find a way to do so, currently when a show matches to an Anilist entry, it pulls every voice actor for a character like this

image

Ideally, it would only pull the very first one, which is the Japanese one. Is there a way to do this?

Version 6 - Plugin disabled on launch

Hi,

I just updated Jellyfin Server from 10.8.10 -> 10.8.12 in order to try out v6 of the plugin.

When on the updated version of Jellyfin Server, there are no issues using v5 of the plugin, and this seems to behave exactly as it has done before.

After booting Jellyfin Server with v6 however, the following appears in the logs.

[2023-11-09 23:53:41.992 +00:00] [ERR] [1] Emby.Server.Implementations.Plugins.PluginManager: Error creating "Jellyfin.Plugin.AniList.Plugin"
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
File name: 'Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|19_0()
   at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
   at System.Reflection.RuntimeConstructorInfo.GetParameters()
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Emby.Server.Implementations.Plugins.PluginManager.CreatePluginInstance(Type type)
[2023-11-09 23:53:42.005 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Plugin "C:\ProgramData\Jellyfin\Server\plugins\AniList_6.0.0.0" has been disabled.

If I change the two dependencies listed in the .csproj file, to both be version 6.0.0 and build the plugin, overwriting the dll in C:\ProgramData\Jellyfin\Server\plugins\AniList_6.0.0.0, the plugin is no longer disabled on the launch of Jellyfin Server.

I then enabled the "Use the Anitomy library to resolve titles" option, and refreshed the metadata for a series, in which case I got the below in the logs...

[2023-11-10 00:01:08.420 +00:00] [ERR] [21] MediaBrowser.Providers.TV.SeriesMetadataService: Error in "AniList"
System.IO.FileNotFoundException: Could not load file or assembly 'AnitomySharp, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AnitomySharp, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null'
   at Jellyfin.Plugin.AniList.Anitomy.AnitomyHelper.ExtractAnimeTitle(String path)
   at Jellyfin.Plugin.AniList.Providers.AniList.AniListSeriesProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

I then did a dotnet publish, and additionaly copied the AnitomySharp.dll file from the output into the C:\ProgramData\Jellyfin\Server\plugins\AniList_6.0.0.0 directory and relaunched Jellyfin Server.

Repeated the previous test, and it looks like the plugin was fully functional this time round. Not too sure what would need to be done to get this working for "the masses", so I'm just opening the issue with my findings instead!

Option to limit the number of cast+crew entries

It would be nice to have an option to limit the number of cast and crew names pulled from the provider.
Many entries on Anilist have an absurd number of actors/staff listed. when all I really want are the several lead character's VAs. Like the TMDB plugin, an option to limit cast to a certain number

Can't get this to work in 10.7.0-rc3

After I build and copy this into the plugins folder I get this output:

jellyfin    | [15:52:31] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly SQLitePCLRaw.nativelibrary, Version=2.0.4.976, Culture=neutral, PublicKeyToken=502ed628492ab262 from /config/plugins/Anilist/SQLitePCLRaw.nativelibrary.dll
jellyfin    | [15:52:31] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Microsoft.Extensions.DependencyModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 from /config/plugins/Anilist/Microsoft.Extensions.DependencyModel.dll
jellyfin    | [15:52:31] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Microsoft.Extensions.Logging, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 from /config/plugins/Anilist/Microsoft.Extensions.Logging.dll
jellyfin    | [15:52:31] [FTL] [1] Main: Error while starting server.
jellyfin    | System.BadImageFormatException: Bad IL format. The format of the file '/config/plugins/Anilist/runtimes/win-arm64/native/e_sqlite3.dll' is invalid.
jellyfin    |    at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
jellyfin    |    at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
jellyfin    |    at System.Reflection.Assembly.LoadFrom(String assemblyFile)
jellyfin    |    at Emby.Server.Implementations.Plugins.PluginManager.LoadAssemblies()+MoveNext()
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.GetComposablePartAssemblies()+MoveNext()
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.GetTypes(IEnumerable`1 assemblies)+MoveNext()
jellyfin    |    at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
jellyfin    |    at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
jellyfin    |    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.DiscoverTypes()
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.Init()
jellyfin    |    at Jellyfin.Server.Program.StartApp(StartupOptions options)
jellyfin    | [15:52:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
jellyfin    | [15:52:31] [INF] [2] Main: Received a SIGTERM signal, shutting down

Running in docker on arch linux, the image is jellyfin/jellyfin:10.7.0-rc3

Deafult Anime Genre not working

The Default Anime Genre is not getting added to Anime series.

image
image

Config:

Plugin
image

Anime library metadata
image
image

I noticed this due to MALsync since it requires "Anime" tag on series to detect it correctly. It was working fine until a few days ago. I believe that was the first time running a "Replace all Metadata" task since updating to 10.7.6 (although since it took me a while to notice, I may be misremembering), so I assume that a Jellyfin update is the cause.

OS: Ubuntu
Version: 10.7.6

Cannot manually set AniList Series Id

This is a bit weird problem, but I'm reasonable certain it's an issue with this plugin. When an ID isn't automatically assigned I cannot manually set the ID (or maybe the automatic detection can't either, and that's why it's empty?)

Anyway I have at least two shows with this issue (but probably quite a lot more as it's a newly imported library and I only did a quick sanity check). These are the AniDB names and exact names of the folders:

  • 100-man no Inochi no Ue ni Ore wa Tatte Iru (2021)
  • Ai Shoujo Pollyanna Story

These shows has anilist ID 127366 and 2554, but neither was detected (AniList ID was empty). When I try to manually set the ID:s the jellyfin webpage hang with the "I'm busy working"-wheel spinning. Nothing happens in the logs, and the ID is never registered on the show. I've tried both from the global metadata editor page and by choosing "Edit metadata" on the series page.

Meanwhile, "Aa! Megami-sama! (2005)" was mistakenly identified as ID 9611 (which is "Aa! Megami-sama! (2011) ", correct ID should be 50). Changing this ID to the correct one could be done without any problems.

Just to test, I tried to set one of the problematic shows to ID 50 as this worked on "Aa! Megami-sama! (2005)". It still didn't work on on this show though...

Jellyfin is version 10.8.1 and the library uses these metadata plugins (in order):

  • AniDB-6.0.0.0
  • AniList-5.0.0.0
  • TheTVDB-8.0.0.0
  • TheMovieDb-10.8.1.0
  • The Open Movie Database-10.8.1.0

Option to not add tags

I use tags for pure for share/not sharing media with others users.

It would be nice to have an option to toggle so that this plugin does not try to populate the tags or an option to add them to genre instead of tags and maybe the otherway around.

Seasons being named with series name instead of "Season N"

When identifying a series using this plugin, the Season is named with the actual name of the series instead of the season number:
image

This isn't so bad until identifying a multi-season show:
image

I think this broke somewhere along the move to 10.7 but I'm too dumb to figure out why

Integrate with AniList user to keep track of consumed content

Would there be an interest in maintaining mutations in this plugin. i.e. the means to authenticate to a user and update their anime list based on content consumed?

This namely refers to the following:

  • Setting the state of the anime to "Started" when the user has finished episode 1.
  • Setting the state of an anime to "Completed" when finished the last episode. (Or finished all episodes.)
  • Incrementing the episode count when an episode has finished.

When a user has finished a piece of media, it will check if an AniList account has connected, and if it knows the AniList ID of the current media. If both are true, it will do the mutation to update the users profile.

This would not add any additional UI elements to Jellyfin, so things like if the user liked or disliked the anime will not be pushed over. Just the watch progress of the anime. (Though if it's feasible to do it from a plugin, it would be nice to introduce new context menu entries to manage things like this.)

More Info:


I'm happy to investigate and PR this, but just had to check if it'd be alright in this plugin or if you'd expect it to be another plugin.

Edit: I've discovered another plugin which achieves this already, but I still think it may be more appropriate in the AniList plugin itself, rather than installing another plugin that has a broader scope.

https://github.com/vosmiic/jellyfin-ani-sync

Can't identify anime by searching name

If I want to identify an anime, I have to manually edit the metadata to include the anilist ID first then refresh metadata. If I click identify and search the name, I get no results from AniList.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.