Skip to content

Commit

Permalink
Updated to 1.2.1.1
Browse files Browse the repository at this point in the history
Fixed CouchPotato and Letterboxd IMDb ID error.
  • Loading branch information
Ephellon committed Jun 7, 2018
1 parent afdeb40 commit 6fafb8c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified hhkmjeeccipbolailpomhjhmccnnjhkj.crx
Binary file not shown.
Binary file modified hhkmjeeccipbolailpomhjhmccnnjhkj.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/deps/couchpotato/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function getIMDbID() {
);
if ($link) {
let link = $link.href.replace(/^.*imdb\.com\/title\//, '');
return link.replace('/maindetails', '');
return link.replace(/\/(?:maindetails\/?)?$/, '');
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/deps/letterboxd/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function getIMDbID() {
);
if ($link) {
let link = $link.href.replace(/^.*imdb\.com\/title\//, '');
return link.replace('/maindetails', '');
return link.replace(/\/(?:maindetails\/?)?$/, '');
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage_url": "https://github.com/Ephellon/web-to-plex/",

"manifest_version": 2,
"version": "1.2.1.0",
"version": "1.2.1.1",
// Firefox Support =>
// "applications": {
// "gecko": {
Expand Down

0 comments on commit 6fafb8c

Please sign in to comment.