Hi there,
I have a specific task that requires your assistance. I possess a custom database containing translated descriptions, second titles(sub_title), TMDb IDs, IMDb IDs, custom poster filenames, and other relevant information (a CSV file is attached below).
My goal is to generate NFO files either post process of renaming a movie/show or based on existing renamed one. These NFO files should incorporate the translated descriptions, titles, and paths to custom posters as outlined in the CSV.
Thanks for your help.
Generate NFO files from custom CSV database post-processing
-
- Posts: 33
- Joined: 13 May 2023, 12:21
-
- Posts: 33
- Joined: 13 May 2023, 12:21
Re: Generate NFO files from custom CSV database post-processing
Unfortunately, the built-in --apply nfo post-processing feature does not allow for customization.
If you mean to read your own CSV files, and then write new NFO files, perhaps in combination with existing NFO files or xattr metadata, then that is unfortunately out-of-scope here. It's basically writing your own code, so best to use whichever programming language you're most familiar with.
The aspect that I can help you with is extracting information from previously processed files with the filebot command:
If you mean to read your own CSV files, and then write new NFO files, perhaps in combination with existing NFO files or xattr metadata, then that is unfortunately out-of-scope here. It's basically writing your own code, so best to use whichever programming language you're most familiar with.
The aspect that I can help you with is extracting information from previously processed files with the filebot command:
Console Output: Select all
$ filebot -mediainfo -r /path/to/input --format "{type} | {tmdbid} | {n} | {country} | {language} | {certification} | {f}"
Episode | 2046 | Alias | US | eng | TV-14 | Alias - 1x01 - Truth Be Told.mkv
Movie | 19995 | Avatar | US | eng | PG-13 | Avatar (2009).mp4
Please read the FAQ and How to Request Help.
-
- Posts: 33
- Joined: 13 May 2023, 12:21
Re: Generate NFO files from custom CSV database post-processing
This is great it's a good starting point i can use the TMDd ID from this and find the matching data in my CSV then generate the nfo. I have made a small python script I'll post here if i get any success with it. I have a question though will filebot or jellyfin fill in the rest of the missing nfo info if i only include (title, sub_title, description, tagline, thumb, tmdbid, imdbid)?rednoah wrote: ↑06 Aug 2024, 04:01 The aspect that I can help you with is extracting information from previously processed files with the filebot command:Console Output: Select all
$ filebot -mediainfo -r /path/to/input --format "{type} | {tmdbid} | {n} | {country} | {language} | {certification} | {f}" Episode | 2046 | Alias | US | eng | TV-14 | Alias - 1x01 - Truth Be Told.mkv Movie | 19995 | Avatar | US | eng | PG-13 | Avatar (2009).mp4
Re: Generate NFO files from custom CSV database post-processing
FileBot uses NFO files to help identify files, i.e. it'll only parse the ID number and that's about it. AFAIK, Plex / Jellyfin / etc do not really rely much on offline NFO information unless configured to do so, but you'd have to run your own tests to confirm. Best to ask the Plex or Jellyfin community directly.
Please read the FAQ and How to Request Help.