From 5a386d0f81a92c58efc2dd9331fab987e0bd1f5d Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Fri, 20 Mar 2020 19:38:48 -0700 Subject: [PATCH] Remove fallback to YT from library search --- src/channel/library.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/channel/library.js b/src/channel/library.js index e7e8a763..31b34316 100644 --- a/src/channel/library.js +++ b/src/channel/library.js @@ -110,10 +110,6 @@ LibraryModule.prototype.handleSearchMedia = function (user, data) { librarySearchResultSize.labels('library') .observe(res.length, new Date()); - if (res.length === 0) { - return searchYT(); - } - res.sort(function (a, b) { var x = a.title.toLowerCase(); var y = b.title.toLowerCase();