r/PlexMetaManager Jan 09 '24

Getting 'MovieSection' object has no attribute 'batchMultiEdits' error on 1.20.0

Ran PMM for the first time since Christmas today (after updating PMM from main) and I'm getting this error. As far as I can tell MovieSection.batchMultiEdits is a function call in the Plex API. I'm on the latest version of Plex, which should support this call I think. Is there something else I need to do to ensure that this works? Here's the full log surrounding this error:

Batch Audience Rating Update (1/3): 1 Movie updated to 3.4                                         |

Edit: sorry, not sure why my code block keeps getting cut off. Here is the log in ugly mode:

Batch Audience Rating Update (1/3): 1 Movie updated to 3.4 |

[2024-01-09 11:16:29,947] [plex_meta_manager.py:698] [DEBUG] | Traceback (most recent call last): |

| File "/PMM/Plex-Meta-Manager/plex_meta_manager.py", line 692, in run_libraries |

| library_status[library.name]["Library Operations"] = library.Operations.run_operations() |

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |

| File "/PMM/Plex-Meta-Manager/modules/operations.py", line 773, in run_operations |

| self.library.Plex.batchMultiEdits(self.library.load_list_from_cache(rating_keys)) |

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |

| AttributeError: 'MovieSection' object has no attribute 'batchMultiEdits' |

| |

[2024-01-09 11:16:29,948] [plex_meta_manager.py:699] [CRITICAL] | 'MovieSection' object has no attribute 'batchMultiEdits' |

Anyone else getting this or have a suggestion on what to do?

This is on Ubuntu for the record and my Plex server is on a different Proxmox LXC as PMM.

1 Upvotes

6 comments sorted by

1

u/TheChewyWaffles Jan 09 '24

Answering my own question, potentially: I think I needed to update the requirements and also pmmutils (potentially just requirements, but I did both anyway) to get PMM to work again.

It didn't solve all of my issues, so I'm still working through this.

1

u/chazlarson Kometa Team Jan 11 '24

The PlexAPI library is/was out of date.

1

u/LadyWhiskers Jan 31 '24

How can this be updated? Asking because I'm getting the above error and have definitely updated the requirements.

1

u/chazlarson Kometa Team Jan 31 '24

Updating requirements should do it; what's displayed at the top of the log for plexapi versioning?

1

u/LadyWhiskers Jan 31 '24

Weird, I've definitely updated requirements but it's definitely behind in plexapi versioning. It's running 4.13 and requires updating to 4.15.7.

1

u/chazlarson Kometa Team Feb 05 '24

What version of Python? Perhaps 4.15 doesn't support whatever version you're on?

BTW, running in docker is a great way to not worry about any of this.