Remove fallback to YT from library search
This commit is contained in:
parent
d2358924a4
commit
5a386d0f81
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue