I have a number of MP4 files with embedded tags. Plex seems to grab the Title, Genre & Year tags just fine. The text I would like in the Summary is currently in the “Comment” tag. Using a tag editor, I could probably get the text into another tag field If I knew which one Plex local assets was looking for. Does anyone know or have another suggestion other than copy - paste one by one?
Thanks
The summary comes from description or long description. Almost all tags are read genre, sort title, cast, etc but not comment. What you might think about is making another copy of local agent rename it then change to summary to come from the comment field
This makes perfect sense. Can some tell me, on Windows, What is the filename or path where I can find the local agent? Can this be edited in Notepad++ or do I require a specific editor to work with this file?
Does it also make sense that as an alternative, I could use a tag editor to get the text in the “comment” field into the “description” field? The current tag editor I use (Mp3tag) doesn’t seem to support description or long description.
It is just your personal preference, really how many movies you have to edit. The link for a copy of the local agent: https://github.com/plexinc-agents/LocalMedia.bundle . I dont use windows so I dont which programs to use in your situation.
OK I am posting this as an FYI. Here’s what I ended up doing.
Firstly I run windows, other OS will have different paths. I found the on my install the LocalMedia.bundle folder is not located at C:\Users%username%\AppData\Local\Plex Media Server\Plug-ins. It is instead found at: C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-7efd046\LocalMedia.bundle. I was able to open videohelpers.py with Notepad++ and changed summary to pull in the comment tag (xa9cmt) . Re-scanned library in question and had several hundred files properly tagged in just a little bit.
One warning. If plex updates the local media agent it will overwrite your changes. That’s why I made a copy of the agent and renamed it. Learned the hard way
i figured as much. I may do that in the future. It was easier for me to modify the original than to figure out how to get Plex to recognize the renamed copy. Thanks for your help.
I know this is an old thread, but for anyone that finds this via search:
You can populate the summary information via MP4 tags if you use the “SUBTITLE” field in mp3tag. So instead of trying to create custom tags, just put whatever you want to display in the summary in the subtitle field.
Much easier than trying to modify the scanners/metadata agents.
@kwarner04 said:
I know this is an old thread, but for anyone that finds this via search:You can populate the summary information via MP4 tags if you use the “SUBTITLE” field in mp3tag. So instead of trying to create custom tags, just put whatever you want to display in the summary in the subtitle field.
Much easier than trying to modify the scanners/metadata agents.
Hi. I tried this and it did not work. I’m using the MP3Tag v2.87a. Btw, the SUBTITLE field in mp3tag shows up as “Description” field in MediaInfo but the Summary field in Plex remains empty.
@KenJ said:
Hi. I tried this and it did not work. I’m using the MP3Tag v2.87a. Btw, the SUBTITLE field in mp3tag shows up as “Description” field in MediaInfo but the Summary field in Plex remains empty.
The appropriate field in mp3tag is PODCASTDESC
. Go figure.
@OttoKerner said:
@KenJ said:
Hi. I tried this and it did not work. I’m using the MP3Tag v2.87a. Btw, the SUBTITLE field in mp3tag shows up as “Description” field in MediaInfo but the Summary field in Plex remains empty.The appropriate field in mp3tag is
PODCASTDESC
. Go figure.
I tried setting the PODCASTDESC field. It shows up as the “Long Description” in MediaInfo. And unfortunately, it does not show up in the Plex Summary field. I even tried temporarily removing the video file and re-adding to no avail.
What I want to do is be able to edit and embed the Tag that Plex identifies as “Summary” in a TV Show when I’m using the Extended Personal Media scanner and agent. I’ve tried MetaZ, subler, and mp3tag thusfar and have not found a solution.
PODCASTDESC is the field to use for the summary of a movie.
I have no experience with local metadata for tv shows.
I’m afraid you cannot embed the description for the show as a whole, but only for the particular episode.
You might want to look at Kodi-compatible .nfo
files.
Install the .nfo importer agents to import the content of these nfo files into Plex.
@OttoKerner said:
PODCASTDESC is the field to use for the summary of a movie.I have no experience with local metadata for tv shows.
I’m afraid you cannot embed the description for the show as a whole, but only for the particular episode.You might want to look at Kodi-compatible
.nfo
files.
Install the .nfo importer agents to import the content of these nfo files into Plex.
Good suggestion. I’m choosing “TV Show” type for my home videos because the Extended Personal Media scanner/agent requires it. I’ll take a look at the Kodi methodology via nfo files.
Hi @OttoKerner, would you happen to know what field to use to alter or add cast members/actors?
I’ve played around with both editing .mp4 metadata and creating my own .nfo files from scratch (alongside that agent plugin) and haven’t had any luck getting that particular change to appear in Plex.
Thanks!
Yes, but you won’t like it
The tag used is called ITUNMOVI
and its content is a fully-blown XML document
Here is an example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>studio</key><string>Marvel</string>
<key>cast</key>
<array>
<dict>
<key>name</key><string>Benedict Cumberbatch</string>
<key>adamId</key><integer>122820676</integer>
</dict>
<dict>
<key>name</key><string>Chiwetel Ejiofor</string>
<key>adamId</key><integer>7386435</integer>
</dict>
<dict>
<key>name</key><string>Rachel McAdams</string>
<key>adamId</key><integer>291822509</integer>
</dict>
<dict>
<key>name</key><string>Benedict Wong</string>
<key>adamId</key><integer>331842142</integer>
</dict>
<dict>
<key>name</key><string>Michael Stuhlbarg</string>
<key>adamId</key><integer>350821416</integer>
</dict>
<dict>
<key>name</key><string>Benjamin Bratt</string>
<key>adamId</key><integer>189047878</integer>
</dict>
<dict>
<key>name</key><string>Scott Adkins</string>
<key>adamId</key><integer>275394639</integer>
</dict>
<dict>
<key>name</key><string>Mads Mikkelsen</string>
<key>adamId</key><integer>285532302</integer>
</dict>
...
</array>
<key>directors</key>
<array>
<dict>
<key>name</key><string>Scott Derrickson</string>
<key>adamId</key><integer>293233407</integer>
</dict>
</array>
<key>codirectors</key>
<array>
</array>
<key>producers</key>
<array>
<dict>
<key>name</key><string>Kevin Feige</string>
<key>adamId</key><integer>287686346</integer>
</dict>
</array>
<key>screenwriters</key>
<array>
<dict>
<key>name</key><string>Scott Derrickson</string>
<key>adamId</key><integer>293233407</integer>
</dict>
<dict>
<key>name</key><string>Jon Spaihts</string>
<key>adamId</key><integer>1165220197</integer>
</dict>
<dict>
<key>name</key><string>C. Robert Cargill</string>
<key>adamId</key><integer>533528185</integer>
</dict>
</array>
</dict>
</plist>
…of course its content is an XML document.
Even though its not a simple fix, I do really appreciate it. Thank you very much for pointing me in the right direction!
There’s a chance I’m overdoing it here, or should be posting in feature requests, but:
-
I have a vague feeling that those integer numbers are important, do those determine whether or not an actors’ movies are shown together in a search? Or perhaps Plex ignores them entirely because that’s just how it rolls.
-
I found the thread where you discussed actor profile photos with @fattydimsum, and I am in awe of your encyclopedic Plex knowledge, sir. Is there a way to add photos into the database for custom-added actors? Overcoming the initals isn’t as important to me as adding the actor names in the first place, but since I’m already in this deep… might as well.
-
A few years back @ChuckPa helped me learn how to add custom studio icons, but they don’t persist through package updates. You wouldn’t have any ideas about how to make them persist, would you?
What are you requesting? Plex already reads the actors from mp4 files.
Don’t know.
Not that I know.
There are no studio logos anymore in the current Plex clients.
It would be ideal if the actor field was editable in Plex itself just like descriptions, titles, etc. People have been asking for years but I’m the only one who has actually voted for it.
Fair enough! Thank you very much for your help. And I can’t believe I didn’t notice the logos weren’t displayed anymore. I’m a little sad now, but I guess that shows how it was a good UI decision on the dev’s part.
That’s probably because this forum software with the voting feature has been running only ~ 24 hrs yet.