Correct use of TMDB and IMDb tags

To ensure accurate matching for scraping, I’ve added both the TMDB ID and IMDb ID to my movie filenames.

Each of my movies are in a folder formatted as:

Movie Name (Year)

Each movie folder contains the associated movie formatted as:

Movie Name (Year) {tmdb-xxxxxx} {imdb-ttxxxxxxxx} {edition-xxxxxxxx}.mp4

Artwork and subtitles are also included in each movie folder.

Below is an example of my folder structure:

Media
  /Movies
    /Cocaine Bear (2023)
      Cocaine Bear (2023) {tmdb-804150} {imdb-tt14209916}-clearlogo.png
      Cocaine Bear (2023) {tmdb-804150} {imdb-tt14209916}-fanart.jpg
      Cocaine Bear (2023) {tmdb-804150} {imdb-tt14209916}-poster.jpg
      Cocaine Bear (2023) {tmdb-804150} {imdb-tt14209916}.en.SDH.sup
      Cocaine Bear (2023) {tmdb-804150} {imdb-tt14209916}.mp4
      /Trailers
        Official Trailer.mp4

    /Mayhem (2017)
      Mayhem (2017) {tmdb-429733} {imdb-tt4348012}-clearlogo.png
      Mayhem (2017) {tmdb-429733} {imdb-tt4348012}-fanart.jpg
      Mayhem (2017) {tmdb-429733} {imdb-tt4348012}-poster.jpg
      Mayhem (2017) {tmdb-429733} {imdb-tt4348012}.en.SDH.sup
      Mayhem (2017) {tmdb-429733} {imdb-tt4348012}.mp4
      /Trailers
        Official Trailer.mp4

  /TV Shows
    /Enlisted (2014)
      clearlogo.png
      /Deleted Scenes
        In the trenches.mp4
      fanart.jpg
      poster.jpg
      /Season 1
        Enlisted - s01e01 - Pilot.en.SDH.srt
        Enlisted - s01e01 - Pilot.mp4
        Enlisted - s01e02 - Parade Duty.en.SDH
        Enlisted - s01e02 - Parade Duty.mp4
      season01-poster.jpg
      season-all-poster.jpg
  1. Is it problematic to have both the TMDB ID and IMDb ID included in the filenames, or should I include only one of them? I know I don’t NEED the IMDb ID, but I’ve included it for possible future reference. I also know that it’s OK to include both in an NFO, but I’m not sure if it’s OK for both to be in a filename.

  2. Do I need to include the ID(s) in the folder names as well, or is the filename sufficient?

  3. I know Infuse doesn’t support these ID tags in TV shows, but is it OK to include them anyway in case they may be useful in the future? If so, should the IDs be included in the filename of each episode or the folder name for the TV show?

  4. If I later decide to include these IDs in an NFO, is it OK to remove them from the filename? Is one method preferred?

Thanks for any advice!