-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Only syncing to jellyfin and not to plex #108
Comments
Probably the same as #107 |
Looks like plex had a api change and the python plex library was updated to resolve it. Can you guys try the dev branch |
No change for me using dev branch. Plex -> JF sync still working but not the other way around. |
Is this still being looked at? I'm still having issues no matter what I try. Jellyfin will update Plex status, but not the other way around. |
Do you mean the other way Plex will update Jellyfin but Jellyfin will not update Plex? That seems like what you described in the initial ticket. Either way i dont seem to be running into this issue and im not sure what is causing it to happen on your side. I see you said you were using the latest tag, can you try the dev tag? I added in a [MARK] and [DRYRUN] that you can search in the log file and see if you are still having issues. |
Yes sorry, Plex will update Jellyfin but not the other way around. I can't see any errors in the log, but it says that every single show is not in the mark list for Plex [DEBUG]: Plex: Skipping show Bargain as it is not in mark list for Stuntman As a test I just marked this as watched in Jellyfin and it didn't mark in Plex. That's literally the only thing I can see in the logs. There doesn't seem to any errors. I can mark the exact same show in Plex and it updates Jelly correctly. |
Can you attach the full log file or email it to me at [email protected] if you dont feel comfortable posting it publicly. Can also add your env file/docker command without your url or token. |
Emailed logs and compose |
I am seeing the same - Plex updates Jellyfin but not back. Been using Jellyfin more now |
Looks like someone was able to potentially identify the issue, can you guys check the dev tag and see if that fixes the issue for you guys. |
Doesn't seem to change anything.
I have a lot of those errors now that I haven't seen before There's a lot of
but I can't see a single [MARK] for Plex. As a Test I marked Ahsoka in Jellyfin as watched, but in the log
It is skipped |
My instance exhibits the same symptoms as joshoram80 notes above with identical debug logs aside from show name of course. Also using dev branch. Plex to Jellyfin perfect. Jellyfin back to Plex not syncing. Appreciate all the efforts to date. |
Looks like your issue is something else, it looks like jellyfin is failing to return some objects so your jellyfin list is coming up empty so its marking everything you have on the plex side to jellyfin but theres nothing to mark from jellyfin to plex since its empty. |
This has only happened since using the :dev image. I never saw those errors before that, it just wouldn't mark anything in Plex |
I am still working through my logs |
Can you guys try the "fixes" branch and see if that fixes your issues :fixes image |
The only Plex activity I can see in the logs is
but there is 1000s of
And I'm pretty sure they were already marked as Watched in Jellyfin anyway. Every time I run the script, It literally tries to mark my entire collection in Jellyfin every time, over and over again, regardless of it it's already marked or not, but it doesn't touch anything in Plex. |
can you email me your compose and logs again at [email protected] I should have time to go through it this time. For some reason it sounds like your jellyfin still isnt generating anything so it things its empty so it marks everything from your plex side to it. |
I can confirm 'Movie' watch states are now syncing from Jellyfin to Plex and note the mark flag for Plex in the Debug logs for Movies. TV Show watch states remain not syncing. Something amiss there maybe, @joshoram80 potentially try a movie watch state update from Jellyfin to Plex. Library mappings appear right for me. I note in the logs when gathering Show watch states from Jellyfin there's a final entry as below, might be something or nothing: [ERROR]: Jellyfin: Failed to get watched for username in library Shows, Error: 'IndexNumber' |
Thats interesting that you are gettinig an error on IndexNumber, that would mean that one of your seasons in your show does not have a season number associated with it which is odd. Does it show you what the name of the show is? If so can you attach a screenshot of what it looks like in jellyfin, thats not something ive encountered. That would probably explain why then since its failing and causing that library to return nothing |
@Mossrat I added in a check for IndexNumber to skip the season if it doesnt exist for some reason, can you give that :fixes image a try again and see if that works, it should also output "Skipping show {show name} season {season name} as it has no index number" so you should be able to check to see what show is causing issues in your library and it should hopefully not fail. I wasnt able to test it though since i dont have that issue. |
@luigi311 - cracked it for me sir. Many thanks. |
@joshoram80 Looks like you have the exact same issue ethat @Mossrat did Can you do another pull on :fixes and see if that fixes it for you |
Hey there. This feels like the same thing, although I am not 100% it is.
Move from Plex to Jellyfin worked great. Now I had to re-install Plex so I was syncing back only using Jellyfin to Plex, I am on the latest image. Checked for anything out of the ordinary on my libraries but everything has a season and are properly identified. |
I added a condition check in 84899ae to handle issues like that for you guys. Can you check the dev branch and see if that fixes the issue? The underlying issue with the library will still be there but it atleast wont error on mapping it over. |
Magic! That worked like a charm, everything looks good now. Thank you. |
Describe the bug
Syncing Plex -> Jellyfin works but not Jellyfin -> Plex
To Reproduce
Steps to reproduce the behavior:
SYNC_FROM_JELLYFIN_TO_PLEX=True
Expected behavior
Plex Syncs to Jellyfin and vice versa
Logs
If marked as watched in Plex
If marked in Jellyfin first
[DEBUG]: Plex: Skipping show Black Mirror as it is not in mark list for xxx
Type:
Additional context
Using :latest tag
The text was updated successfully, but these errors were encountered: