Skip to content

Commit

Permalink
Merge pull request #18 from Feramance/Shared-Scripts-update
Browse files Browse the repository at this point in the history
Shared scripts update for cross OS mapping compatibility
  • Loading branch information
revenz authored May 29, 2024
2 parents 5ca969a + 518275d commit 51e799a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scripts/Shared/Radarr.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Radarr
let mp = x.movieFile?.path;
if (!mp)
return false;
return cp == mp.toLowerCase();
return cp.includes(x.title.toLowerCase());
});
if (movie?.length)
{
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Shared/Sonarr.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class Sonarr
let sp = x.path;
if (!sp)
return false;
return cp == sp.toLowerCase();
return cp.includes(x.title.toLowerCase());
});
if (showfile?.length)
{
Expand Down

0 comments on commit 51e799a

Please sign in to comment.