- Split large renderer.js file into 8 separate class files: - AppState.js: Manages application state - FileListManager.js: Handles file list display and manipulation - TagManager.js: Manages file tagging functionality - EpisodeManager.js: Handles episode number editing and highlighting - SearchManager.js: Manages TVDB search and show selection - FileManager.js: Handles file operations - ModalManager.js: Manages video preview modal - ProgressManager.js: Manages progress display - UIManager.js: Main coordinator for UI functionality - Follows SOLID principles and single responsibility - Improves code maintainability and testability - All syntax verified with node --check
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%