Fixed removing/adding to library, label tag
This commit is contained in:
parent
7eb047bae1
commit
416d65f310
38 changed files with 514 additions and 180 deletions
|
|
@ -480,6 +480,7 @@ class DownloadThread {
|
|||
'%0trackNumber%': (this.track.trackNumber ? this.track.trackNumber : 1).toString().padStart(2, '0'),
|
||||
'%album%': this.track.album.title,
|
||||
'%year%': date.getFullYear().toString(),
|
||||
'%label%': (this.publicAlbum.label) ? this.publicAlbum.label : ''
|
||||
};
|
||||
for (let k of Object.keys(props)) {
|
||||
fn = fn.replace(new RegExp(k, 'g'), sanitize(props[k]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue