Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I talked about this, and demonstrated it, in a lightning talk in Ireland on YAPC::Europe.

Short explanation is, that if a internat radio station has the playlist available on the internet too, and the playlist is reasonably well in sync with what is actually played, you can write a script that reads the playlist, and adjusts the volume of the radio (volume is player independant) based on a list of groups you have and a rating you put with each performer.

The next step is to switch station if the station starts playing things you don't like. All xmms like players (and many others probably too) support external interfaces that control there behaviour.

Once you have found two stations on choice, you can freely alternate between those and vary the volume.

For me the fun went further, because the station it all started with supports an internal rating system. You can rate songs as they are played, and you can put comments with each song..

I then read back these ratings, make an avarage score per performer, and control volume and station switch on these scores.

I've made no secret of my preference of music, and the last script is available in my journal section of Radio Paradise.

BTW I don't listen to Radio Paradise anymore, since the noise ratio went up too high. I switched to Stellar Attraction. Please all enjoy your own taste!

Enjoy, Have FUN! H.Merijn

In reply to Re^3: Since I discovered Perl, I've given up: by Tux
in thread Since I discovered Perl, I've given up: by planetscape

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and monks are getting baked in the sun...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (5)
    As of 2018-05-27 06:18 GMT
    Find Nodes?
      Voting Booth?