View Single Post
Old 03-22-2012, 12:24 AM   #3577
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
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.
BenChen is offline   Reply With Quote