ukdtom / SRT2UTF-8.bundle

Plex Agent, that'll convert sidecar subtitle files into UTF-8, if not
126 stars 14 forks source link

I don't see this plugin in Plex agents #48

Closed abu-sarah closed 4 years ago

abu-sarah commented 4 years ago

Hi thank you so much for developing this powerful tool. I am new to Plex and my Plex media server in NAS - Synology. This is my first plugin installed on plex. I install the bundle and put it in NAS-Synology in this path: /Plex/Library/Application Support/Plex Media Server/Plug-ins

When I try to open Plex, I don't see it in the Plugins tab or Agents for both movies and TS Shows.

Is it because I download the different version? Or maybe I need to install another plugin?

Plex Version 4.22.3 (2020) SRT2UTF-8.bundle V0.0.2.5

Screen Shot 2020-04-07 at 1 02 30 AM Screen Shot 2020-04-07 at 1 02 51 AM Screen Shot 2020-04-07 at 1 03 01 AM
ukdtom commented 4 years ago

You'll not see it in plugins, only under agents.

Also check that the rights of the .bundle directory is set to the plex user recursively

abu-sarah commented 4 years ago

Thank you for fasr reply

I don't know what do you mean by "is set to the plex user recursively"

to recap: I move the plug-in bundle (SRT2UTF-8.bundle) into the Plug-Ins folder, My Plex Media Server on NAS-Synology to follow path: /Plex/Library/Application Support/Plex Media Server/Plug-ins

Screen Shot 2020-04-07 at 12 22 33 PM

I go to Plex setting ----> Agents then movies

I don't see any things!

Screen Shot 2020-04-07 at 12 21 56 PM Screen Shot 2020-04-07 at 12 21 50 PM
ukdtom commented 4 years ago

Not a Synology user, so not much help here sadly, but....

Plex on the Syno is running under a user named plex. That user needs to have rights to SRT2UTF-8.bundle directory, as well as all files below that

If not, then PMS can't see it

abu-sarah commented 4 years ago

I have (Plex user) the permission of the rights to that plugins folder, same as media folder which includes Movies and TV Shows.

I think I have to edit all SRT files to do save as a function manually. The problem that I have over 500 movies!! So I think to do it 500 times. I will edit 40 files per day.

Thank you so much for trying to help me. I wish you all the best.

ukdtom commented 4 years ago

Right below the SRT2UTF-8.bundle, is there a directory named "Contents" ?

And if not, you might have extracted it wrongly

abu-sarah commented 4 years ago

yes, there is

Screen Shot 2020-04-07 at 2 26 08 PM Screen Shot 2020-04-07 at 2 26 20 PM
ukdtom commented 4 years ago

In the Logs/PMS Plugin Logs directory, are there any log files created for srt2utf-8 ?

If so, zip them all, and upload, and if not, restart PMS, and after 2 min, zip Logs/Plex Media Server*.log files and upload them

abu-sarah commented 4 years ago

Good news ukdtom

Now it's showing up in Agents after shutting down Synology for (2 minutes).

You're lifesaver، you save me a lot of time instead to do it manually
THANK YOU ((((((SO)))))) MUCH 🙏 🌹

Now I am trying to solve the main problem to show the Arabic language in my movies but still Gibberish (Unknown language).

Kindly check the below settings and tell me if I did something wrong:

Screen Shot 2020-04-07 at 9 26 38 PM Screen Shot 2020-04-07 at 9 26 44 PM Screen Shot 2020-04-07 at 9 26 54 PM

The subtitle show as same as before to unknown language:

Screen Shot 2020-04-07 at 9 27 19 PM
ukdtom commented 4 years ago

A zip of SRT2UTF-8 logs, as well as the name of a media file, so I have something to search for in the logs

ukdtom commented 4 years ago

Arhhh....Missed one thing ;)

Make sure, that your movie library in PMS is set to use "Plex Movie" as it's primary agent, and if using "The Movie Database", then also make sure that SRT2UTF-8 is enabled for that as well

abu-sarah commented 4 years ago

Thank for fast reply

I am using "Plex Movie" as my primary agent in movies library:

Screen Shot 2020-04-07 at 10 59 55 PM

and I enable SRT2UTF-8 at all "Plex Movie, Personal Media, and The Movie Database":

Screen Shot 2020-04-07 at 11 06 18 PM Screen Shot 2020-04-07 at 11 06 29 PM
abu-sarah commented 4 years ago

It's working now

I just need to force metadata for a couple of hours, It's taking for me about 3 and a half hour.

the overall solution for fixing subtitles on Synology PMS: 1- Download SRT2UTF-8 in Zip file and unzip to be like "SRT2UTF-8.bundle" without "Master" word. 2- Move to this path: /Plex/Library/Application Support/Plex Media Server/Plug-ins

Screen Shot 2020-04-08 at 5 24 12 AM

3- Shutdown Synology for about 2 minutes - at minimum - then turn it on. 4- Go to PMS Agents and enable SRT2UTF-8 in all Agents especially the main "Plex Movie"

Screen Shot 2020-04-08 at 5 24 43 AM

5- Go the SRT2UTF-8 Setting and enable (support opensubtitles.org and choose the language).

Screen Shot 2020-04-08 at 5 24 56 AM

6- Put the SRT2UTF-8 at the bottom of the list.

Screen Shot 2020-04-08 at 5 24 43 AM

7- Force Metadata by using "Refresh all Metadata" and wait to finish (Maybe will take a few hours depends on number of movies). 8- Enjoy the movie.

Screen Shot 2020-04-08 at 5 32 09 AM

Thank you ukdtom