[GH-ISSUE #32] Scripts are timeouting all the time #26

Closed
opened 2026-03-23 20:33:07 +00:00 by mirror · 6 comments
Owner

Originally created by @CommanderRedYT on GitHub (Mar 20, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf/issues/32

When waiting for jellyfin to finish scanning, the script usually times out.

I only have about ~2TB of data in Tubearchivist. This takes jellyfin quite some time tho to go through. The 12*5 seconds waiting is way too low, it usually takes 3 minutes or more. I was not able to successfully sync with this script.

Originally created by @CommanderRedYT on GitHub (Mar 20, 2024). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf/issues/32 When waiting for jellyfin to finish scanning, the script usually times out. I only have about ~2TB of data in Tubearchivist. This takes jellyfin quite some time tho to go through. The 12*5 seconds waiting is way too low, it usually takes 3 minutes or more. I was not able to successfully sync with this script.
Author
Owner

@Iliannnn commented on GitHub (Mar 20, 2024):

Have you tried the Jellyfin TubeArchivist Plugin yet? It integrates fully with Jellyfin as a plugin and not just with an API integration, this might fix your issues.

<!-- gh-comment-id:2009990722 --> @Iliannnn commented on GitHub (Mar 20, 2024): Have you tried the [Jellyfin TubeArchivist Plugin](https://github.com/DarkFighterLuke/TubeArchivistMetadata/) yet? It integrates fully with Jellyfin as a plugin and not just with an API integration, this might fix your issues.
Author
Owner

@CommanderRedYT commented on GitHub (Mar 22, 2024):

@Iliannnn
No I haven't, but thanks for pointing it out, did not know that existed! And it works without patches!

<!-- gh-comment-id:2015792736 --> @CommanderRedYT commented on GitHub (Mar 22, 2024): @Iliannnn No I haven't, but thanks for pointing it out, did not know that existed! And it works without patches!
Author
Owner

@jvtrigueros commented on GitHub (Mar 25, 2024):

I was also having the timeout issue, and ran the code line by line and found it was looking up the series IndexNumber rather than the season Name. https://github.com/tubearchivist/tubearchivist-jf/blob/master/app/src/series.py#L228

I changed that line to:

return [str(i.get("Name")) for i in all_seasons["Items"]]
<!-- gh-comment-id:2018320778 --> @jvtrigueros commented on GitHub (Mar 25, 2024): I was also having the timeout issue, and ran the code line by line and found it was looking up the series `IndexNumber` rather than the season `Name`. https://github.com/tubearchivist/tubearchivist-jf/blob/master/app/src/series.py#L228 I changed that line to: ```python return [str(i.get("Name")) for i in all_seasons["Items"]] ```
Author
Owner

@CommanderRedYT commented on GitHub (Mar 25, 2024):

@jvtrigueros I also tried that, but it did not seem to work for me. Maybe because there was already metadata? Anyways, I moved on to the Jellyfin Plugin and just loving it!

<!-- gh-comment-id:2018823491 --> @CommanderRedYT commented on GitHub (Mar 25, 2024): @jvtrigueros I also tried that, but it did not seem to work for me. Maybe because there was already metadata? Anyways, I moved on to the Jellyfin Plugin and just loving it!
Author
Owner

@jvtrigueros commented on GitHub (Mar 25, 2024):

@CommanderRedYT I would've liked to use the plugin but I kept seeing Authorization error in the Jellyfin logs and had no easy way to debug :/

<!-- gh-comment-id:2018832758 --> @jvtrigueros commented on GitHub (Mar 25, 2024): @CommanderRedYT I would've liked to use the plugin but I kept seeing Authorization error in the Jellyfin logs and had no easy way to debug :/
Author
Owner

@bbilly1 commented on GitHub (Apr 19, 2024):

The plugin is now in the main organization. Switch to that if you have problems with that.

<!-- gh-comment-id:2067382696 --> @bbilly1 commented on GitHub (Apr 19, 2024): The plugin is now in the main organization. Switch to that if you have problems with that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/tubearchivist-jf#26
No description provided.