I need a batch process to bulk create nfo files

I have a ton of episodes of a show which doesn’t have nfo files. The .mp4 files have the title of the episode in it, and I need that transferred to an nfo file so Plex can pick it up. I’m wondering if there is a simple solution that would allow me to do this?

Plex doesn’t work with.nfo files.

To clarify, you mean that my question is out of the scope for Plex, or that nfo files are not accessed by plex?

Both, if you want.

Do you mean the title of the episode is in the file name?

Or do you mean that the title is embedded as a meta tag? In the latter case, Plex can read it already without any involvement of .nfo files or other things.

For the former case, there is 3rd-party software which can take the file name and extract a portion of it and write it as meta tag into your files.

I’ve answered you the same question already a while ago: Is there a program/batch process that automatically creates nfo files based on the filename? - #7 by OttoKerner

1 Like

Thanks again. I reviewed it and made the changes with mp3tag. My only question is how do you deal with titles which are extended?

For instance, %title% %title% %title% %title% can work for a four word title, but not a 7 word title. It improperly formats title name metadata if it is not exact.

There is unfortunately no magic bullet.
I think it is unlucky if your file names don’t contain any separation characters, which you could use to define a clear cutoff point between the actual title and other information, as the date or the season/episode number etc.

1 Like

@gomipanda

If I may add here,

There are some programs (renaming utilities) which will read the embedded info and use that as the basis for internet lookup which will lead to a properly named file.

Have you considered this option?

1 Like

Thanks - it actually worked out with mp3tag.

The issue is thetvdb etc. do not include a descriptive title, just a generic “Episode 1.” So I had to manually create these.

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