Dingmatt / AMSA

A Plex anime agent using TVDB and AniDB data
GNU General Public License v3.0
261 stars 7 forks source link

Using AMSA with other plugins #18

Closed mokin009x closed 4 years ago

mokin009x commented 4 years ago

Hi AMSA solves a lot of problems for me compared to what I previously used for my anime library. But I have just one problem/Request. If possible I Would like ASMA to be able to use Sub Zero the Subtitle plugin. Because that plugin extracts embedded subtitles for me and converts them to .srt files. that's what I need.

this problem is hard to explain in words so I will include 2 pictures.

pic1

pic2

The first picture shows AMSA. The second picture shows my previous agent.

The problem is that I don't know how I can add sub-zero to the AMSA list. if you or anyone can help I would appreciate it

Dingmatt commented 4 years ago

Here are the steps you'll need follow to add SubZero:

  1. Browse to the AMSA Code directory (\Plug-ins\Amsa.bundle\Contents\Code)
  2. Open '__init__.py' in a text editor
  3. On line 35 you'll find the following: accepts_from = ["com.plexapp.agents.localmedia"] Change it to: accepts_from = ["com.plexapp.agents.localmedia","com.plexapp.agents.subzero"] warning the file's syntex sensitive, the spaces and structure are all very specific, add the extra subzero part without changing anything else
  4. Save the file
  5. Restart Plex and you should see the extra SubZero option

Hope this helps

mokin009x commented 4 years ago

Yes, this fixed it thank you so much.