Commit Graph

4254 Commits

Author SHA1 Message Date
Zoe Roux 444249dfc4 Singleton try 2025-06-07 17:45:38 +02:00
Zoe Roux 6d70870ef3 Proper app cleanup 2025-06-07 17:45:38 +02:00
Zoe Roux 0839f5afb7 Small fixes & error handling 2025-06-07 17:45:38 +02:00
Zoe Roux 9eae11d3b5 Use fastapi router 2025-06-07 17:45:38 +02:00
Zoe Roux cd874e382f Handle database connection vars 2025-06-07 17:45:38 +02:00
Zoe Roux 0cafe1ef40 Cleanup startup events 2025-06-07 17:45:38 +02:00
Zoe Roux d666cda744 Fix jwks validation in scanner 2025-06-07 17:45:38 +02:00
Zoe Roux 19f346ffb6 Add kid in jwks & jwts 2025-06-07 17:45:38 +02:00
Zoe Roux a29dff1014 Validate jwts in the scanner 2025-06-07 17:45:38 +02:00
Zoe Roux 45a1198f30 Add put /scan to trigger a scan 2025-06-07 17:45:38 +02:00
Zoe Roux 1e65053c37 Map Language for pydantic 2025-06-07 17:45:38 +02:00
Zoe Roux b0dad090ae Start scan & monitor on master instance of scanner 2025-06-07 17:45:38 +02:00
Zoe Roux 53867792f3 Switch to asyncpg & create initial listener 2025-06-07 17:45:38 +02:00
Zoe Roux 21435da93f wip: Link videos found after request started 2025-06-07 17:45:38 +02:00
Zoe Roux 2bf9464c18 Implement request processor (listen for requests) 2025-06-07 17:45:38 +02:00
Zoe Roux f5f4ad439c Create a psycopg pool 2025-06-07 17:45:38 +02:00
Zoe Roux d1e38c9e1c Create request migration 2025-06-07 17:45:38 +02:00
Zoe Roux 249019d6f5 Move old stuff to one dir 2025-06-07 17:45:38 +02:00
Zoe Roux 608e0cf12e Move stuff around 2025-06-07 17:45:38 +02:00
Zoe Roux f1f7dde507 Match guessed's entries to tmdb's entries 2025-06-07 17:45:38 +02:00
Zoe Roux 058f7a67a1 Switch to tmdb's API Read Access Token 2025-06-07 17:45:38 +02:00
Zoe Roux 38d4b20092 Cleanup composite provider 2025-06-07 17:45:38 +02:00
Zoe Roux 37271cc855 Remove specials override (tmdb absolute ordering) 2025-06-07 17:45:38 +02:00
Zoe Roux 481af6bfd3 Rewrite absolute order computation for tmdb 2025-06-07 17:45:38 +02:00
Zoe Roux e4e7caf738 Add entry & seasons parsing from tmdb 2025-06-07 17:45:38 +02:00
Zoe Roux fa8f43c9bb Add serie search 2025-06-07 17:45:38 +02:00
Zoe Roux 3537722d44 Add movie search 2025-06-07 17:45:38 +02:00
Zoe Roux d8906cfe06 Parse staff & collections 2025-06-07 17:45:38 +02:00
Zoe Roux d32711845b Rework get movie for tmdb 2025-06-07 17:45:37 +02:00
Zoe Roux cb7edde64c Move tmdb 2025-06-07 17:45:37 +02:00
Zoe Roux 4353b5e911 Fix api tests 2025-06-07 17:45:37 +02:00
Zoe Roux b6ed8f0684 Type series & all related types 2025-06-07 17:45:37 +02:00
Zoe Roux b28f00aa22 Type movie & all related types 2025-06-07 17:45:37 +02:00
Zoe Roux 70be095131 Create composite provider that uses both tvdb & tmdb 2025-06-07 17:45:37 +02:00
Zoe Roux fb2a9cf9f1 Remake provider interface 2025-06-07 17:45:37 +02:00
Zoe Roux 7beff1eeaf Fix lsp warnings 2025-06-07 17:45:37 +02:00
Zoe Roux f8612fed96 wip: Start scan request processor 2025-06-07 17:45:37 +02:00
Zoe Roux 9c98e284f0 Cleanup scan + monitor with a class 2025-06-07 17:45:37 +02:00
Zoe Roux b3a13882c1 Rework fs monitor 2025-06-07 17:45:37 +02:00
Zoe Roux e3a04c0e0f Write enqueue logic for identify requests 2025-06-07 17:45:37 +02:00
Zoe Roux 4eed03a566 Match new videos with known metadata 2025-06-07 17:45:37 +02:00
Zoe Roux ed7e9cd159 Match 2025-06-07 17:45:37 +02:00
Zoe Roux 11d0461d55 Filter videos & push them to the api 2025-06-07 17:45:37 +02:00
Zoe Roux 8dd43653cc Proper rendering computation (god that was a pain) 2025-06-07 17:45:37 +02:00
Zoe Roux 2d7ff3bc58 Try stuff with rendering & guessit rules 2025-06-07 17:45:37 +02:00
Zoe Roux f740448229 Fix pydantic printing 2025-06-07 17:45:37 +02:00
Zoe Roux d92482d0b7 Create identify pipeline 2025-06-07 17:45:37 +02:00
Zoe Roux ab5d2ad4e8 Update elysia & fix type issues 2025-06-07 17:45:37 +02:00
Zoe Roux 7ff794742d Write identify function 2025-06-07 17:45:37 +02:00
Zoe Roux 4480757df5 Type Video in the scanner 2025-06-07 17:45:37 +02:00