-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Subtitles aren't downloaded automatically for me. #104
Comments
The easiest way to approach this would be to check the logs, you can find them in the "Logs" section of the "Advanced" category in the server administration page (should be just above plugins & scheduled tasks). Look for lines containing Another thing worth checking is whether the |
Hello, thanks for your quick reply!
I turned this off, let's see how that goes over time.
Good point 🤦♂️. I just checked... but there are none there. They should be stored in I ran the following to get some logs anyway, but nothing shows up about opensubtitles...
Thanks again, I am curious for your reply. If you know a way to make (more) logs magically appear, I'd love to know! I am pretty new to linux :) |
The As for logs, I am not sure why they would be missing, for me they are found in I also suggest enabling debug logging, running the subtitle download task and then checking the logs (or running |
Running I use Jellyfin version 10.7.7 and OpenSubtitles 12.0.0.0. Going to the logs section in the dsahboard results in an empty screen; the JSON response also only returns an empty array. I will try the debug logging as well. I am posting this comment now because my laptop is almost out of battery; I will edit with debug logging results! Update: Well, even after changing the logging levels, I don't see any changes in the log levels from journalctl... I tried restarting the service multiple times.. It's a bit difficult to find out what is going wrong here, lol. Anyway, When I download subitltes manaully, I do see this in the logs, so the plugin is at least functioning:
|
Yeah it seems like the plugin is working correctly 🤔 One way to check if debug logging is properly enabled is to do manual subtitle searches and look for lines like
If they don't appear something is not correctly configured 😕 |
Jellyfin 10.8 is now out, which means the plugin can now be updated to the latest version, can you check if this is still happening? |
Hi But it failed somehow. Cant find anything in logs, beside this: And on opensubtiltes's site, i can see that 0/20 subtitles is downloaded.. |
The error message is incomplete unfortunately, it's missing the most important part :/ Can you try to obtain more logs? You can manually download a subtitle through the web UI which should produce an error if something is broken. Might be worth saying that opensubtitles had some issues a few days ago, I too noticed some error messages in my logs but those are expected. |
No more logs than that from a scheduled task was showing... But I tried a manual search.. it worked. But when a scheduled is running, it scans, but find nothing to download. |
If manual searching and downloading worked then that error must've been caused by an API outage (those happen every once in a while and there's nothing that can be done about it) As for subtitles not being downloaded, the simple explanation could be that there are no subtitles available for your files (very likely if you have perfect match enabled) |
I've also found this to be a problem, by investigation shows very little in the way of logs, and I never get results when I search manually, which led me to believe that it was a file-naming issue. I decided to check the meta data, as in the Discord chat a long time ago someone mentioned that this was used for the searches, everything looked good, but one thing that was missing was the imdb id field, I decided to add that manually by searching for my shows on imdb and copy-pasting from the URL, and then try searching for subtitles again. Tested on two shows from the same series and another from a different series, and when I manually search I get good results almost instantly! Is there a way to populate the imdb id in the meta-data automatically, either from Sonarr/Radarr or Jellyfin? Can this plugin work without that ID? |
When the IMDb id is missing the filename is sent to the opensubtitles API, searching by filename is obviously not accurate which results in none or poor results :/ As for populating the IMDb id automatically, this should work out of box on any jellyfin installation, you just have to enable it in library settings under metadata downloaders |
Right that makes sense as my episodes have been renamed by sonarr to follow the Show/Season/EpisodeName convention, maybe I should make it match the Jellyfin convention a little more closely. Strange that it always came back with no results though. I checked my settings and I found that I do have metadata scraping enabled, but not for episode level, so I've enabled it now and will see if that works. |
Well, those were an intense couple of hours I just wasted on debugging something that actually worked |
Just want to summarize this for anyone else who runs into this problem:
|
After pressing ok, does it automatically download all subtitles? |
I don't think so, I believe you have to run the "Download missing subtitles" task for it to start |
Also, if you have too much missing subs, it is supposed to choke up, if you don't have the open subtitles premium api subscription. |
not immediately, but it should queue and run as part of the scheduled task. You can also manually trigger it as mentioned above. |
I had the same problem, I hadn't ticked a language and it just said "Completed after 0 minutes and 0 seconds". Additional logging would be nice. |
Yeah, it's a permission thing and they get stored in Thanks for the pointer! |
Is there a way to specify auto download only for certain series? |
Currently it's library based, that logic is stored in the server so a functionality like that should/could be requested at https://features.jellyfin.org/ |
Thank youuuu. I've been wondering about why my subtitles aren't being downloaded. It's because I have this setting on. Is it on by default? If yes then I think this is not a really good design. |
@Silverbullet069 This option is turned on by default (at least in 10.9), while it might seem like a good idea to have it off by default in this scenario, it also might result in a library with subtitles that don't match audio/video, which, in my opinion, sounds like unwanted behavior, so a double edged sword... might be worth starting a feature request on https://features.jellyfin.org |
Hello!
I have set up my plugin, but it doesn't seem to work.
I can run the scheduled task to download missing subtitles, but nothing happens. The OS API overview also says no downloads occurred.
WHen I go to the show I downloaded (Which is identified by Jellyfin correctly), the subtitles show "off". When I click on edit -> find subtitles, some do appear.. but this is only after I messed around with the plugin, created an new API consumer, connected it to my plugin, deleted the plugin, reinstalled the plugin and reconfigured it..
I am still expecting it to automatically download subtitles, though..
Could anyone help me out? Or point me in the direction of the logs? I am running jellyfin on a raspberry pi 3b+
The text was updated successfully, but these errors were encountered: