Skip to content

Commit

Permalink
Actually fix #452
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeDL committed Jan 24, 2023
1 parent a0873e4 commit 9d38278
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crunchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,10 @@ export default class Crunchy implements ServiceClass {
//TODO: look into better methods of getting item type
let iType = item.type;
if (!iType) {
if (item.season_number) {
iType = 'season';
} else if (item.episode_number) {
if (item.episode_number) {
iType = 'episode';
} else if (item.season_number) {
iType = 'season';
} else if (item.season_count) {
iType = 'series';
} else {
Expand Down

0 comments on commit 9d38278

Please sign in to comment.