454 Commits

Author SHA1 Message Date
mrcanelas 95549a0067 fix: add null safety checks for cache in checkSeasons utility
- Add null checks before using cache.get() and cache.set() methods
- Prevent "Cannot read properties of null" error when NO_CACHE is enabled
- Add graceful degradation when cache is not available
- Skip season checking functionality when cache is null

Fixes TypeError when accessing cache methods on null cache object
2025-07-05 23:30:01 -03:00
mrcanelas 1700497f48 fix: prevent null reference error in parseConfig function
- Add null safety checks to prevent "Cannot read properties of null" error
- Ensure parseConfig always returns a valid object, even with null/undefined input
- Add fallback object ({}) to all parseConfig calls in index.js
- Improve error handling for catalogChoices parameter
- Closes #987

Fixes TypeError when accessing config.language on null config object
2025-07-05 22:31:20 -03:00
mrcanelas 7eaa938d11 feat(diferentOrder): add new entry for "Bungo Stray Dogs"
- Closes #1011
2025-07-05 22:13:57 -03:00
mrcanelas 4b3a4c5876 fix(diferentOrder): corrigir episodeGroupId para "Naruto"
- Closes #1005
2025-07-05 22:08:24 -03:00
mrcanelas 2b7be521f4 feat(diferentOrder): add new entry for "Jujutsu Kaisen"
- Closes #1003
2025-07-05 22:05:17 -03:00
mrcanelas 3fa8c74da5 feat(diferentOrder): add new entry for "Bleach"
- Closes #1002
2025-07-05 22:03:59 -03:00
mrcanelas 1a89c71ff2 feat(diferentOrder): add new entry for "Cold Case Files"
- Closes #1001
2025-07-05 22:02:10 -03:00
mrcanelas 963ee72b77 feat(diferentOrder): add new entry for "American Dad!"
- Closes #981
2025-07-05 21:44:39 -03:00
mrcanelas 96f4e298b6 feat(diferentOrder): add new entry for "Farscape"
- Closes #975
2025-07-05 21:40:05 -03:00
mrcanelas 2c956d037c feat(diferentOrder): add new entry for "Yu-Gi-Oh! Arc-V"
- Closes #974
2025-07-05 21:38:05 -03:00
mrcanelas 0c4fe28899 feat(diferentOrder): add new entry for "Tomorrow Is Ours"
- Closes #970
2025-07-05 21:36:20 -03:00
mrcanelas 0ac69f33f5 feat(diferentOrder): add new entry for "Caméra café"
- Closes #971
2025-07-05 21:34:49 -03:00
mrcanelas 6e09f0c6d9 fix(checkSeasons): remove unnecessary state=open parameter from issue query 2025-07-05 21:32:36 -03:00
mrcanelas 1095e8f1d1 feat(diferentOrder): add new entry for "Detective Conan"
- Closes #967
2025-07-05 21:30:28 -03:00
mrcanelas cadeae7bea feat(diferentOrder): add new entry for "King of the Hill"
- Closes #958
2025-07-05 21:24:12 -03:00
mrcanelas 6e69bba3c9 feat(diferentOrder): add new entry for "Pokémon"
- Closes #965
2025-07-05 21:21:07 -03:00
mrcanelas b5fc7b3c4c feat(diferentOrder): add new entry for "DAN DA DAN" 2025-07-05 21:16:45 -03:00
mrcanelas 4bc5d141a1 fix(package): update dependencies for cache manager and fanart.tv-api 2025-07-02 14:35:56 -03:00
mrcanelas d62773a4ba refactor(checkSeasons): improve issue handling and update last checked logic 2025-07-02 14:35:34 -03:00
mrcanelas 5a4a652e67 refactor(getCache): switch from MongoDB to Redis for caching implementation 2025-07-02 14:17:07 -03:00
mrcanelas de8de39be4 fix(getLogo): correct variable naming for FanartTvApi initialization 2025-07-02 14:13:00 -03:00
mrcanelas b8727ebb9b feat: add automatic season count check and GitHub issue creation for TMDB vs Stremio discrepancies
- Implemented a function to compare the number of seasons between TMDB and Stremio for each series.
- Uses cache-manager to store the last check date per TMDB ID, avoiding unnecessary repeated checks.
- Automatically creates a GitHub issue (in English) if a mismatch is found, including:
  - TMDB and Stremio season counts
  - TMDB ID and IMDB ID
  - Direct links to TMDB and IMDB pages for the series
- Ignores season 0 (extras) in the comparison.
- All comments and issue bodies are now in English for better international collaboration.
2025-07-01 16:16:29 -03:00
mrcanelas ac8d2c660e refactor(config): use lz-string to compress config in URLs with legacy fallback
- Now uses lz-string to compress and decompress addon config in URLs for better compatibility (ESM and CJS).
- Backend supports fallback to plain JSON for legacy URLs.
2025-07-01 15:32:56 -03:00
mrcanelas a4d9b9aff7 feat: add lz-string dependency 2025-07-01 15:32:31 -03:00
mrcanelas b33d71610a fix(parseCast): remove debug log for count parameter 2025-07-01 15:06:27 -03:00
mrcanelas eb032e920b chore(release): bump version to 3.1.7 2025-07-01 14:41:58 -03:00
mrcanelas 31b20971e8 feat(config): add 'hideInCinemaTag' and improve cast count logic
- Added support to remove 'imdb_id' from meta response when 'hideInCinemaTag' is enabled. #111
- Updated parseCast to return all cast members when count is undefined, supporting the 'Unlimited' option in configuration.
2025-07-01 14:40:19 -03:00
mrcanelas 44d3b05404 feat: add support for new configuration keys in loadConfigFromUrl 2025-07-01 14:11:59 -03:00
mrcanelas cf53e8383c fix: fix query variable usage in getSearch
- Close #117
2025-07-01 14:07:57 -03:00
mrcanelas 90e38cd492 feat: add "WIND BREAKER" to diferentOrder.json
- Fixes seasons for the anime WIND BREAKER
- Closes #116
2025-06-24 15:49:12 -03:00
mrcanelas d3abf6400c feat: remove Redis dependency and refactor caching implementation to use MongoDB 2025-06-17 13:52:18 -03:00
mrcanelas 31f7ddec62 feat: integrate Redis for caching and analytics tracking 2025-06-17 13:39:45 -03:00
mrcanelas 4256e1678b feat: add vercel configuration and update vite public directory path 2025-06-17 13:22:11 -03:00
mrcanelas 6ad9ba369f feat: update addon name in getManifest to include 'Addon' 2025-06-17 13:21:52 -03:00
mrcanelas 0c55c037e1 feat: update getTrending to include config parameter for metadata retrieval
- Modifies the getTrending function to accept a configuration parameter
- Implements metadata retrieval using the getMeta function
- Adds error handling when retrieving metadata
2025-06-11 19:07:42 -03:00
mrcanelas b7b67b018b feat: refactor parseMDBListItems to include metadata retrieval and error handling
- Adds support for fetching metadata using the getMeta function
- Updates the parseMDBListItems function to handle multiple item types
- Implements error handling when fetching metadata
- Fixes #108
2025-06-11 19:01:14 -03:00
mrcanelas 48f5afb38b feat: enhance catalog fetching with metadata retrieval
- Adds getMeta function to fetch item metadata
- Implements error handling when fetching metadata
- Updates getCatalog function to support simultaneous metadata fetching
2025-06-11 18:59:28 -03:00
mrcanelas 61464df32a feat: optimize title search with simultaneous execution of promises
- Implement simultaneous search for titles using Promise.all
- Improve error handling and filter null results
2025-06-11 18:35:51 -03:00
mrcanelas 0aea11a088 feat: support for IA Search available
- Integrate title-based search using Gemini AI
- Add automatic query translation to English
- Integrate title-based search instead of TMDB IDs
- Increase results limit to 20 titles
- Update version to 3.1.6 in package.json and package-lock.json
2025-06-11 18:30:59 -03:00
mrcanelas 7d139157eb fix: adjust genre requirement based on showInHome flag in createMDBListCatalog 2025-06-11 18:26:39 -03:00
mrcanelas 1962ca882b feat: integrate Gemini AI search functionality and add API key support 2025-06-11 18:24:49 -03:00
mrcanelas 7fe82c28b4 feat: add custom list URL handling and improve API key validation 2025-06-11 09:49:10 -03:00
mrcanelas 798e315a5c fix: add mdblistkey handling in loadConfigFromUrl 2025-06-07 15:21:43 -03:00
mrcanelas 0015e60d8a feat: support for MDBLists available
- update version to 3.1.5 in package.json and package-lock.json
- Fork-based adaptations of LastpostNL/tmdb-mdblist
2025-06-07 15:14:40 -03:00
mrcanelas 26bc715123 fix: update language parameter in fetchMDBListItems to use dynamic value 2025-06-07 15:10:27 -03:00
mrcanelas 50815c13c0 feat: add name property to catalogs in AddonConfig interface 2025-06-07 15:03:39 -03:00
mrcanelas 15994210f1 feat: add integration with MDBList for item and genre retrieval 2025-06-07 14:55:04 -03:00
mrcanelas f20df66b47 feat: implementer integration with MDBList for API key validation and catalog categorization 2025-06-07 13:22:47 -03:00
mrcanelas 1843896ec6 refactor: remove mdblist catalogs from configuration and related imports 2025-06-07 13:22:03 -03:00
mrcanelas fb38580fb7 feat: add Stremio addons configuration and enhance catalog description 2025-05-24 17:03:27 -03:00