Browse Source

Add picture to song tags

master
Amir Savand 1 year ago
parent
commit
8bd144aacb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      main.js

+ 1
- 1
main.js View File

@@ -47,7 +47,7 @@ let getFiles = function (path) {
else if (file.indexOf(".mp3") !== -1) {
// Store to files
if (shared.files.length <= fileLimit) {
new jsmediatags.Reader(filePath).setTagsToRead(["title", "artist", "album"]).read({
new jsmediatags.Reader(filePath).setTagsToRead(["title", "artist", "album", "picture"]).read({
onSuccess: function (tag) {
shared.files.push({
path: filePath,

Loading…
Cancel
Save