<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.marcanoonline.com/plog/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>
 <channel>
  <title>Robert Marcano&#039;s blog</title>
  <link>http://www.marcanoonline.com/plog/blog/1</link>
  <description></description>
  <pubDate>Sat, 05 Jul 2008 19:48:31 -0700</pubDate>
  <generator>http://www.lifetype.net</generator>
    <item>
   <title>MP4 tags on a PlayStation 3</title>
   <description>
    &lt;p&gt;The PlayStation 3 uses standard &lt;a href=&quot;http://en.wikipedia.org/wiki/3gpp&quot;&gt;3GPP&lt;/a&gt; tags and does not understand iTunes style tags so every song I imported do not show the correct information, so instead of fixing them on the PS3 (something that does not changes the file, only on the internal database) I wrote a script with the help of &lt;a href=&quot;http://atomicparsley.sourceforge.net/&quot;&gt;AtomicParsley&lt;/a&gt;:&lt;/p&gt;

&lt;pre&gt;#!/bin/sh

addTag() {
        line=`mp4info &quot;$file&quot; | grep &quot;$2&quot;`
        if [ &quot;$?&quot; -eq &quot;0&quot; ]
        then
                command=&quot;$command $1 \&quot;`echo $line | sed -e &quot;s/$2: //&quot;`\&quot;&quot;
        fi
} 

for file in *.m4a; do
	command=&quot;AtomicParsley \&quot;$file\&quot;&quot;
	addTag --3gp-title &quot;Metadata Name&quot;
	addTag --3gp-performer &quot;Metadata Artist&quot;
	addTag --3gp-album &quot;Metadata Album&quot;
	addTag --3gp-genre &quot;Metadata Genre&quot;

	exec 3&amp;lt;&amp;gt;&quot;$file&quot;
	read -n 8 &amp;lt;&amp;amp;3
	echo -n 3gp6 &amp;gt;&amp;amp;3
	exec 3&amp;gt;&amp;amp;-

	eval &quot;$command&quot; -W

	exec 3&amp;lt;&amp;gt;&quot;$file&quot;
	read -n 8 &amp;lt;&amp;amp;3
	echo -n mp42 &amp;gt;&amp;amp;3
	exec 3&amp;gt;&amp;amp;-
done&lt;/pre&gt;

&lt;p&gt;It add a few 3GPP style tags taken from the original iTunes style tags. As AtomicParsley rejects to add that kind of tags on non 3GPP files, the script changes the ftyp field on the file temporaly to &lt;em&gt;3gp6&lt;/em&gt;. The script process all files with the extension m4a on the current directory.&lt;/p&gt;
   </description>
   <link>http://www.marcanoonline.com/plog/post/1/178</link>
   <comments>http://www.marcanoonline.com/plog/post/1/178</comments>
   <guid>http://www.marcanoonline.com/plog/post/1/178</guid>
      <dc:creator>robert</dc:creator>
      
    <category>PlayStation</category>
         <pubDate>Sun, 27 Apr 2008 19:53:11 -0300</pubDate>
   <source url="http://www.marcanoonline.com/plog/rss/rss20/1">Robert Marcano&#039;s blog</source>
     </item>
    <item>
   <title>Folding@home Petaflop Barrier Crossed</title>
   <description>
    &lt;p&gt;Amazing.... just look at the &lt;a href=&quot;http://blog.us.playstation.com/2007/09/25/foldinghome-petaflop-barrier-crossed-update/&quot;&gt;comparison with the other platforms&lt;/a&gt;, I am happy to have contributed at least a small part of it. This achievement is just only an example of how well made is the &lt;a href=&quot;http://www.us.playstation.com/PS3&quot;&gt;PlayStation 3&lt;/a&gt; that its owners do not hesitate to left it turned on for continuous days doing CPU intensive calculations, with the fans working at maximum speed to reduce the machine temperature.&lt;/p&gt;
   </description>
   <link>http://www.marcanoonline.com/plog/post/1/174</link>
   <comments>http://www.marcanoonline.com/plog/post/1/174</comments>
   <guid>http://www.marcanoonline.com/plog/post/1/174</guid>
      <dc:creator>robert</dc:creator>
      
    <category>PlayStation</category>
         <pubDate>Wed, 26 Sep 2007 14:23:25 -0300</pubDate>
   <source url="http://www.marcanoonline.com/plog/rss/rss20/1">Robert Marcano&#039;s blog</source>
     </item>
   </channel>
</rss>