124 Commits

Author SHA1 Message Date
mrcanelas ef0ce2585c feat(diferentOrder): add new entry for "Ranma ½" 2025-10-27 18:17:35 -03:00
Silas Alves 93907b2b51 Merge pull request #1224 from Pigamer37/main
Fix minor oopsie in collection gathering
2025-10-27 17:24:53 -03:00
Lucas-Go-Vel 8946fb4fa2 Fix minor oopsie in collection gathering
The previous PR (#1217) was trying to filter out the collection ID, but we want to filter out the item's ID instead. If we're seeing metadata for "Black Phone", the collection will have both it and "Black Phone 2", and we only want to retrieve the second one.

This was the intention from the start but I named my vars wrong and ended up confusing myself. Sorry!
2025-10-25 18:48:45 +02:00
lostb1t 5dd8c47869 Return runtime for episodes 2025-10-25 02:37:41 +02:00
Lucas Gómez (KB) 819bcfbc29 Merge branch 'main' into main 2025-10-16 14:04:49 +02:00
Bimal Timilsina b7438492d5 feat(ageRating): add age rating in imdb link and genres based on config 2025-10-12 13:45:11 +05:45
Bimal Timilsina d88f63d13c feat: Add age rating as first genre with IMDb parental guide link
- Extract age ratings from TMDB API with regional fallback (US)
- Add age rating as first genre in metadata response
- Include IMDb parental guide link as first genre link
- Add configurable toggle for age rating display
- Implement caching for age rating data (1 hour TTL)
- Support both movies and TV shows with proper error handling
2025-10-12 13:42:42 +05:45
mrcanelas 77ef89c894 fixr: simplify config usage in getMeta for castCount
- Closes #1210
2025-08-28 16:00:30 -03:00
Lucas Gómez (KB) b64e67fd84 Fix to pass Codacy Static Code Analysis
Some things like parenthesis in arrow funcs are not respected like 5 lines above my additions but oh well
2025-08-26 19:04:20 +02:00
Lucas Gómez (KB) cd1f850e40 feat: Add related movie/series links
- Filter out the collection item from which we requested the collection
- Add some additional error handling and return empty array when no collection is found
2025-08-26 18:36:49 +02:00
Lucas Gómez (KB) 7f106a318e First draft 2025-08-26 17:16:50 +02:00
Martin Herndl 2508c451db Fix static analysis issue 2025-08-22 13:28:20 +00:00
Martin Herndl 76178f6881 feat: allow to configure to always return IMDb ID instead of TMDB ID 2025-08-22 13:20:37 +00:00
mrcanelas f1c1071d09 feat: add proxy support to bypass TMDB regional blocks (India)
- Add HTTP client with proxy support for TMDB API calls
- Create TMDBClient wrapper extending moviedb-promise with proxy integration
- Update all TMDB API modules to use new proxy-enabled client
- Add proxy configuration via environment variables:
  * TMDB_PROXY_ENABLED - Enable/disable proxy
  * TMDB_PROXY_HOST - Proxy host address
  * TMDB_PROXY_PORT - Proxy port
  * TMDB_PROXY_PROTOCOL - Proxy protocol (http, https, socks4, socks5)
  * TMDB_PROXY_AUTH - Enable proxy authentication
  * TMDB_PROXY_USERNAME - Proxy username
  * TMDB_PROXY_PASSWORD - Proxy password

- Add proxy status endpoint (/api/proxy/status) for monitoring
- Create test script (npm run test:proxy) for proxy verification
- Add comprehensive documentation:
  * PROXY_SETUP.md - User guide for proxy configuration
  * docs/proxy-implementation.md - Technical implementation details (English)
  * env.example - Environment variables template (English)
  * docker-compose.proxy.yml - Docker setup with Cloudflare WARP

- Update README.md with proxy support section
- Add logging when proxy is used for TMDB requests
- Support selective proxy usage (only TMDB domains use proxy)
- Maintain backward compatibility with existing configurations
- Translate all Portuguese text to English for international consistency

This resolves the issue where TMDB is blocked at network level in India,
allowing users to host the addon on Indian VPS providers while accessing
TMDB through a proxy. Based on similar implementation in AIOStreams.

Closes: Optional proxy for TMDB API calls (workaround for Indian VPS block) #1208
2025-08-13 15:38:30 -03:00
mrcanelas 23e1c6971b feat(getMeta): add castCount parameter in buildLinks and update parseCreditsLink 2025-07-15 09:28:36 -03:00
mrcanelas 319701d5da feat(diferentOrder): add new entry for "A Will Eternal"
- Closes #1138
2025-07-06 22:43:06 -03:00
mrcanelas b6e55319c9 feat(diferentOrder): add new entry for "Rurouni Kenshin"
- Closes #1146
2025-07-06 22:36:04 -03:00
mrcanelas 9b8efa8c6b feat(diferentOrder): add new entry for "Sister Wives"
- Closes #1169
2025-07-06 22:31:49 -03:00
mrcanelas f66a7a06b5 feat(diferentOrder): add new entry for "Yu-Gi-Oh! Duel Monsters"
- Closes #1172
2025-07-06 22:27:06 -03:00
mrcanelas e54eef10f8 feat(diferentOrder): add new entry for "Yu-Gi-Oh! GX"
- Closes #1174
2025-07-06 22:24:52 -03:00
mrcanelas fa8fa9c921 feat(diferentOrder): add new entry for "Yu-Gi-Oh! 5D's"
- Closes #1176
2025-07-06 20:55:22 -03:00
mrcanelas 6ef486152c feat(diferentOrder): add new entry for "Blue Lock"
- Closes #1178
2025-07-06 20:53:00 -03:00
mrcanelas 4d904cef0b feat(diferentOrder): add new entry for "Fate/stay night [Unlimited Blade Works]"
- Closes #1179
2025-07-06 20:51:20 -03:00
mrcanelas 7e45751af5 feat(diferentOrder): add new entry for "Go! Go! Loser Ranger!"
- Closes #1183
2025-07-06 20:43:59 -03:00
mrcanelas aa71b79e07 feat(diferentOrder): add new entry for "My Dress-Up Darling" 2025-07-06 20:33:36 -03:00
mrcanelas 2481e19af6 feat(diferentOrder): add new entry for "Pac-Man and the Ghostly Adventures"
- Closes #1110
2025-07-06 01:02:16 -03:00
mrcanelas 3591307303 feat(diferentOrder): add new entry for "Dragon Ball Z Kai"
- Closes #1106
2025-07-06 00:59:25 -03:00
mrcanelas 60fb0e911f feat(diferentOrder): remove duplicate entry for "Jujutsu Kaisen" 2025-07-06 00:57:51 -03:00
mrcanelas a44657717f feat(diferentOrder): add new entry for "Zatch Bell!"
- Closes #1084
2025-07-06 00:41:12 -03:00
mrcanelas be9d424b9e feat(diferentOrder): add new entry for "Ranma ½"
- Closes #1086
2025-07-06 00:38:44 -03:00
mrcanelas 2e0a439444 feat(diferentOrder): add new entry for "Urusei Yatsura"
- Closes #1083
2025-07-06 00:35:16 -03:00
mrcanelas 65868e8cd5 feat(diferentOrder): add new entry for "Mashle: Magic and Muscles"
- Closes #1068
2025-07-06 00:20:01 -03:00
mrcanelas 47ceb6eb72 feat(diferentOrder): add new entry for "Running Man"
- Closes #1067
2025-07-06 00:18:12 -03:00
mrcanelas 1e0f89b037 feat(diferentOrder): add new entry for "Dragon Ball Super"
- Closes #1046
2025-07-05 23:57:25 -03:00
mrcanelas a9dc039425 feat(diferentImdbId): add new entry for "Dragon Ball"
- Closes #1045
2025-07-05 23:55:25 -03:00
mrcanelas 1d29fdc4b8 feat(diferentImdbId): add new entry for "Dragon Ball" 2025-07-05 23:54:58 -03:00
mrcanelas 7d07588920 feat(diferentOrder): add new entry for "The 100 Girlfriends Who Really, Really, Really, Really, REALLY Love You"
- Closes #1031
2025-07-05 23:42:04 -03:00
mrcanelas ead8dfe4e1 feat(diferentOrder): add new entry for "Fate/Extra Last Encore"
- Closes #1026
2025-07-05 23:38:41 -03:00
mrcanelas 1cce5add8c fix(diferentOrder): fix episodeGroupId for "Bakemonogatari"
- Closes #1024
2025-07-05 23:34:48 -03:00
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