Skip to content

Commit

Permalink
handle 8 digit imdb ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Superschnizel committed Nov 29, 2023
1 parent b1e724a commit 6150770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { FolderSuggest } from 'src/interface/FolderSuggester';
import { FileSuggest } from 'src/interface/FileSuggester';

const OVERWRITE_DELIMITER = /%%==MOVIEGRABBER_KEEP==%%[\s\S]*/
const IMDBID_REGEX = /^ev\d{1,7}\/\d{4}(-\d)?$|^(ch|co|ev|nm|tt)\d{1,7}$/
const IMDBID_REGEX = /^ev\d{1,8}\/\d{4}(-\d)?$|^(ch|co|ev|nm|tt)\d{1,8}$/

export default class Moviegrabber extends Plugin {
settings: MoviegrabberSettings;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "moviegrabber",
"name": "Moviegrabber",
"version": "1.1.8",
"version": "1.1.9",
"minAppVersion": "0.15.0",
"description": "Grab movie data from public APIs and transform it into notes that can be used with dataview and properties",
"author": "Superschnizel",
Expand Down

0 comments on commit 6150770

Please sign in to comment.