jellyfin-kodi icon indicating copy to clipboard operation
jellyfin-kodi copied to clipboard

TV Shows not Syncing but Movies Does

Open undead9786 opened this issue 2 years ago • 10 comments

Describe the bug Movies sync without issues but TV Shows are not syncing. Anytime I add or upgrade episodes nothing gets updated unless I manually scan the entire library in Kodi which makes all the changes. Jellyfin app itself is having no issues

To Reproduce No errors, just no syncing unless manually syncing TV Shows

Expected behavior Episodes to be added as Jellyfin adds them

System (please complete the following information):

  • OS: Android TV
  • Jellyfin Version: 10.7.6
  • Kodi Version: 19.1
  • Addon Version: 7.4
  • Playback Mode: Add-On

undead9786 avatar Sep 02 '21 07:09 undead9786

Without logs telling us what's happening, there's a better chance of a pig falling out of the sky and handing you a bag with a million dollars in it than us being able to tell you what's wrong with your setup.

mcarlton00 avatar Sep 05 '21 00:09 mcarlton00

Logs from Jellyfin or logs from the kodi addon? I can provide from Jellyfin but not sure where to grab it from Kodi.

undead9786 avatar Sep 05 '21 00:09 undead9786

Kodi logs. There's a link in the issue template that you skipped https://kodi.wiki/view/Log_file/Easy

mcarlton00 avatar Sep 05 '21 01:09 mcarlton00

Here is the log, had to cut the top to have it other 512kb: https://pastebin.com/9LtkrCMx I turned on debug and changed Legion S02 from webrip to webdl, Jellyfin itself made the change but all Kodi did was start deleting the files.

undead9786 avatar Sep 05 '21 13:09 undead9786

JELLYFIN.helper.utils -> ERROR::jellyfin_kodi/helper/utils.py:552 No ancestor found, not syncing item with ID: fc5cbc521ed3ac8390817be2666574e2

Based on that error, I'm guessing it is a continuation of the saga of this particular block of code;

https://github.com/jellyfin/jellyfin-kodi/blob/0fb103852af4d3c15d812cf75d304189ad8c4063/jellyfin_kodi/views.py#L137-L141

Try making sure that you are actually adding the TV show library, and not the home screen combined library view.

oddstr13 avatar Sep 05 '21 20:09 oddstr13

JELLYFIN.helper.utils -> ERROR::jellyfin_kodi/helper/utils.py:552 No ancestor found, not syncing item with ID: fc5cbc521ed3ac8390817be2666574e2

Based on that error, I'm guessing it is a continuation of the saga of this particular block of code;

https://github.com/jellyfin/jellyfin-kodi/blob/0fb103852af4d3c15d812cf75d304189ad8c4063/jellyfin_kodi/views.py#L137-L141

Try making sure that you are actually adding the TV show library, and not the home screen combined library view.

It used to work on previous versions and then it just stopped working and I have not changed anything. When I manually scan for TV Shows it picks up everything like it should have. Can you tell me what I should change to resolve this?

undead9786 avatar Sep 05 '21 21:09 undead9786

How old of previous versions are you talking about? And is this an actual library or a combined library view?

mcarlton00 avatar Sep 23 '21 01:09 mcarlton00

How old of previous versions are you talking about? And is this an actual library or a combined library view?

I would say Jellyfin 10.7.2 it definitely worked. Not sure what you mean by combined library view but it's the TV Show category on the main Kodi page that it starts off on.

undead9786 avatar Sep 23 '21 21:09 undead9786

Under user settings -> Home image

Anime and Series here combines into a library named TV Series on the home page of Jellyfin.

Due to some sync optimizations, and TV Series not being listed as a parent of Anime nor Series, selecting just TV Series does not actually work, you need to select the underlying libraries.

oddstr13 avatar Oct 10 '21 17:10 oddstr13

Made the change. Added some episodes. Saw it started syncing that same amount of episodes but it still doesn't actually populate them. I even went to the Jellyfin app within Kodi and went into TV Shows and didn't see it there.

undead9786 avatar Oct 17 '21 00:10 undead9786