是否可以编辑ByteArray的标签,用TagLib代表Mp3文件#?
目前我需要这样做:
System.IO.File.WriteAllBytes(path + file + ".mp3", byt);
TagLib.File f = TagLib.File.Create(path + song + ".mp3");
是否可以避免这种情况并直接从ByteArray创建TagLib.File?
答案 0 :(得分:1)
试试这个:
var soap = require('soap');
var url = 'www.webservicex.net/stockquote.asmx?WSDL'
reqURL = soap.createClient(url, function(err, client){
client.StockQuote.StockQuoteSoap.GetQuote({symbol:'NKE'}, function(err, response){
if(err) console.log(err);
console.log(response);
});
});
});
FileBytesAbstraction是:
var file = TagLib.File.Create(new FileBytesAbstraction(<file name>, <file bytes>));