What would be involved in making my own media scanner or agent?

A while back I made a post about mass editing the titles of youtube videos I had added to Plex and the solution provided didn’t really work that well. The titles were correct, but the sorting was completely wrong. So I had substituted one problem for another.

I would like to know how I would go about making my own media scanner or agent. I’m not sure which does what.

I’d want the sort title to stay as the file name since the file name has sorting metadata built into it, but the title to be based off of a subset of the file name which would require a regular expression.

Anyone?

A scanner scans files matching a particular set of criteria. TV show numbering, File types

An agent gets metadata for those files

I am not a dev but most agents I know of require knowledge of programming Python

1 Like

That’s okay, I’m not great with python but I can manage. How do I get started writing my own agent?

sorry not a dev. i would look at another existing agent and go from there. maybe edit to suit your needs. https://forums.plex.tv/tags/c/third-party/development/scanner-agent-dev

https://readthedocs.org/projects/python-plexapi/downloads/pdf/latest/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.