<?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; mp3</title>
	<atom:link href="http://rrbits.com/epb/tag/mp3/feed/" rel="self" type="application/rss+xml" />
	<link>http://rrbits.com/epb</link>
	<description>Whatever comes to mind</description>
	<lastBuildDate>Wed, 29 Feb 2012 18:10:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Rythmbox Sync to USB Device</title>
		<link>http://rrbits.com/epb/2010/06/23/rythmbox-sync-to-usb-device/</link>
		<comments>http://rrbits.com/epb/2010/06/23/rythmbox-sync-to-usb-device/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 20:10:35 +0000</pubDate>
		<dc:creator>epb</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://rrbits.com/epb/?p=184</guid>
		<description><![CDATA[I have a sizable collection of music, so sizable in fact that I can&#8217;t store the full collection on any portal media.  Since I only use Windows to play video games, I use Rhythmbox to manage my music and found myself in need of a way to sync to a USB thumbdrive.  Now, the issue [...]]]></description>
			<content:encoded><![CDATA[<p>I have a sizable collection of music, so sizable in fact that I can&#8217;t store the full collection on any portal media.  Since I only use Windows to play video games, I use Rhythmbox to manage my music and found myself in need of a way to sync to a USB thumbdrive.  Now, the issue with this is that, by default, Rhythmbox doesn&#8217;t treat just any USB mass-storage device as an audio player, so I stumbled upon a post titled &#8220;<a href="http://www.m-phasis.de/2008/09/26/rhythmbox-and-usb-mass-storage-sync/">Rhythmbox and USB mass storage sync</a>&#8221; dealing with a similar problem.</p>
<p>All you need to do is create a file called &#8220;.is_audio_player&#8221; and add some content to it that&#8217;s something like this:</p>
<pre>audio_folders=music/
folder_depth=1
</pre>
<p>&#8230;and then scan removable media.  (Should be in the file menu)  One caveat you should be aware of is that I&#8217;m not sure if Rhythmbox will do any audio file conversion for you during the sync to your device.  But for moving a play list from one computer to another, this is plenty fine for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://rrbits.com/epb/2010/06/23/rythmbox-sync-to-usb-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
	</channel>
</rss>

