Comments (6)
I believe I have got it working, however it will not actually use the Anidb ID stored, as Jellyfin stores the first season's ID (as you have found out in your original post) only.
However, it will fallback to using the TVDB ID if available which handles seasons a bit better in our situation.
As you can see from my logs, it was able to successfully detect the shows correct season
[20:45:05] [INF] [54] jellyfin_ani_sync.UpdateProviderStatus: Anime already has AniDb ID; no need to look it up
[20:45:05] [WRN] [54] jellyfin_ani_sync.UpdateProviderStatus: Anime not found in anime list XML; relying on other metadata providers if available...
[20:45:05] [INF] [54] jellyfin_ani_sync.UpdateProviderStatus: Anime reference found in anime list XML
[20:45:05] [INF] [54] jellyfin_ani_sync.UpdateProviderStatus: Retrieving provider IDs from offline database...
[20:45:06] [INF] [59] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs
[20:45:06] [INF] [59] jellyfin_ani_sync.UpdateProviderStatus: Using provider AniList...
[20:45:06] [INF] [59] jellyfin_ani_sync.UpdateProviderStatus: (AniList) Series ({{Season 2 of show}}) not found in plan to watch list, checking completed list..
Feel like I need to change the order of the provider compatibility wiki page after our recent findings.
The fix is out on master if you want to use the plugin with the fixes immediately, but it will be available in the next release if you have the plugin installed via the manifest.
If you are still having problems, feel free to open a new issue or re-open this one.
from jellyfin-ani-sync.
Hmm this was the main reason I released the hotfix, could you please confirm you have it installed?
jellyfin-ani-sync/UpdateProviderStatus.cs
Line 87 in d88ea1e
This specific line should mean that other metadata providers are used if the season is not the first.
from jellyfin-ani-sync.
I just reinstalled 2.0.1.0 over my workaround (commenting out the continue
s in the switch) and the problem still occurs.
[2022-06-14 18:26:05.108 +00:00] [INF] [15] jellyfin_ani_sync.ServerEntry: (AniList) Series (Love Live! Nijigasaki High School Idol Club) found on completed list, setting as re-watching
[2022-06-14 18:26:05.115 +00:00] [INF] [15] jellyfin_ani_sync.ServerEntry: (AniList) Series (Love Live! Nijigasaki High School Idol Club) has already been watched, marking anime as re-watching; progress of 11
I don't go into that block of code, though, as that line 87 shows, but I go in the else if
as episode.Series.ProviderIds.ContainsKey("Anidb")
evaluates to true
, so providerIds
is set, thus providerIds.Anilist != 0
will evaluate to true
while not being the right ID.
from jellyfin-ani-sync.
I am testing this and it seems to work for me, and I have the same provider IDs as you. Got to work out what is different in your situation.
I presume you are debugging since you are following the execution path, are you able to see what the values are at this location
jellyfin-ani-sync/Helpers/AnimeListHelpers.cs
Lines 30 to 31 in d88ea1e
as for me that contains a single value in the list, which is the 2nd season.
from jellyfin-ani-sync.
I don't even go into that path either, since I have an AniDB ID
[2022-06-14 21:20:02.860 +00:00] [INF] [13] jellyfin_ani_sync.UpdateProviderStatus: season: 2, episode: 11, providers: 'Tvdb': '388317', 'AniList': '113970', 'AniDB': '15313', 'Tmdb': '103511', 'Imdb': 'tt12792684'
[2022-06-14 21:20:02.860 +00:00] [INF] [13] jellyfin_ani_sync.UpdateProviderStatus: Anime already has AniDb ID; no need to look it up
[2022-06-14 21:20:02.860 +00:00] [INF] [13] jellyfin_ani_sync.UpdateProviderStatus: 15313
I added the third log line just to be sure of the execution path and that if
is executed.
jellyfin-ani-sync/Helpers/AnimeListHelpers.cs
Lines 22 to 25 in d88ea1e
from jellyfin-ani-sync.
Ah I see what needs to be changed, we need to apply the season handling to the Anidb
if statement.
Thanks for pointing it out and I'll keep you updated on the progress.
from jellyfin-ani-sync.
Related Issues (20)
- scrobbling anime with the same english title as romaji doesn't work HOT 4
- Doesn't work behind tunnel HOT 4
- AniList to TvDB or TheXem DB support HOT 32
- Cannot select provider HOT 9
- Doesn't sync on Android TV. HOT 6
- 2-way sync maybe possible now? HOT 15
- Set a sane default for the list save location HOT 5
- List save location not working? HOT 12
- Getting Unauthorized URL GET /AniSync/authCallback error HOT 6
- Plugin seems to change "Ticking" functionality in Jellyfin HOT 4
- "Provider" dropdown menu empty in Jellyfin 10.8.1 HOT 4
- "Could not update anime list" error? HOT 3
- Manual sync to AniList not working HOT 17
- jellyfin-ani-sync.xml <callbackUrl> with an unwanted space ?
- Made in Abyss: The Golden City of the Scorching Sun not tracking HOT 1
- Anilist Authentication Fails HOT 3
- Status: NotSupported (Maybe it's me who doesn't understand) HOT 4
- AniDB Support HOT 2
- Problem logging into AniList account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-ani-sync.