- Enable contextIsolation, disable nodeIntegration, remove enableRemoteModule - Add preload.js with safe contextBridge API exposure - Fix OS command injection: exec() → execFile() in open-file-in-player - Fix DOM XSS: replace innerHTML with textContent/createElement in FileListManager, UIManager, ModalManager - Remove direct fs/electron access from renderer, route through IPC - Add validate-folder and get-file-stats IPC handlers - Load renderer modules via script tags with require polyfill
MovieMapper
A desktop application for organizing and managing movie and TV show collections.
Features
- Browse and scan directories for media files
- Search TV shows using TheTVDB API
- View show details, seasons, and episodes
- Rename files by clicking on the file name
- Display video durations in mm:ss format
Installation
- Clone the repository
- Install dependencies:
npm install - Run the application:
npm startorelectron .
Dependencies
- Electron
- fluent-ffmpeg (for video duration detection)
- TheTVDB API integration
Usage
- Click "Select Directory" to choose a folder containing media files
- The application will scan the directory and display media files with their durations
- Click on any file name to rename it
- Use the search functionality to find TV shows and their details
Languages
JavaScript
53.3%
Rust
41.4%
HTML
2.7%
Shell
1.2%
Python
0.7%
Other
0.7%