diff --git a/src/background.ts b/src/background.ts index 2d4bb98..6e60c17 100644 --- a/src/background.ts +++ b/src/background.ts @@ -30,7 +30,7 @@ const searchByName = query => new Promise(async (resolve, reject) => { .then(function(data) { if (data.total > 0) { const video = data.data[0] - if (video.name === query) { + if (_.toLower(video.name) === _.toLower(query)) { resolve(video); } }