title: Parsing itunes library xml only for smart and user created playlists
body: <p>I am trying to parse <em>itunes music library xml</em> for <em>itunes 10</em>. The requirement is to parse only the <em>smart</em> and <em>user created</em> playlists and skip <em>Library, Music, Movies, Tv Shows.</em></p>
  
  <p>Smart playlists have <em>Smart Info</em> and <em>Smart Criteria</em>. Let say I have a user created playlist called Library and Music, how can I distinguish them from original <em>Library</em> and <em>Music</em> containing all my music?</p>
  
  <pre><code>&lt;key&gt;Playlists&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;Name&lt;/key&gt;&lt;string&gt;Library&lt;/string&gt;
          &lt;key&gt;Master&lt;/key&gt;&lt;true/&gt;
          &lt;key&gt;Playlist ID&lt;/key&gt;&lt;integer&gt;893&lt;/integer&gt;
          &lt;key&gt;Playlist Persistent ID&lt;/key&gt;&lt;string&gt;1BEAC6B526CA9EE0&lt;/string&gt;
          &lt;key&gt;Visible&lt;/key&gt;&lt;false/&gt;
          &lt;key&gt;All Items&lt;/key&gt;&lt;true/&gt;
          &lt;key&gt;Playlist Items&lt;/key&gt;
          &lt;array&gt;
          .....
          &lt;/array&gt;
      &lt;/dict&gt;
      ...
      ...
      &lt;dict&gt;
      &lt;key&gt;Name&lt;/key&gt;&lt;string&gt;Library&lt;/string&gt;
      &lt;key&gt;Playlist ID&lt;/key&gt;&lt;integer&gt;1509&lt;/integer&gt;
      &lt;key&gt;Playlist Persistent ID&lt;/key&gt;&lt;string&gt;8F9656FD7FC595B1&lt;/string&gt;
      &lt;key&gt;All Items&lt;/key&gt;&lt;true/&gt;
      &lt;key&gt;Playlist Items&lt;/key&gt;
      &lt;array&gt;
      ....
      &lt;/array&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>The only major difference I see the '<em>Visible</em>' text.. <em>Master</em> is not available for <em>Music, Tv Shows</em>, so can not use it either. Am guessing there should be distinction possible based upon <em>playlist id</em> or <em>playlist persistent id</em>.</p>