Stop inlining Youtube videos for now
This commit is contained in:
parent
c6681ae436
commit
1965a8787d
10 changed files with 66 additions and 58 deletions
|
@ -113,7 +113,7 @@ module.exports.search = function(data) {
|
|||
|
||||
if (!result.entries) {
|
||||
var matches = album.match(/^[^\(\[]+/);
|
||||
if (matches[0] && matches[0] != album) {
|
||||
if (matches && matches[0] && matches[0] != album) {
|
||||
var cleanedData = JSON.parse(JSON.stringify(data));
|
||||
if (type == "album") {
|
||||
cleanedData.name = matches[0].trim();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue