@jjdenhertog/plex-music-search 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -329,6 +329,7 @@ var PlexMusicSearch = /** @class */ (function () {
|
|
329
329
|
foundCache = this._cache.find(function (item) { return item.id == cacheId; });
|
330
330
|
if (foundCache)
|
331
331
|
return [2 /*return*/, foundCache.result];
|
332
|
+
console.log(artist, title, album);
|
332
333
|
searchHandler = searchAlbumTracks ? searchForAlbumTracks_1.searchForAlbumTracks : searchForTrack_1.searchForTrack;
|
333
334
|
return [4 /*yield*/, searchHandler(this._config.uri, this._config.token, artist, title, album)];
|
334
335
|
case 1:
|
@@ -400,7 +401,6 @@ var PlexMusicSearch = /** @class */ (function () {
|
|
400
401
|
}];
|
401
402
|
case 9:
|
402
403
|
_e_3 = _b.sent();
|
403
|
-
console.log(_e_3);
|
404
404
|
throw new Error("Something went wrong while searching");
|
405
405
|
case 10: return [2 /*return*/];
|
406
406
|
}
|