Comparing version 0.1.10 to 0.1.11
@@ -75,3 +75,3 @@ const nodeID3 = require('../index.js') | ||
nodeID3.update({ | ||
console.log(nodeID3.update({ | ||
TXXX: [{ | ||
@@ -84,7 +84,4 @@ description: "testtt.", | ||
},] | ||
}, "./example/example.mp3", (err) => { | ||
console.log(nodeID3.read("./example/example.mp3")) | ||
}) | ||
/*console.log(nodeID3.update({ | ||
}, "./example/example.mp3")); | ||
console.log(nodeID3.update({ | ||
TXXX: [{ | ||
@@ -96,5 +93,24 @@ description: "testtt.", | ||
value: "value6." | ||
}, { | ||
description: "testtt5.", | ||
value: "value9." | ||
},] | ||
}, "./example/example.mp3")); | ||
console.log(nodeID3.read("./example/example.mp3")) | ||
console.log("\ndonesync\n") | ||
nodeID3.update({ | ||
TXXX: [{ | ||
description: "testtt.", | ||
value: "value5." | ||
}, { | ||
description: "testtt2.", | ||
value: "value7." | ||
},] | ||
}, "./example/example.mp3", (err) => { | ||
console.log(nodeID3.read("./example/example.mp3")) | ||
}); | ||
/* | ||
console.log(nodeID3.read("./example/example.mp3"))*/ |
@@ -292,3 +292,3 @@ const fs = require('fs') | ||
let comparison = cCompare[rTag[SFrames[SRawToNameMap[tag]].updateCompareKey]] | ||
if(comparison) { | ||
if(comparison !== undefined) { | ||
currentTags[tag][comparison] = rTag | ||
@@ -313,3 +313,3 @@ } else { | ||
Object.keys(rawTags).map(function(tag) { | ||
if(SFrames[SRawToNameMap[tag]].multiple && currentTags[tag] && rawTags[tag]) { | ||
if(SFrames[SRawToNameMap[tag]] && SFrames[SRawToNameMap[tag]].multiple && currentTags[tag] && rawTags[tag]) { | ||
cCompare = {} | ||
@@ -322,3 +322,3 @@ currentTags[tag].forEach((cTag, index) => { | ||
let comparison = cCompare[rTag[SFrames[SRawToNameMap[tag]].updateCompareKey]] | ||
if(comparison) { | ||
if(comparison !== undefined) { | ||
currentTags[tag][comparison] = rTag | ||
@@ -325,0 +325,0 @@ } else { |
{ | ||
"name": "node-id3", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Pure JavaScript ID3 Tag writer/reader", | ||
@@ -5,0 +5,0 @@ "author": "Jan Metzger <jan.metzger@gmx.net>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39888
906