Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: Since I discovered Perl, I've given up:

by Tux (Abbot)
on May 27, 2007 at 09:34 UTC ( #617726=note: print w/replies, xml ) Need Help??

in reply to Re^2: Since I discovered Perl, I've given up:
in thread Since I discovered Perl, I've given up:

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
  • Comment on Re^3: Since I discovered Perl, I've given up:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617726]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-03-21 09:46 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (265 votes). Check out past polls.