How ghovmand/nfoupdater works
Main Components
a) Input/Output Components:
• Movie Collection Directory (Input)
• NFO Files (Input/Output)
• Image Files (Output)
b) Processing Components:
• NFO File Parser
• TMDB API Client
• Image Downloader
• NFO File Updater
c) External Services:
• TMDB API Service
[File System Layer]
• Movie Collection Directory
• Movie Directory 1
• NFO File
• Movie File
• Poster Image
• Fanart Image
• Movie Directory N
[Application Layer]
• NFO Parser (xml2js)
• Movie Metadata Extractor
• TMDB Client (moviedb)
• API Key Configuration
• File Operations
• Directory Scanner (glob)
• Image Downloader
• NFO File Writer
[External Service Layer]
• TMDB API
Design Elements
Use the following visual elements:
• Blue rectangles for file system components
• Green rectangles for application components
• Yellow rectangles for external services
Notes for Implementation
• The sequential nature of the operations
• The dependency on external services
• The file system interaction patterns
• The transformation of data from NFO files through TMDB lookup to updated files
• Text labels
• Grouping of related components