It looks like http://last.fm has an XML/RSS feed that I can use (along with some HTML they provide that links to a .gif image with a list of recently played tracks. Doesn't update too fast though it looks like...) to show the most recent tracks...perhaps i could use XML::Twig for this...

The XML is a LOT simpler for this site:

<recenttracks user="dhoss"> &#8722; <track> <artist mbid="777a21a8-0d0f-4cf3-86b4-65bc0eba5649">Staind</artist> <name>Everything Changes</name> <mbid/> &#8722; <url> http://www.last.fm/music/Staind/_/Everything+Changes </url> <date uts="1163436933">13 Nov 2006, 16:55</date> </track> &#8722; <track> <artist mbid="">The Smashing Pumpkins</artist> <name>1979</name> <mbid/> &#8722; <url> http://www.last.fm/music/The+Smashing+Pumpkins/_/1979 </url> <date uts="1163436668">13 Nov 2006, 16:51</date> </track> &#8722; <track> <artist mbid="">Yellowcard</artist> <name>Gifts and Curses</name> <mbid/> &#8722; <url> http://www.last.fm/music/Yellowcard/_/Gifts+and+Curses </url> <date uts="1163436360">13 Nov 2006, 16:46</date> </track> &#8722; <track> <artist mbid="">Rascal Flatts</artist> <name>What Hurts The Most</name> <mbid/> &#8722; <url> http://www.last.fm/music/Rascal+Flatts/_/What+Hurts+The+Most </url> <date uts="1163435904">13 Nov 2006, 16:38</date> </track> </recenttracks>

Or, I could even parse the even simpler CSV file:

1163436933,Staind – Everything Changes 1163436668,The Smashing Pumpkins – 1979 1163436360,Yellowcard – Gifts and Curses 1163435904,Rascal Flatts – What Hurts The Most

meh.

In reply to Re^2: iTunes lacking on CPAN... by stonecolddevin
in thread iTunes lacking on CPAN... by stonecolddevin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.