update song title

This commit is contained in:
Sayem Chowdhury 2021-03-30 17:07:38 +06:00
parent 61eb734a03
commit 9aad9ba389

View File

@ -188,7 +188,7 @@ export const parseInfo = async (url: string) => {
linktype, linktype,
linkinfo, linkinfo,
tracks: tracks.map((t) => { tracks: tracks.map((t) => {
if (t.VERSION) { if (t.VERSION && !t.SNG_TITLE.includes(t.VERSION)) {
t.SNG_TITLE += ' ' + t.VERSION; t.SNG_TITLE += ' ' + t.VERSION;
} }
return t; return t;