Remove fallback to YT from library search

This commit is contained in:
Calvin Montgomery 2020-03-20 19:38:48 -07:00
parent d2358924a4
commit 5a386d0f81
1 changed files with 0 additions and 4 deletions

View File

@ -110,10 +110,6 @@ LibraryModule.prototype.handleSearchMedia = function (user, data) {
librarySearchResultSize.labels('library') librarySearchResultSize.labels('library')
.observe(res.length, new Date()); .observe(res.length, new Date());
if (res.length === 0) {
return searchYT();
}
res.sort(function (a, b) { res.sort(function (a, b) {
var x = a.title.toLowerCase(); var x = a.title.toLowerCase();
var y = b.title.toLowerCase(); var y = b.title.toLowerCase();