Skip to content

Commit

Permalink
v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arvida42 committed Nov 22, 2024
1 parent 94922b4 commit 23c4fbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jackettio",
"version": "1.6.1",
"version": "1.6.2",
"description": "Jackett and Debrid on Stremio",
"main": "src/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/jackettio.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export async function getStreams(userConfig, type, stremioId, publicUrl){
}

return torrents.map(torrent => {
const file = getFile(torrent.infos.files || [], type, season, episode);
const file = getFile(torrent.infos.files || [], type, season, episode) || {};
const quality = torrent.quality > 0 ? config.qualities.find(q => q.value == torrent.quality).label : '';
const rows = [torrent.name];
if(type == 'series' && file.name)rows.push(file.name);
Expand Down

0 comments on commit 23c4fbc

Please sign in to comment.