Release: Subliminal Subtitles (Addic7ed, Podnapisi, OpenSubtitles)

OK, I got the same problem, the server wont find the Subliminal.bundle

drwxr-xr-x 3 plex plex 4096 ное 19 10:49 Framework.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 HTbackdrops.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 IMDB.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 LastFM.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 LocalMedia.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 Media-Flags.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 MoviePosterDB.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 OpenSubtitles.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 PersonalMedia.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 PlexThemeMusic.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 Scanners.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 11:01 Services.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 SiteConfigurations.bundle
drwxr-xr-x 3 plex plex 4096 мар  4 11:58 Subliminal.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 System.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 11:07 The-Movie-Database.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 TheTVDB.bundle
drwxr-xr-x 3 plex plex 4096 ное 22 08:50 WebClient.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 WebManager.bundle
drwxr-xr-x 3 plex plex 4096 ное 19 10:49 Wikipedia.bundle

As you can see , the owner folder is the same as all other bundles

Same goes for the content of the folder:

drwxr-xr-x 2 plex plex 4096 мар  4 11:57 Code
-rwxr-xr-x 1 plex plex 4065 мар  4 11:57 DefaultPrefs.json
-rwxr-xr-x 1 plex plex 1326 мар  4 11:57 Info.plist
drwxr-xr-x 3 plex plex 4096 мар  4 11:57 Libraries
drwxr-xr-x 2 plex plex 4096 мар  4 11:58 Resources
drwxr-xr-x 2 plex plex 4096 мар  4 11:58 Strings

Plex runs on an Ubuntu machine:

Linux deckoff-desktop 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

and the server version is 

 
Version 0.9.11.
Any ideas how to debug this...
 
Of course, I restarted the server ( and the machine, even) before trying.
I am looking for additional entries in Server>Agents>Movies|TV Shows

OK, I got the same problem, the server wont find the Subliminal.bundle


 
Of course, I restarted the server ( and the machine, even) before trying.
I am looking for additional entries in Server>Agents>Movies|TV Shows

Under TV shows, look at the 'TheTVDB' Agent. 

Under Movies, look at the 'Freebase'  Agent.

When a sub is beeing downloaded it's get named to .EN.srt

- So i have to rename the .srt to .srt all the time.

Can you change that so it get so by default.

I'm wondering about this as well - is it possible to add an option to either include or dont include language in the sub filename?

I'm wondering about this as well - is it possible to add an option to either include or dont include language in the sub filename?


Yes this is possible.

Registered as issue: https://github.com/bramwalet/Subliminal.bundle/issues/19

Hello,

I have the exact same problem as deckoff... wont detect the additional agents.

My permissions are all ok (did a chown/chgrp -R to apply changes to all files and subfolders):

http://i.imgur.com/f4CFqZe.png

And still, after about 5 restarts, PMS wont find anything:

http://i.imgur.com/B4kP9vT.png

I'm running PMS 0.9.11.7 on a CentOS 7 machine. Any help, please?

Thanks :)

EDIT: Ok... I got it working. Was adding the bundles to the wrong Plug-ins folder...

Wrong folder:

/usr/Lib/plexmediaserver/Resources/Plug-ins

Correct folder:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins

After adding the bundles to the correct folder, I did a PMS restart, and the agents were all there ^^ Hope this helps people with the same problem as me! :)

Dude, this is amazing! Works flawlessly - thank you so, so much @bramwalet! 

Edit1: Seriously, this just made my week! Any way I can donate a couple of bucks? I'm no native english speaker and always have to search for subs (the opensubtitles subs are often horribly off/wrong), so you just saved me many, many hours :)

Edit2: One question: What is a smart way to "trigger" the search on new episodes only? Say, a new episode of my favorite series gets downloaded and I want the agent to search for it as soon as the episode is in its right place - how can I achieve this smoothly?

FYI the guys at http://www.addic7ed.com/will be introducing app integration whit ex-xbmc people https://www.facebook.com/Addic7ed/posts/10152734938466723 might be would be good to contact them for better integration this would defining win me over completely.

When a sub is beeing downloaded it's get named to .EN.srt

- So i have to rename the .srt to .srt all the time.

Can you change that so it get so by default.

Why would you not want the language extension in there? Plex server can detect this way what language the subtitle is and enable it accordingly. If it is saved as simply a .srt file, Plex has no idea what language it is in.

Thanks a lot for this great tool, a must have for me.

Works perfectly

Thx for the great plugin! The Opensubtitle.org and Bierdopje plugin are hard to use because they often gives me duplicates stored as meta. I use WebTools for editing and deleting, but not always with the same amount of "luck".

Subliminal changed this. I like the option to store it side by side with the media files. It gives me a greater feeling of control. And easier to edit the srt files.

Also thank you for the option to have more then 2 languages :). Will be testing this over the coming weeks. I have been fidling with TV shows. rescanning an episode, and not getting any duplicates! Nice ... Will see how movies turn out later.

Keep up the good work!

great plugin!

I have one problemen, on refresh the subtitles are added again and again...

Any ideas on how to fix?

sqlite> select * from media_streams where url like '%9fd0e990c9f350987d8e78d1379d2728bd5f52ce%';
id|stream_type_id|media_item_id|url|codec|language|created_at|updated_at|index|media_part_id|channels|bitrate|url_index|default|forced|extra_data
793293|3|17550|media://8/ff78aafa2272e48c6d945ab0e2af100b39c4253.bundle/Contents/Subtitles/nl/com.plexapp.agents.subliminal_9fd0e990c9f350987d8e78d1379d2728bd5f52ce.srt|srt|dut|2015-05-03 16:17:36|2015-05-03 16:17:36||17765||||0|0|ma%3Aformat=
805270|3|17550|media://8/ff78aafa2272e48c6d945ab0e2af100b39c4253.bundle/Contents/Subtitles/nl/com.plexapp.agents.subliminal_9fd0e990c9f350987d8e78d1379d2728bd5f52ce.srt|srt|dut|2015-05-04 15:39:28|2015-05-04 15:39:28||17765||||0|0|ma%3Aformat=
840091|3|17550|media://8/ff78aafa2272e48c6d945ab0e2af100b39c4253.bundle/Contents/Subtitles/nl/com.plexapp.agents.subliminal_9fd0e990c9f350987d8e78d1379d2728bd5f52ce.srt|srt|dut|2015-05-05 10:18:13|2015-05-05 10:18:13||17765||||0|0|ma%3Aformat=
841877|3|17550|media://8/ff78aafa2272e48c6d945ab0e2af100b39c4253.bundle/Contents/Subtitles/nl/com.plexapp.agents.subliminal_9fd0e990c9f350987d8e78d1379d2728bd5f52ce.srt|srt|dut|2015-05-05 11:00:06|2015-05-05 11:00:06||17765||||0|0|ma%3Aformat=
 

@snuf: my experience with subs as meta is not very positiv. But when storing as srt file side-by-side to the media, it seems to be stable. This has something to do with the way Plex deals with it. So give it a try and see if this works for you too.

thanks for the response!

I have given it a try, cleaned everything and set storing as file side-by-side.

No luck, the srt files are stored as meta like before.

Also subtitles already present are not noticed.

Besides this I foud that plex causes some troubles as wel (subliminal is off):

Refreshing a single episode works like expected.

Refreshing a show ends up in duplicatie entries.

Hmm... what I did: ran WebTools with Subliminal off. Clicked in to a TV-Show. Took one episode with meta subs. Removed all, but did not refresh the section from within Subliminal (this does a complete scan and that can take a while). In Plex refreshed the one episode, now no subs are listed. Activated Subliminal. In agents placed it ABOVE local media assets. Activated "side-by-side" and entered my addic7ed info. Saved. Refreshed the episode. Waited until finnished (less then 1 minute). New subs are listed and found them also in my season folder.

cleaned everything and set storing as file side-by-side.

No luck, the srt files are stored as meta like before.

Also subtitles already present are not noticed.

Hello,

Can someone please tell me how to download this, I have never used github before. I am confused.

thanks

JKilbert

@kilbert: just download the entire zip file. unzip it locally. move to your plex plugin folder. reload plex.

to the developer of this plugin: When can we expect to have this working for movies? I love this piece of software, and works like a charm on TV-shows. I use a score of minimum 60, and am very pleased with the results.

Any hints in how to set this up for both TV-shows AND movies, or is this not possible? Any alternatives that can be used combined with Subliminal, without the risk of creating duplicates again?

edit: PS: just deactivated subliminal for movie-agent and activated opensubtitles. Keeping subliminal for TV-shows. I'll give this combination a go...

to the developer of this plugin: When can we expect to have this working for movies? I love this piece of software, and works like a charm on TV-shows. I use a score of minimum 60, and am very pleased with the results.

Any hints in how to set this up for both TV-shows AND movies, or is this not possible? Any alternatives that can be used combined with Subliminal, without the risk of creating duplicates again?

According to the Subliminal documentation, the minimum score for movies has a different bandwidth (0-31) than the score for TV shows (0-71). This could be the reason why you're not getting any results for movie downloads.

I have an enhancement on my github to separate the configuration for minimum score for movies and tv shows, to allow TV shows to set the score to 60 and Movies to 25 for example. See the enhancement here: https://github.com/bramwalet/Subliminal.bundle/issues/6

Other than that, applying the subliminal bundle both on your movies and tv shows section and library agents, should do the trick.

Can you try something for me? Please set your min score to a lower value (below 30) and refresh one movie in your movies section, and see if the bundle can find a matching subtitle? See the logfile if Subliminal bundle has found anything. This would confirm that Subliminal works for movies, but the score of 60 will prevent subtitles for movies being downloaded, because the threshold is set too high. Don't forget to reset the min score back to 60.

Let me know if this works, then I will give the enhancement priority.

@bramwalet. I tested with the version I am running now (master 0.8). Only one score option. Lowered it to 15. Did a refresh on 2 movies. From what I can see in the log it does not find any subs. But please have a look your self, just to make sure. I'm not an expert.

I had a look at the issue #6 page. Not sure what to do with this. Is this enhancement already in the master 0.8? Or do I need to change or download something?

@bramwalet. I tested with the version I am running now (master 0.8). Only one score option. Lowered it to 15. Did a refresh on 2 movies. From what I can see in the log it does not find any subs. But please have a look your self, just to make sure. I'm not an expert.

I had a look at the issue #6 page. Not sure what to do with this. Is this enhancement already in the master 0.8? Or do I need to change or download something?

I will take a look at the logfile and let you know what is going on.