CodyBerenson / PGMA-Modernized

An updated approach for Plex Gay Media Adult Agents for both Full Feature Films and Scenes
MIT License
124 stars 46 forks source link

[BUG]: AEBNiii Agent creates collections despite settings for no collections #203

Closed fourstix closed 1 year ago

fourstix commented 1 year ago

Mandatory

Describe the bug: ## The AEBNiii agent is creating collections even though the settings for the agent have all the option boxes for collections unselected.

(This seems to be the same issue that was fixed with the GEVI agent in the last code update)

Specific Agent(s) Causing the Issue: ## AEBNiii

Index Site URL(s) Attempting to Match:

https://gay.aebn.com/gay/movies/157987/vintage-muscle-jocks (matched successfully, but collections created)

Log Attached:

com.plexapp.agents.AEBNiii.log

Optional

The text description indicates a correct match with the AEBNiii agent:

:: Film on IAFD 👎 :: ✅ / ❌ Actor on Cast List? :: AEBNiii :: Lavender Lounge Studios is pleased to announce the release of “Vintage Muscle Jocks”, a compilation of rare and obscure male erotica spanning the late 1950s through the late 1970s.

Screenshot(s) with all nudity redacted:

Here are the AEBNiii agent settings: image image image

Additional Context:

Matching file (Lavender Lounge) - Vintage Muscle Jocks.mp4 will create three collections: AEBNiii, Not On-IAFD and Not Stacked.

image

Desktop (please complete the following information):

JPH71 commented 1 year ago

Sorted! Mark as solved

CodyBerenson commented 1 year ago

@fourstix I'm going to close this issue, as I'm unable to get the agents to create collections when the preferences are not checked. Do be sure to 1) use the latest code, 2) ensure each agent's preferences are set to what you want, 3) kill PMS, and 4) restart PMS. At least on my system, updates I make to the preferences don't take effect until PMS is killed and restarted.

Cheers, and happy holidays!

fourstix commented 1 year ago

Hi Cody, I am using the latest code and it is still happening for me. I have done all three steps you listed and I still get the collections being created.

fourstix commented 1 year ago

Please re-open this issue, maybe it's dependent on the OS or something.

CodyBerenson commented 1 year ago

@fourstix @JPH71 Let me know how you want to proceed...work offline with each other?

fourstix commented 1 year ago

I'm fine with working offline, just curious are you using Windows or Linux? Can you post the configuration screenshots that work for you? (Maybe I'm missing something or it might help to identify one configuration settings that work vs one that doesn't.)

CodyBerenson commented 1 year ago

For the dirty stuff, I'm using a Windows PMS. Here's my AEBN that creates no collections. I recommend you create a testing library. Only copy one or two titles to it. Double check your agent settings, kill PMS, restart PMS, and if it still creates the collections please upload your log file for @JPH71 to look at. Perhaps there are Linux environmental differences that are mucking things up.

image image

fourstix commented 1 year ago

Interesting. I don't have "Clear previously set meta-data" checked. I also don't have "match against IAFD's length" checked.

fourstix commented 1 year ago

I also have "Use Back Art" and "Place Cast Legend" checked, along with the Plex Token value set. I'm going to try setting "Clear Previously set meta-data" first... then do then start and stop Plex and try again.

CodyBerenson commented 1 year ago

@fourstix the only way to get rid of collections in the collections tab is to physically delete them yourselves. This is a feature of Plex. Our agent may clear tags out of any given collection, but it will not delete the collection. Hope that makes sense. This is why I suggested starting with a clean library.

fourstix commented 1 year ago

I did delete the collections from the library before I did the match. It still created collections when I matched the file (All Male Studio) - Gay Italiano.mp4 in AEBNiii.

image image image image

I'll try creating a new library and adding that single file to it.

fourstix commented 1 year ago

Same behavior. The new library Test has 3 collections created.

image

CodyBerenson commented 1 year ago

Please upload your AEBN log for Jason to review and diagnose.

fourstix commented 1 year ago

Here it is: com.plexapp.agents.AEBNiii.log

CodyBerenson commented 1 year ago

There's the problem. The agent has been renamed, and AEBNiii has been decommissioned.

Before you copy new sets of agents to your plugins folder, you should DELETE all previous agents and paste in brand new agents.

kill your PMS. take a backup of your agents folder and then delete all of the PGMA agents and folders. There are 24 folders. Ensure that the plugins folder is empty. paste the brand new agents there. When you relaunch PMS, you should no longer see AEBNiii, and just AEBN.

CodyBerenson commented 1 year ago

image

CodyBerenson commented 1 year ago

I apologize for not seeing it before in your screenshots of the (now dead) Agent's settings.

fourstix commented 1 year ago

Good catch! No need to apologize. That makes perfect sense.

fourstix commented 1 year ago

Oh, wow. Now it is creating all the collections! There's even one for each actor.

image image

fourstix commented 1 year ago

Here's the log file: com.plexapp.agents.AEBN.log

fourstix commented 1 year ago

And here are the settings: image image

JPH71 commented 1 year ago

The preferences the agents use are a pain in the arse. You have to open each agent's settings then, tick then untick then click save. As you have replaced all then agents, you need to do this to get the settings recognised - thats why in the log files there is a section which states the settings default and what they are set as currently. This part of the log shows up just after you restart the server.

On Tue, 20 Dec 2022 at 17:51, fourstix @.***> wrote:

And here are the settings: [image: image] https://user-images.githubusercontent.com/5274281/208732942-e22d7305-95a8-4314-8e39-5a4bc4cd2380.png [image: image] https://user-images.githubusercontent.com/5274281/208733070-4a2a52a6-c37c-46ae-9301-9800c6c3c1ff.png

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/203#issuecomment-1359902980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKNZQV4XFWLCE46CQI3WOHWYLANCNFSM6AAAAAASLVGBUE . You are receiving this because you were mentioned.Message ID: @.***>

JPH71 commented 1 year ago

From the last log file you sent, this initial preference set up ran. and stopped. And the settings are as you want - no collections.

  1. go into the library
  2. Delete all the collections
  3. Access the film's tags, by clicking on the lower left icon when you hover over the title.
  4. Delete the collection info from in here
  5. Make sure that none of the fields are locked (showing a yellow padlock to the left of the field)
  6. Save 8 Refresh metadata......

You can do this for the whole library, by selecting all the films, then IMPORTANT: locking the fields, then RE-SELECT and unlocking all the fields. After which you can refresh the metadata....

On Tue, 20 Dec 2022 at 18:02, Jason Hudson @.***> wrote:

The preferences the agents use are a pain in the arse. You have to open each agent's settings then, tick then untick then click save. As you have replaced all then agents, you need to do this to get the settings recognised - thats why in the log files there is a section which states the settings default and what they are set as currently. This part of the log shows up just after you restart the server.

On Tue, 20 Dec 2022 at 17:51, fourstix @.***> wrote:

And here are the settings: [image: image] https://user-images.githubusercontent.com/5274281/208732942-e22d7305-95a8-4314-8e39-5a4bc4cd2380.png [image: image] https://user-images.githubusercontent.com/5274281/208733070-4a2a52a6-c37c-46ae-9301-9800c6c3c1ff.png

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/203#issuecomment-1359902980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKNZQV4XFWLCE46CQI3WOHWYLANCNFSM6AAAAAASLVGBUE . You are receiving this because you were mentioned.Message ID: @.***>

JPH71 commented 1 year ago

Ooh - just seen this AEBNiii is now AEBN GayDVDEmpire is now GayEmpire...

Stop Plex - delete those bundles - copy the new ones in, save the preferences, re-start plex...

On Tue, 20 Dec 2022 at 18:08, Jason Hudson @.***> wrote:

From the last log file you sent, this initial preference set up ran. and stopped. And the settings are as you want - no collections.

  1. go into the library
  2. Delete all the collections
  3. Access the film's tags, by clicking on the lower left icon when you hover over the title.
  4. Delete the collection info from in here
  5. Make sure that none of the fields are locked (showing a yellow padlock to the left of the field)
  6. Save 8 Refresh metadata......

You can do this for the whole library, by selecting all the films, then IMPORTANT: locking the fields, then RE-SELECT and unlocking all the fields. After which you can refresh the metadata....

On Tue, 20 Dec 2022 at 18:02, Jason Hudson @.***> wrote:

The preferences the agents use are a pain in the arse. You have to open each agent's settings then, tick then untick then click save. As you have replaced all then agents, you need to do this to get the settings recognised - thats why in the log files there is a section which states the settings default and what they are set as currently. This part of the log shows up just after you restart the server.

On Tue, 20 Dec 2022 at 17:51, fourstix @.***> wrote:

And here are the settings: [image: image] https://user-images.githubusercontent.com/5274281/208732942-e22d7305-95a8-4314-8e39-5a4bc4cd2380.png [image: image] https://user-images.githubusercontent.com/5274281/208733070-4a2a52a6-c37c-46ae-9301-9800c6c3c1ff.png

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/203#issuecomment-1359902980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKNZQV4XFWLCE46CQI3WOHWYLANCNFSM6AAAAAASLVGBUE . You are receiving this because you were mentioned.Message ID: @.***>

fourstix commented 1 year ago

OK. Thanks for pointing that out. It makes sense.

I stopped Plex and deleted those bundles. I also deleted nymMedia.bundle which was hanging around from an older release.

I then started Plex and went through and update all the settings for each agent I use. Then I went and checked the log file for each one. Believe it or not, I had to redo a couple of agent settings to get all the collections unselected. After doing all that.

I retested, and now it is working as expected and not creating the collections when it matches. Whew!

Thank you for all your patience and help. We can close this issue now.

JPH71 commented 1 year ago

Yes Agent Preferences are a pain in the arse... The first time after a restart it does not get into the search section... I had to tick and untick a number of times save... restart etc...

Brilliant!!!

On Tue, 20 Dec 2022 at 19:12, fourstix @.***> wrote:

OK. Thanks for pointing that out. It makes sense.

I stopped Plex and deleted those bundles. I also deleted nymMedia.bundle which was hanging around from an older release.

I then started Plex and went through and update all the settings for each agent I use. Then I went and checked the log file for each one. Believe it or not, I had to redo a couple of agent settings to get all the collections unselected. After doing all that.

I retested, and now it is working as expected and not creating the collections when it matches. Whew!

Thank you for all your patience and help. We can close this issue now.

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/203#issuecomment-1360039485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKNRHJIT5W5W6UWAQO3WOIAJZANCNFSM6AAAAAASLVGBUE . You are receiving this because you were mentioned.Message ID: @.***>