<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Renegade Bits &#187; metadata</title>
	<atom:link href="http://rrbits.com/epb/tag/metadata/feed/" rel="self" type="application/rss+xml" />
	<link>http://rrbits.com/epb</link>
	<description>Whatever comes to mind</description>
	<lastBuildDate>Mon, 30 Jan 2012 08:42:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Embed Album Art into an MP3 with PHP</title>
		<link>http://rrbits.com/epb/2010/05/31/embed-album-art-into-an-mp3-with-php/</link>
		<comments>http://rrbits.com/epb/2010/05/31/embed-album-art-into-an-mp3-with-php/#comments</comments>
		<pubDate>Mon, 31 May 2010 10:55:11 +0000</pubDate>
		<dc:creator>epb</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://rrbits.com/epb/?p=178</guid>
		<description><![CDATA[An odd quest perhaps: but adding album art to an MP3 (in ID3 tags) is readily doable with the KTaglib extension for PHP.  Once you have it, you can use a script like this to add artwork to an MP3: $mp3 = new KTaglib_MPEG_File('2.mp3'); $idv2 = $mp3-&#62;getID3v2Tag(true); $album = new KTaglib_ID3v2_AttachedPictureFrame(); $album-&#62;setType(KTaglib_ID3v2_AttachedPictureFrame::FrontCover); $album-&#62;setPicture('testalbum.jpg'); $album-&#62;setMimeType('image/jpeg'); $idv2-&#62;addFrame($album); [...]]]></description>
			<content:encoded><![CDATA[<p>An odd quest perhaps: but adding album art to an MP3 (in ID3 tags) is readily doable with the KTaglib extension for PHP.  Once you have it, you can use a script like this to add artwork to an MP3:</p>
<pre>$mp3 = new KTaglib_MPEG_File('2.mp3');
$idv2 = $mp3-&gt;<a href="http://www.php.net/manual/en/mpegfile.getId3v2Tag.php">getID3v2Tag</a>(true);
$album = new KTaglib_ID3v2_AttachedPictureFrame();
$album-&gt;setType(KTaglib_ID3v2_AttachedPictureFrame::FrontCover);
$album-&gt;setPicture('testalbum.jpg');
$album-&gt;setMimeType('image/jpeg');
$idv2-&gt;addFrame($album);
$mp3-&gt;save();</pre>
<p>Assuming no exceptions are thrown, this should allow you to set an image of your choosing as a FrontCover image  (of course replacing my example values with your own real values), consult the <a href="http://www.php.net/manual/en/book.ktaglib.php">KTaglib documentation</a> for more details and check &#8220;Predefined Constants&#8221; for the other image types.</p>
]]></content:encoded>
			<wfw:commentRss>http://rrbits.com/epb/2010/05/31/embed-album-art-into-an-mp3-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Danbooru and a meta-data filesystem</title>
		<link>http://rrbits.com/epb/2009/11/17/danbooru-and-a-meta-data-filesystem/</link>
		<comments>http://rrbits.com/epb/2009/11/17/danbooru-and-a-meta-data-filesystem/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 08:19:15 +0000</pubDate>
		<dc:creator>epb</dc:creator>
				<category><![CDATA[Small Project]]></category>
		<category><![CDATA[danbooru]]></category>
		<category><![CDATA[metadata]]></category>

		<guid isPermaLink="false">http://rrbits.com/epb/?p=118</guid>
		<description><![CDATA[Yeah, I could probably file this one under &#8220;overkill.&#8221;  I&#8217;ve managed to set up a virtual machine running Danbooru so that I may finally get my personal photo collection organized AND be able to do so regardless of operating system I choose to boot. The traditional hierarchial manner of organizing files is a complete waste [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, I could probably file this one under &#8220;overkill.&#8221;  I&#8217;ve managed to set up a virtual machine running Danbooru so that I may finally get my personal photo collection organized AND be able to do so regardless of operating system I choose to boot.</p>
<p>The traditional hierarchial manner of organizing files is a complete waste of time.  Even assuming you can actually find anything again, you&#8217;ve already wasted several hours performing the initial organization.  I like the idea of being able to store a photo with some tags or other meta data and then be able to SEARCH it instead of browsing for it.  It would be nice if this ability were built directly into the file system though.  WinFS and Apple&#8217;s spotlight seem promising so I may set out to investigate their potential at some point in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://rrbits.com/epb/2009/11/17/danbooru-and-a-meta-data-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

