Fixed bug
This commit is contained in:
parent
cb2b7285b5
commit
2617a4ed19
1 changed files with 1 additions and 1 deletions
2
libs.js
2
libs.js
|
@ -92,7 +92,7 @@ const getRemoteCover = (song, callback) => {
|
||||||
*/
|
*/
|
||||||
const findCover = (song, callback) => {
|
const findCover = (song, callback) => {
|
||||||
// Si c'est Rx3 on ne met pas de cover
|
// Si c'est Rx3 on ne met pas de cover
|
||||||
if (config.rx3List.indexof(song.artist) !== -1) {
|
if (config.rx3List.indexOf(song.artist) !== -1) {
|
||||||
const metadata = new mongo.Metadata(song)
|
const metadata = new mongo.Metadata(song)
|
||||||
metadata.save()
|
metadata.save()
|
||||||
callback(null, null)
|
callback(null, null)
|
||||||
|
|
Loading…
Reference in a new issue