Release: Subliminal Subtitles (Addic7ed, Podnapisi, OpenSubtitles)

@TheSatman said:
shahryar84: you can add any language you want. All you need to do is to edit a file or 2 and add the language. You’ll find it well explained in this thread.

jobrien2001: Not sure how to run a cron on Windows7. But I see on GitHub that this request is noted and will be included in the GUI.

You install python 2.7, install subliminal in python, and add the environmental path to win 7, then just run the subliminal.exe on win7 task scheduler with the arguments you want at the fequency you want. The github i linked has a documentation link for you to understand the CLI arguments.

Ill give you an example of mine, downloads english and spanish subs for every movie placed under d:\movies

subliminal.exe --addic7ed myuser mypw download -v -l en -l es -m 35 “D:\Movies”

I use 35 score for movies and 95 for tv. You can also add -a 1w if you want just to dl subtitles for movies in the past week only. very useful if you want to run more frequent checks on recent movies.

BTW not sure if i’m causing some confusion. i’m talking about running subliminal under python completely apart from plex (no gui) by using the windows command line on a cron job. you can look at it further at GitHub - Diaoul/subliminal: Subtitles, faster than your thoughts look at the docs

@TheSatman said:
chopeta: Glad you sorted it out. Just found your message today. Did you find a solution for both TV shows AND movies? I still can not get it to work with 2 different settings (one for Tv, one for movies).

For me it’s only working for TV Shows :frowning: for Movies doesn’t work, I can see errors in the log. Since my major problem was the Shows I am good for now (using this only for Shows) but I would love to have it for Movies as well.

It’s downloading 3 languages and it’s using my VIP account on OpenSubtitles :slight_smile: I love it!

I just read the whole thread still don’t understand how to install it, I put the .bundle file with PMS Plug-Ins folder then Quit PMS and relaunch and nothing is appearing after that in the Agents menu.

Please if anyone could help that would be awesome. Using the last PMS version on a Mac.

@raphh said:
I just read the whole thread still don’t understand how to install it, I put the .bundle file with PMS Plug-Ins folder then Quit PMS and relaunch and nothing is appearing after that in the Agents menu.

Please if anyone could help that would be awesome. Using the last PMS version on a Mac.

permissions ? should be plex/plex

Hey,

after quite some work I’ve managed to update the Subliminal.bundle to use Subliminal-1.0.1 instead of the pretty old one (0.8.0 I think). If you guys want to try it out, feel free to check my fork on github.
Guessit also has been updated and the score for Addic7ed subtitles slightly increased.
Additionally this now also works with the thetvdbdvdorder Plex agent, and the guessit release-group detection bug has been fixed.

I’ve created a pre-release package and named it 1.1-beta, for those who aren’t familiar with github:
https://github.com/pannal/Subliminal.bundle/releases/tag/1.1-beta

Update: forgot a file, release updated.

Feel free to suggest enhancements, I have little time but I’ll try to make it work. Post them here.

It seems like the subliminal update has broken more than I expected. You are still welcome to try my fork, but for the moment the Addic7ed and TVSubtitles providers seem to be broken.

Update beta3: https://github.com/pannal/Subliminal.bundle/releases/tag/1.1-beta3

Current state (pretty stable for me):

  • support for newest Subliminal (1.0.1) and guessit (0.10.1)
  • plugin now also works with com.plexapp.agents.thetvdbdvdorder
  • guessit’s release-group detection bug fixed (not the correct way, though. has already been fixed in guessit itself, need to merge)
  • providers fixed for subliminal 1.0.1 (addic7ed, for tvsubtitles please report)
  • providers don’t simply fail and get excluded on non-detected language
  • addic7ed provider language detection fixed: French (Canadian)
  • support for additional languages: pt-br (Portuguese (Brasil)), fa (Persian (Farsi))
  • support for three (two optional) subtitle languages

Bugs:

  • skip existing subtitles (not in video’s path - e.g. subFolder given) currently (still, was before) broken

If anyone wants to test beta4 with guessit updated to 0.11.0, please go ahead: https://github.com/pannal/Subliminal.bundle/releases/tag/1.1-beta4-guessit-2

@raphh said:
I just read the whole thread still don’t understand how to install it, I put the .bundle file with PMS Plug-Ins folder then Quit PMS and relaunch and nothing is appearing after that in the Agents menu.

Please if anyone could help that would be awesome. Using the last PMS version on a Mac.

You should see “Subliminal TV Subtitles” under “Settings > Agents > TV Shows > TheTVDB” after that. If not, please download one of my releases I’ve recently posted.

@panni said:
If anyone wants to test beta4 with guessit updated to 0.11.0, please go ahead: Release 1.1-beta4-guessit-2 · pannal/Sub-Zero.bundle · GitHub

Thanks for all your efforts @panni

I am installing your version now, let’s see how it works :slight_smile:

@panni, I am getting an error with Addicted.

Issue reported on github: https://github.com/pannal/Subliminal.bundle/issues/13

Any idea?

Edit: Found another issue that seems to be bloking SRT files to be saved on the disk. https://github.com/pannal/Subliminal.bundle/issues/14

Reverting back to my previous version in the meanwhile. Will be more than glad to retest.

Just to avoid confusions, I was testing version [Subliminal.bundle-1.1-beta4-guessit-2.zip]

Looking into it, thanks for the report :slight_smile:

All issues addressed.

Beta5 is available: https://github.com/pannal/Subliminal.bundle/releases/tag/1.1-beta5

Changes:

  • fix storing subtitles besides the actual video file, not subfolder (fixes #14)
  • “custom folder” setting now always used if given (properly overrides “subtitle folder” setting)
  • also scan (custom) given subtitle folders for existing subtitles instead of redownloading them on every refresh (fixes #9, #2)

thanks for your work panni
any chance that this is going to be in the unsupported appstore? Really wish i wouldn’t need to download and implement it manually. thanks

Perhaps when it’s out of beta. Though @bramwalet would need to comment on that, too.

Big thanks @panni - awesome response time :slight_smile:

I’ve tested beta5 and for Series it seems to be working fine.

So I ran some tests for movies as well (it wasn’t working previously for me) and it seems to work for some movies but it fails for others… I’ve reported https://github.com/pannal/Subliminal.bundle/issues/15

I know Addicted is not enabled yet but I guess it should be working for other providers… please let me know if you need any specific.

Thanks once again!

Again, everything addressed (big thanks to @chopeta). Approaching stable release, please test RC-1: https://github.com/pannal/Subliminal.bundle/releases/tag/1.1-rc1

  • fix subliminal’s logging error on min_score not met (fixes #15)
  • separated tv and movies subtitle scores settings (fixes #16)
  • add option to save only one subtitle per video (skipping the “.lang.” naming scheme plex supports) (fixes #3)

@panni you’re the man! Thanks for your help! Really appreciate it!

@panni
I’m still having problems with subtitles being downloaded even if an embedded is available. Is there anything besides the setting I need to enable for this to work?

I’m running 1.1-rc1 on PMS 0.9.12.12 Debian.

Quick question: how does retry works, I mean how often subliminal will retry until SRT is there? since in the beginning, sub wont be available yet. thanks

— update —
Is this agent compatible with UNC as library path? e.g. ’
as vshows’?