Skip to content

Commit

Permalink
Add log for episode name
Browse files Browse the repository at this point in the history
  • Loading branch information
JipFr committed Feb 28, 2021
1 parent 28f9c00 commit e80c31a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ async function main() {
const episodeObj = data.seasons.find((v) => {
return v.season == season && v.episode == episode;
});
if (episodeObj) id = episodeObj.id_episode;
if (episodeObj) {
console.log(`Finding streams for ${toShow.title} ${season}x${episode}: ${episodeObj.title}`)
id = episodeObj.id_episode
};
}

// Check ID
Expand Down

0 comments on commit e80c31a

Please sign in to comment.