aymene69 / stremio-jackett

Elevate your Stremio experience with seamless access to Jackett torrent links, effortlessly fetching torrents for your selected movies within the Stremio interface.
189 stars 35 forks source link

[Bug] TypeError: Cannot set properties of undefined (setting 'seeders') #82

Closed 9acca9 closed 7 months ago

9acca9 commented 7 months ago

Describe the bug I search for a movie in stremio. The addon in stremio return "No results found".

To Reproduce Search for a movie in stremio app.

Expected behavior I was expecting a movie.

Screenshots If applicable, add screenshots to help explain your problem. imagen

Your system info (please complete the following information):

A log:

npm start                                       ✔  panchines@manjaro 

> stremio-addon-jackett@2.0.0 start
> node dist/addon/index.cjs

Server is running at http://localhost:3000
Movie request.
ID: tt0286751
Name: Pulse
http://www.xxxxxxxxxx.xyz
Searching on Jackett, will return torrents...
Searching on cache...
No cache
Cache search done.
No cache
https://www.xxxxxxxx.xyz/jackett/api/v2.0/indexers/all/results/torznab/api?apikey=<private>&t=movie&cat=2000&q=Pulse&year=2001
Sorting by locale + quality...
Torrent info: 2001 promo for Earth Pulse
TypeError: Cannot set properties of undefined (setting 'seeders')
    at jackettSearch (/home/panchines/stremio-jackett/dist/addon/index.cjs:102:10581)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async fetchResults (/home/panchines/stremio-jackett/dist/addon/index.cjs:130:328)
    at async /home/panchines/stremio-jackett/dist/addon/index.cjs:132:79

Thanks for taking the time!
aymene69 commented 7 months ago

Fixed

9acca9 commented 7 months ago

Thanks for taking the time. But, still not working for me. Now it give me this:

Torrent info: Pulse (2001) [1080p] [BluRay] [2.0] [YTS] [YIFY]
TypeError: Cannot read properties of undefined (reading 'title')
    at jackettSearch (/home/panchines/stremio-jackett/dist/addon/index.cjs:103:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async fetchResults (/home/panchines/stremio-jackett/dist/addon/index.cjs:130:330)
    at async /home/panchines/stremio-jackett/dist/addon/index.cjs:132:79

Do you want that i open a new bug?

aymene69 commented 7 months ago

fixed