33 Commits

Author SHA1 Message Date
5b1d24ae4a Add file editing via double-click and fix TVDB ID appending logic
- Add double-click handler to make file names editable in UI
- Remove duplicate IPC handler for rename-file in renderer.js
- Fix checkEpisodeCountMatch to properly validate sequential episodes
- Fix begin-mapping to handle both season folder and show folder cases
- Improve open-file-in-player handler to properly log results
2026-02-26 19:20:15 -06:00
c23f8cb484 fix: Implement proper tagging feature with file movement
- Fix handleTagClick to unselect other tags when selecting new tag
- Add handlePlayButtonClick to move individual tagged files
- Add 'behind-the-scenes' tag support to main.js
- Map tag types to Jellyfin-compatible folder names
- Add comprehensive test coverage (24 new tests)
- Fix displayCreatedFolder folder name mapping issue

This implements the full tagging workflow: tag a file with extra/
behind-the-scenes/delete, then click play button to move it to the
appropriate folder.
2026-02-25 10:13:05 -06:00
8ebd419a91 Fix episode range format to include E prefix on both episodes
- Changed S05E01-03 to S05E01-E03 (proper format with E prefix on end episode)
- File now names correctly as 'Demon Slayer S05E01-E03 - 1080p.mkv'
2026-02-25 00:34:16 -06:00
17b10edbbc Fix show name extraction to remove leading semicolons
- Add regex to strip leading semicolons/colons from show folder name
- This fixes filenames like ';Demon Slayer S05E01-03' -> 'Demon Slayer S05E01-03'
2026-02-25 00:33:07 -06:00
b2e4f2d45e Fix episode number arrow cascade and remove Update Ranges button
- Add isUpdatingEpisodeNumbers flag to prevent re-entrant calls
- Arrow buttons now properly cascade shifts to all subsequent episodes
- Remove Update Ranges button and associated code
- Remove DevTools auto-open for cleaner release
- Syntax validation passes
2026-02-25 00:24:54 -06:00
46bfba582d Fix arrow button episode number cascading - all subsequent episodes now shift correctly 2026-02-25 00:17:51 -06:00
30eba3ae4e Add Begin Mapping feature with Jellyfin naming, fix tvdbid regex 2026-02-22 03:08:51 -06:00
92320cc908 Add delete tag, episode count matching indicator, fix season episode counts 2026-02-22 02:33:41 -06:00
ef2fbd1a95 MKV opens directly in player, improved search results contrast, updated AGENTS.md 2026-02-22 02:04:30 -06:00
98d6810066 Fix play button, add progress spinner, folder navigation, and UI improvements 2026-02-22 01:38:48 -06:00
4b1c3e0fc6 Clean up all duplicate path declarations in main.js 2026-02-21 16:06:16 -06:00
7717315c84 Add startup log file creation with error handling 2026-02-21 16:03:47 -06:00
ad6c9b0d8d Fix duplicate path declaration properly 2026-02-21 15:59:15 -06:00
937200bf79 Fix duplicate variable declaration in main.js 2026-02-21 15:58:48 -06:00
ce07fdbb74 Add debug logging to file moving functionality 2026-02-21 15:58:08 -06:00
b4a23b5fd7 Add comprehensive debugging to move functionality 2026-02-21 15:53:45 -06:00
83a5a734b8 Add detailed logging to file moving functionality for debugging 2026-02-21 15:51:42 -06:00
c795c39d94 Add functionality to move tagged files to extra/commentary folders 2026-02-21 15:47:48 -06:00
4ba3b629a1 Implement video preview feature with centered modal, MKV file support, and improved user experience 2026-02-19 10:40:54 -06:00
d3aac3261d attempts at move to extra 2026-02-19 09:47:06 -06:00
987e01945e feat: Implement real TVDB v4 API integration with season/episode functionality and clean table display 2026-02-19 09:19:01 -06:00
e3c9e5f54c Refined show details implementation to properly handle season loading 2026-02-18 22:11:58 -06:00
789930997d Simplified show details implementation to avoid API parameter errors 2026-02-18 22:10:29 -06:00
0523ac2f1f Fix TVDB API implementation - use search by ID approach to avoid 'InvalidValueType' error 2026-02-18 22:07:26 -06:00
e0a350b65f Simplified and fixed TVDB API show details implementation - removed problematic fallback code 2026-02-18 22:01:51 -06:00
093a455bcf Further refine TVDB API show details implementation with better error handling 2026-02-18 21:59:32 -06:00
956dce038d Fix TVDB API endpoint issue - corrected show details endpoint 2026-02-18 21:58:12 -06:00
1cd7fab414 Implement enhanced TVDB v4 API functionality: show seasons and episodes with clickable navigation 2026-02-18 21:56:46 -06:00
8fd6df7d3e Remove all mock data and fully implement TVDB v4 API integration 2026-02-18 21:54:19 -06:00
315bd2a41c Added dotenv package and implemented proper .env file loading for Electron application. Fixed API key loading issue. 2026-02-18 21:47:11 -06:00
76a2b8abb3 Fixed environment variable handling for TVDB API key. Added fallback to process.env.API_KEY for better compatibility. 2026-02-18 21:46:04 -06:00
f032d57827 Implemented real TheTVDB v4 API integration for search functionality. Added axios dependency for API calls. Search now connects to actual TVDB API instead of mock data. 2026-02-18 21:44:44 -06:00
ac2248d7ed Enhanced error handling for problematic files with visual labeling. Fixed ffprobe issues with files like IGPX - The Complete Stage - Disc 2_t08.mkv. Added ⚠️ label for files that fail to process. Application now continues working normally even when encountering problematic media files. 2026-02-18 21:27:04 -06:00