Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://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

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found