Quote:
Originally Posted by Mark Nord
Just for the records.
Following code form fskcache.xs looks promising to extract more tags from mp3
Code:
this.FskCache.audio.fromFile = function (path, mime, player) {
var local, value, thumbnail, art, bitmap, bounds;
<global>.FskCache.media.fromFile.call(this, path, mime);
try {
if (!player) {
local = player = new <global>.Media.Player.File(path, mime);
}
value = player.getMetaData('FullName');
if (value) {
this.title = value;
}
value = player.getMetaData('Album');
if (value) {
this.album = value;
}
value = player.getMetaData('Artist');
if (value) {
this.artist = value;
}
But atm no time/interest to look further into this.
|
Hi Mark,
I don't think that works to get the contents of other tags, just the ones the developers wanted (plus a couple of others they didn't end up using). But I could be wrong. It's been a while since I was looking into this...
Sincerely,
Ben.