Skip to content

Commit

Permalink
partial fix for long imdb_ids #80 #73
Browse files Browse the repository at this point in the history
- allows long imdb ids, although automatic search cannot grab metadatas
  • Loading branch information
vankasteelj committed May 3, 2021
1 parent 05a7353 commit c8717a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/main/osactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const OsActions = {
$('#main-video-placeholder').css('background', 'transparent');

// sometimes, ID is not an imdb id
if (id > 9999999) {
if (id > 99999999) {
console.debug('OsActions.imdbMetadata(): %s is not a valid imdb id', id);
// add os id
$('#imdbid').val(id);
Expand Down

0 comments on commit c8717a8

Please sign in to comment.