Coder Social home page Coder Social logo

jellyfin-plugin-anilist's Introduction

Jellyfin

The Free Software Media System


Logo Banner

GPL 2.0 License Current Release Translation Status Azure Builds Docker Pull Count
Donate Submit Feature Requests Chat on Matrix Join our Subreddit Release RSS Feed Master Commits RSS Feed


Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps. Jellyfin is descended from Emby's 3.5.2 release and ported to the .NET Core framework to enable full cross-platform support. There are no strings attached, no premium licenses or features, and no hidden agendas: just a team who want to build something better and work together to achieve it. We welcome anyone who is interested in joining us in our quest!

For further details, please see our documentation page. To receive the latest updates, get help with Jellyfin, and join the community, please visit one of our communication channels. For more information about the project, please see our about page.

Want to get started?
Check out our downloads page or our installation guide, then see our quick start guide. You can also build from source.

Something not working right?
Open an Issue on GitHub.

Want to contribute?
Check out our contributing choose-your-own-adventure to see where you can help, then see our contributing guide and our community standards.

New idea or improvement?
Check out our feature request hub.

Don't see Jellyfin in your language?
Check out our Weblate instance to help translate Jellyfin and its subprojects.

Detailed Translation Status

Jellyfin Server

This repository contains the code for Jellyfin's backend server. Note that this is only one of many projects under the Jellyfin GitHub organization on GitHub. If you want to contribute, you can start by checking out our documentation to see what to work on.

Server Development

These instructions will help you get set up with a local development environment in order to contribute to this repository. Before you start, please be sure to completely read our guidelines on development contributions. Note that this project is supported on all major operating systems except FreeBSD, which is still incompatible.

Prerequisites

Before the project can be built, you must first install the .NET 8.0 SDK on your system.

Instructions to run this project from the command line are included here, but you will also need to install an IDE if you want to debug the server while it is running. Any IDE that supports .NET 6 development will work, but two options are recent versions of Visual Studio (at least 2022) and Visual Studio Code.

ffmpeg will also need to be installed.

Cloning the Repository

After dependencies are installed you will need to clone a local copy of this repository. If you just want to run the server from source you can clone this repository directly, but if you are intending to contribute code changes to the project, you should set up your own fork of the repository. The following example shows how you can clone the repository directly over HTTPS.

git clone https://github.com/jellyfin/jellyfin.git

Installing the Web Client

The server is configured to host the static files required for the web client in addition to serving the backend by default. Before you can run the server, you will need to get a copy of the web client since they are not included in this repository directly.

Note that it is also possible to host the web client separately from the web server with some additional configuration, in which case you can skip this step.

There are three options to get the files for the web client.

  1. Download one of the finished builds from the Azure DevOps pipeline. You can download the build for a specific release by looking at the branches tab of the pipelines page.
  2. Build them from source following the instructions on the jellyfin-web repository
  3. Get the pre-built files from an existing installation of the server. For example, with a Windows server installation the client files are located at C:\Program Files\Jellyfin\Server\jellyfin-web

Running The Server

The following instructions will help you get the project up and running via the command line, or your preferred IDE.

Running With Visual Studio

To run the project with Visual Studio you can open the Solution (.sln) file and then press F5 to run the server.

Running With Visual Studio Code

To run the project with Visual Studio Code you will first need to open the repository directory with Visual Studio Code using the Open Folder... option.

Second, you need to install the recommended extensions for the workspace. Note that extension recommendations are classified as either "Workspace Recommendations" or "Other Recommendations", but only the "Workspace Recommendations" are required.

After the required extensions are installed, you can run the server by pressing F5.

Running From The Command Line

To run the server from the command line you can use the dotnet run command. The example below shows how to do this if you have cloned the repository into a directory named jellyfin (the default directory name) and should work on all operating systems.

cd jellyfin                          # Move into the repository directory
dotnet run --project Jellyfin.Server --webdir /absolute/path/to/jellyfin-web/dist # Run the server startup project

A second option is to build the project and then run the resulting executable file directly. When running the executable directly you can easily add command line options. Add the --help flag to list details on all the supported command line options.

  1. Build the project
dotnet build                       # Build the project
cd Jellyfin.Server/bin/Debug/net8.0 # Change into the build output directory
  1. Execute the build output. On Linux, Mac, etc. use ./jellyfin and on Windows use jellyfin.exe.

Accessing the Hosted Web Client

If the Server is configured to host the Web Client, and the Server is running, the Web Client can be accessed at http://localhost:8096 by default.

API documentation can be viewed at http://localhost:8096/api-docs/swagger/index.html

Running from GH-Codespaces

As Jellyfin will run on a container on a github hosted server, JF needs to handle some things differently.

NOTE: Depending on the selected configuration (if you just click 'create codespace' it will create a default configuration one) it might take 20-30 secounds to load all extensions and prepare the enviorment while vscode is already open. Just give it some time and wait until you see Downloading .NET version(s) 7.0.15~x64 ...... Done! in the output tab.

NOTE: If you want to access the JF instance from outside, like with a WebClient on another PC, remember to set the "ports" in the lower VsCode window to public.

NOTE: When first opening the server instance with any WebUI, you will be send to the login instead of the setup page. Refresh the login page once and you should be redirected to the Setup.

There are two configurations for you to chose from.

Default - Development Jellyfin Server

This creates a container that has everything to run and debug the Jellyfin Media server but does not setup anything else. Each time you create a new container you have to run though the whole setup again. There is also no ffmpeg, webclient or media preloaded. Use the .NET Launch (nowebclient) lunch config to start the server.

Keep in mind that as this has no web client you have to connect to it via an extenal client. This can be just another codespace container running the WebUI. vuejs does not work from the getgo as it does not support the setup steps.

Development Jellyfin Server ffmpeg

this extens the default server with an default installation of ffmpeg6 though the means described here: https://jellyfin.org/docs/general/installation/linux#repository-manual If you want to install a specific ffmpeg version, follow the comments embedded in the .devcontainer/Dev - Server Ffmpeg/install.ffmpeg.sh file.

Use the ghcs .NET Launch (nowebclient, ffmpeg) launch config to run with the jellyfin-ffmpeg enabled.

Running The Tests

This repository also includes unit tests that are used to validate functionality as part of a CI pipeline on Azure. There are several ways to run these tests.

  1. Run tests from the command line using dotnet test
  2. Run tests in Visual Studio using the Test Explorer
  3. Run individual tests in Visual Studio Code using the associated CodeLens annotation

Advanced Configuration

The following sections describe some more advanced scenarios for running the server from source that build upon the standard instructions above.

Hosting The Web Client Separately

It is not necessary to host the frontend web client as part of the backend server. Hosting these two components separately may be useful for frontend developers who would prefer to host the client in a separate webpack development server for a tighter development loop. See the jellyfin-web repo for instructions on how to do this.

To instruct the server not to host the web content, there is a nowebclient configuration flag that must be set. This can specified using the command line switch --nowebclient or the environment variable JELLYFIN_NOWEBCONTENT=true.

Since this is a common scenario, there is also a separate launch profile defined for Visual Studio called Jellyfin.Server (nowebcontent) that can be selected from the 'Start Debugging' dropdown in the main toolbar.

NOTE: The setup wizard can not be run if the web client is hosted separately.


This project is supported by:

DigitalOcean   JetBrains logo

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

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 !

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.

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

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?

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

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.

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

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

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!

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

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.

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

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

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.

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.