1377 Commits

Author SHA1 Message Date
g0ldyy 0a1a8f39fe refactor: update data types and streamline ID handling
- Changed the data type of 'kitsu_id' in the anime_mapping_cache table from TEXT to INTEGER for better consistency.
- Simplified the handling of 'kitsu_id' in the MetadataScraper and AnimeMapper classes by removing unnecessary string conversions.
2025-12-10 18:58:07 +01:00
Goldy 0a53c3c42e Merge branch 'development' into fix-pr-391-improved 2025-12-10 18:30:48 +01:00
g0ldyy 0ee147561d chore: formatting 2025-12-10 18:21:27 +01:00
g0ldyy 339cce72bd refactor: update log level icon and enhance log parsing pattern
- Changed the database log level icon from "🗄️" to "💾" for better representation.
- Modified the log parsing regex pattern to allow for more flexible matching of log levels.
2025-12-10 18:20:34 +01:00
g0ldyy 61ab23472b refactor: move db_maintenance table creation to the correct migration step
- Reintroduced the creation of the db_maintenance table in the appropriate section of the database setup process.
- Ensured that the table is created after the version migration to maintain database integrity.
2025-12-10 18:20:26 +01:00
g0ldyy d404736b3c refactor: enhance ReplicaAwareDatabase methods for clarity and functionality
- Reformatted the constructor for improved readability.
- Added 'force_primary' parameter to 'execute' and 'execute_many' methods to control query execution behavior.
- Improved formatting in '_next_replica' method for better code clarity.
2025-12-10 18:10:17 +01:00
g0ldyy 5a7e70ee67 refactor: streamline first search handling in SQLite
- Simplified the logic for inserting new entries into the first_searches table.
- Removed redundant database fetch operation to improve performance and clarity.
2025-12-10 18:10:04 +01:00
g0ldyy dbc60fde91 refactor: refactor shutdown handling and improve cleanup processes
- Removed signal handling from main.py for graceful shutdown.
- Added stop methods to AnimeMapper, AddTorrentQueue, and TorrentUpdateQueue for better resource management during shutdown.
- Updated lifespan in app.py to ensure proper shutdown of services.
2025-12-10 18:09:51 +01:00
Goldy d17cb2d7b3 Merge pull request #390 from g0ldyy/feat/separated-jackett-and-prowlarr-scrapers
feat: decouple Jackett and Prowlarr scraper configurations from a generic indexer manager
2025-12-10 17:25:58 +01:00
g0ldyy eb3b5e87c7 feat: add catalog and magnet resolve timeouts to configuration 2025-12-10 17:23:17 +01:00
g0ldyy 1c8903d57e refactor: extract aiohttp client timeouts into named constants 2025-12-10 17:06:53 +01:00
g0ldyy 72825f1145 refactor: Jackett and Prowlarr scrapers now accept URL via constructor 2025-12-10 16:56:30 +01:00
itzme c0d70607b2 feat: add timeouts to Prowlarr API requests 2025-12-10 11:25:04 +01:00
itzme 460fad22b4 feat: decouple Jackett and Prowlarr scraper configurations from a generic indexer manager 2025-12-10 11:15:30 +01:00
David Young 7576431c24 add future option to disable torrent-only streams
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 17:13:08 +13:00
David Young 738912d2dd allow disabling preload for faster startup times on larger installs
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 16:38:22 +13:00
David Young 9cf0472246 fix startup regression
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 14:01:07 +13:00
David Young f52f9aceb4 Fix anime ingestion, remove conflict errors in postgresql logs
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 13:13:40 +13:00
David Young 1b2258a374 add option to source anime mapping from DB instead of remote fetching
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 12:42:11 +13:00
David Young 69117996d2 fix startup cleanup scheduling
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 12:19:34 +13:00
David Young c7acc2fa7c avoid DOSing the database with startup maintenance tasks
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 12:09:44 +13:00
David Young 766b75c549 tweak router replica search
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 12:00:27 +13:00
David Young 5a1c8f93a5 quiet down noisy db queries
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 11:41:50 +13:00
David Young 9117b4ded3 fix database log level
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 11:25:35 +13:00
David Young fdbac128cb avoid duplicate insertion errors in database logs
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 10:35:15 +13:00
David Young 6be0111f28 Add readonly replica support
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2025-12-10 09:29:37 +13:00
Goldy a964a68a8e Merge pull request #389 from g0ldyy/release-please--branches--main
chore(main): release 2.31.0
v2.31.0
2025-12-08 18:06:56 +01:00
github-actions[bot] 7ca8fdd5b1 chore(main): release 2.31.0 2025-12-08 17:06:00 +00:00
Goldy a9b223f1cd fix: Update YGG domain URL 2025-12-08 18:05:28 +01:00
Goldy 5664a86eeb Merge pull request #388 from g0ldyy/development
feat: Enhance URL encoding by using `safe=''` in `quote` calls for playback and magnet URIs
2025-12-07 18:23:33 +01:00
g0ldyy b9845dc50d fix: double quote is better 2025-12-07 18:05:42 +01:00
g0ldyy 96a962faac feat: Enhance URL encoding by using safe='' in quote calls for playback and magnet URIs 2025-12-07 17:27:26 +01:00
Goldy 6c889319be Merge pull request #387 from g0ldyy/release-please--branches--main
chore(main): release 2.30.0
v2.30.0
2025-12-02 10:43:13 +01:00
github-actions[bot] 72be7a0ece chore(main): release 2.30.0 2025-12-01 08:58:51 +00:00
Goldy 1b481f2d42 Merge pull request #386 from g0ldyy/development
merge dev into main
2025-12-01 09:58:10 +01:00
g0ldyy 5df412125b feat: enhance admin dashboard with dynamic tracker limit selection and optimize database metrics query 2025-12-01 09:54:33 +01:00
g0ldyy 6e2e420d73 feat: add live torrent cache TTL and update related settings 2025-12-01 09:21:32 +01:00
g0ldyy 607b5b38a3 feat: fix imdb_id: in media_id 2025-12-01 09:15:58 +01:00
g0ldyy cc5b6a8c95 fix: Strip 'imdb_id:' prefix from media ID in stream endpoint 2025-12-01 08:51:47 +01:00
Goldy 3662b4aaa2 Merge pull request #380 from g0ldyy/release-please--branches--main
chore(main): release 2.29.0
v2.29.0
2025-11-28 12:03:23 +01:00
Goldy a2546a0537 Update donation and support information in README 2025-11-28 11:59:57 +01:00
g0ldyy 022446e69e refactor: enhance index.html with improved layout and new support options
Updated the HTML structure for better organization, added a support dialog for donations via GitHub Sponsors and Ko-fi, and refined the styling for various elements. The Discord link has also been updated for better accessibility.
2025-11-28 11:49:54 +01:00
Goldy b273517ae1 Update Discord link in README header 2025-11-28 10:53:55 +01:00
Goldy 00b92fb670 Add funding options for GitHub and Ko-fi
Updated funding model to include GitHub Sponsors and Ko-fi.
2025-11-28 10:47:50 +01:00
github-actions[bot] c5a68ea383 chore(main): release 2.29.0 2025-11-28 08:00:57 +00:00
Goldy 3676fb4af6 Merge pull request #384 from g0ldyy/development
refactor: better organization + yggtorrent scraper
2025-11-28 09:00:22 +01:00
g0ldyy 5646055d8b refactor: remove unused aliases parameter from TorrentManager 2025-11-26 19:10:00 +01:00
g0ldyy 47633073f0 fix: remove double-nested append 2025-11-26 19:08:32 +01:00
g0ldyy d09658bd62 refactor: streamline proxy condition in playback endpoint 2025-11-26 19:05:41 +01:00
g0ldyy 5a7fc2bdb1 refactor: remove old and unnecessary indexers check in config validation 2025-11-26 19:04:15 +01:00