Commit Graph
100 Commits
Author SHA1 Message Date
sbcrumb bf7fb27fdb Fix dev workflow hanging and implement runtime branch detection
- Fix duplicate Dockerfile sections that were causing build hangs
- Replace complex build args with simple runtime git branch detection
- Revert CI workflows to working state (remove build args and debug code)
- Add automatic version tagging: dev branch shows "0.2.15-dev"
- Enhanced movie fallback logic for rename-first scenarios
- Improved logging to trace movie date decision process
2025-09-10 08:54:47 -04:00
sbcrumb 6f356b1942 versions 2025-09-10 08:29:04 -04:00
sbcrumb 4e786d775b Add configurable TV season directory naming
Features:
- TV_SEASON_DIR_FORMAT: Configurable season folder creation (Season {season:02d})
- TV_SEASON_DIR_PATTERN: Configurable season folder detection (season )
- Support for different naming conventions (Season 01, S01, Season01, etc.)
- Updated .env.template with TV configuration examples

Fixes hardcoded 'Season ' patterns for better flexibility
2025-09-09 20:25:03 -04:00
sbcrumb 4f12d77d98 Fix CI pipe error in docker history command
- Add fallback to prevent exit 141 from broken pipe
- Build succeeded, just a minor display issue
2025-09-09 20:15:12 -04:00
sbcrumb 6ce4db099a Create dev branch with dedicated CI workflow
- Add ci-dev.yml for dev branch builds
- Builds to nfoguard:dev tags (separate from main)
- Independent cache: dev-buildcache
- Separate deployment flow
- Updated main CI to ignore dev branch

Usage: docker pull 192.168.253.221:3000/jskala/nfoguard:dev
2025-09-09 20:14:06 -04:00
sbcrumb 49e2ec6c88 Fix EventType detection: movieFileRenamed is 8, not 7
Found via database inspection:
- The Matrix first event: EventType 8 (movieFileRenamed)
- Followed by EventType 3 (downloadFolderImported) upgrade
- Was checking for EventType 7, should be EventType 8

This should now correctly detect rename-first scenarios
and prefer digital release dates over upgrade dates.
2025-09-09 18:28:40 -04:00
sbcrumb 6f04031e33 Add debug logging to diagnose Matrix history issue
- Show first 3 events in movie history
- Log event types to identify if first event is rename (Type 7)
- Debug why Matrix (tt0133093) not detecting rename-first pattern
2025-09-09 18:02:33 -04:00
sbcrumb f1814abdcd cahce 2 2025-09-09 17:25:39 -04:00
sbcrumb af94337ad0 build cache 2025-09-09 17:24:33 -04:00
sbcrumb 2198d796b9 fix order 2025-09-09 17:20:33 -04:00
sbcrumb afe93b4a8a imdb updates 2025-09-09 17:13:14 -04:00
sbcrumb 8be7452f0e iupdate 2025-09-09 17:04:59 -04:00
sbcrumb 53f3f7f2f0 Clean up temporary troubleshooting files 2025-09-09 16:56:14 -04:00
sbcrumb 740aa9036b all local 2025-09-09 16:45:02 -04:00
sbcrumb 41ef3d80c8 smaller image 2025-09-09 16:43:47 -04:00
sbcrumb c1e1a0529e updates AGAIN 2025-09-09 16:40:57 -04:00
sbcrumb d59df0f2c9 local 2025-09-09 16:39:33 -04:00
sbcrumb ba7d6c3620 up 2025-09-09 16:37:49 -04:00
sbcrumb db7d63fe15 fix docker 2025-09-09 16:36:06 -04:00
sbcrumb 51e63ae71b remove https 2025-09-09 16:34:41 -04:00
sbcrumb 27cb38c3bb git updates 2025-09-09 16:26:07 -04:00
sbcrumb f29d060d59 docker reg update 2025-09-09 16:19:53 -04:00
sbcrumb 8aeef814b0 push 2025-09-09 16:12:24 -04:00
sbcrumb 9d3d798055 update again sudo 2025-09-09 16:09:11 -04:00
sbcrumb 626f9bd86e update docker flow to local reg 2025-09-09 16:07:16 -04:00
sbcrumb 39073dcb70 workflow changes chat 2025-09-09 16:00:36 -04:00
sbcrumb c0dd5df45d update no sudo 2025-09-09 15:45:36 -04:00
sbcrumb 07719b7cf3 update workflow to temp 2025-09-09 15:44:09 -04:00
sbcrumb 59ffeb46fb update workflow username 2025-09-09 15:42:46 -04:00
sbcrumb 9755bd87b2 push to registry 2025-09-09 15:18:58 -04:00
sbcrumb f8f5f95a34 update docker file 2025-09-09 15:07:53 -04:00
sbcrumb 679d2facae update docker 2025-09-09 15:04:51 -04:00
sbcrumb 00127fbd98 update 2025-09-09 15:02:48 -04:00
sbcrumb 10c1d3c4fe remove old gitflow 2025-09-09 14:58:45 -04:00
sbcrumb 58f83a8523 install nodejs 2025-09-09 14:57:58 -04:00
sbcrumb 0dcd132355 Remove GitHub workflows - migrated to Gitea 2025-09-09 14:57:38 -04:00
sbcrumb ac5bbfdc79 workflow updates for backend 2025-09-09 14:53:56 -04:00
sbcrumb 9ae77cae5e workflow updates 2025-09-09 14:52:08 -04:00
sbcrumb 9342261c7d runner setup 2025-09-09 14:49:45 -04:00
sbcrumb 13fedd6fe0 Migrate workflows from .github to .gitea 2025-09-09 14:45:54 -04:00
sbcrumb 15a2427a25 update readme 2025-09-09 11:12:01 -04:00
sbcrumb 4a9aecbc22 updates 2025-09-09 10:59:45 -04:00
sbcrumb 49a2c1788a adding docker example updates 2025-09-09 10:44:35 -04:00
sbcrumb 4685c970af add api secrets seperate from .env 2025-09-09 10:20:46 -04:00
sbcrumb b2938758e2 fix file date release to option not required 2025-09-09 10:03:54 -04:00
sbcrumb 0aa9655d25 digital logic updates 2025-09-09 09:52:55 -04:00
sbcrumb d75016bbf2 tmdb debuging 2025-09-09 09:39:43 -04:00
sbcrumb fed82a9e13 digital release logic 2025-09-09 09:30:20 -04:00
sbcrumb bbbf4b63cc digital release date 2025-09-09 09:18:33 -04:00
sbcrumb 149bf9acd3 added back tmdb 2025-09-09 08:55:02 -04:00
sbcrumb dd215d2f38 db updates 2025-09-09 08:50:21 -04:00
sbcrumb 9fcf5d8303 bulk update 2025-09-09 08:36:25 -04:00
sbcrumb f851e817d9 update db 2025-09-08 18:05:05 -04:00
sbcrumb 19b40c0fd5 update to db call 2025-09-08 18:00:50 -04:00
sbcrumb 935307a74d update to database only 2025-09-08 17:56:43 -04:00
sbcrumb 6f47df201d db error 2025-09-08 17:45:06 -04:00
sbcrumb e618b71620 updates again 2025-09-08 17:42:02 -04:00
sbcrumb 678f84b6ef c4-rdarr db updates 2025-09-08 17:33:41 -04:00
sbcrumb 0def0e33af fix(radarr): improve event type parsing and grab event validation
- Fix string-based event type parsing (grabbed, downloadFolderImported, etc.)
- Filter grab events to only count actual downloads with metadata
- Fix JSON parsing errors for dict-type event data
- Enhanced chronological processing for accurate import date detection
- Validate grab events require sourceTitle or indexer info

Fixes issue where library addition events were mistaken for download grabs,
ensuring only real download timestamps are used for
2025-09-08 15:43:04 -04:00
sbcrumb 65794ae038 fix looking at radarr in a string and us eventid 2025-09-08 15:35:33 -04:00
sbcrumb cd77065a0f update logs and try statments 2025-09-08 15:29:30 -04:00
sbcrumb e389893e14 use date earliest 2025-09-08 15:14:32 -04:00
sbcrumb 7dbe014f03 update path maps 2025-09-08 15:08:01 -04:00
sbcrumb 4e4ddbf92a updates to api and logging 2025-09-08 15:04:20 -04:00
sbcrumb e40e80bfb5 updates to api calls 2025-09-08 14:50:03 -04:00
sbcrumb 157ba581b7 new event ID lookup 2025-09-08 14:38:17 -04:00
sbcrumb 134fb0c5c3 feat: Track grab dates as fallback when no imports found 2025-09-08 13:34:48 -04:00
sbcrumb 8702c9556d feat: Improved import detection and reduced debug noise 2025-09-08 13:25:17 -04:00
sbcrumb 900da1ba4f feat: Enhanced Radarr import detection with flexible path matching and improved logging 2025-09-08 12:18:53 -04:00
sbcrumb 6e3651ca39 feat: Enhanced Radarr import detection with flexible path matching 2025-09-08 12:16:59 -04:00
sbcrumb 78f73845fd better radarr debug 2025-09-08 12:14:51 -04:00
sbcrumb 38bcb9cf28 api radarr debugs 2025-09-08 12:14:04 -04:00
sbcrumb 78c09e3b13 running down radarr API issues 2025-09-08 12:06:01 -04:00
sbcrumb e4da166300 radarr updates 2025-09-08 11:49:18 -04:00
sbcrumb e89eb73bb4 radarr api issues again 2025-09-08 11:41:30 -04:00
sbcrumb 1ea7edeefa more api radarr changes 2025-09-08 11:33:39 -04:00
sbcrumb 946b024fd3 more radarr debugs 2025-09-08 11:20:00 -04:00
sbcrumb 75bf1b470e api update 2025-09-08 11:06:56 -04:00
sbcrumb 932db05646 another api debug 2025-09-08 10:58:29 -04:00
sbcrumb 282717314a api updates 2025-09-08 10:55:03 -04:00
sbcrumb af6e5b5ad1 added radarr debug dates 2025-09-08 10:38:16 -04:00
sbcrumb f942b4c253 radarr date troubshooting 2025-09-08 10:29:28 -04:00
sbcrumb 5cc237461c updates for debug scan 2025-09-08 10:21:38 -04:00
sbcrumb 5537b3b158 update missing module 2025-09-08 10:10:42 -04:00
sbcrumb f73875acdd refactor 2025-09-08 10:05:04 -04:00
sbcrumb e6d65c4982 another radarr fix 2025-09-08 09:23:27 -04:00
sbcrumb ee7525625c radarr updates 2025-09-08 09:13:22 -04:00
sbcrumb 71250c9ddb updates to radarr 2025-09-08 09:05:52 -04:00
sbcrumb d8f304c352 updates 2025-09-08 08:57:29 -04:00
sbcrumb c3d1f50cfb update 2025-09-07 21:13:46 -04:00
sbcrumb 085e43a37b update 2025-09-07 20:58:02 -04:00
sbcrumb d3d7e268e5 add loggin 2025-09-07 13:45:11 -04:00
sbcrumb 87e05a363d fix: prever TMDB over radarr for release date fallbacks 2025-09-07 13:17:16 -04:00
sbcrumb 92dc1c24de ifix dates 2025-09-07 13:11:35 -04:00
sbcrumb edf292211e dates 2025-09-07 12:57:52 -04:00
sbcrumb aef482506e fix 2025-09-07 12:44:01 -04:00
sbcrumb 3e8774b285 fix: dat 2025-09-07 12:34:49 -04:00
sbcrumb 5274c06223 fix: date issues 2025-09-07 12:28:06 -04:00
sbcrumb 8942c7426f chre:fix date issues 2025-09-07 12:18:33 -04:00
sbcrumb 5866713e1b chore:fix radarr date issue 2025-09-07 12:14:01 -04:00