Fixed bug
This commit is contained in:
parent
420374ea58
commit
e9f43d47ea
1 changed files with 3 additions and 2 deletions
5
libs.js
5
libs.js
|
@ -71,8 +71,9 @@ const getRx3Cover = (song, callback) => {
|
|||
if (song.title.indexOf('GSU') === 0) {
|
||||
const year = song.title.split(' ')[1]
|
||||
|
||||
if (!isNaN(parseInt(year))) {
|
||||
cover = `${config.rx3CoverBaseUrl}gsu${year}.jpg`
|
||||
if (!isNaN(parseInt(year))) {
|
||||
cover = `${config.rx3CoverBaseUrl}gsu${year}.jpg`
|
||||
}
|
||||
}
|
||||
|
||||
callback(null, cover)
|
||||
|
|
Loading…
Reference in a new issue