Programming and Scripting :: How to write this small script
I listen music from a radio station on internet. The title from current song can be seen on radio's website. The page playlist is updated each time that another song begin.
I want write a program that read the song title from website and automatically open the respective text file saved on my computer that has the lyric.
Considering I'm not expert programming the question is what language you recommend to use for this application?
http://tldp.org/LDP/abs/html/index.html
Bash shell scripting, to the rescue.
Assuming your lyric files and the website are in consistant formats, I bet you can simply wget the files you need and then have the script fire up a text editor with your lyrics file.
I agree with Dare2Dreamer. It looks like a shell script would do nicely. You have helped me so much, maybe I can return the favor. What do you need?
--Ted
Sometimes when I read some answers on this forum I think it is wonderful to find people so considerate. This is one of that times. Thanks sincerely.
I want to let you know that I'm learning english in self taught manner then I read the lyrics while listen the song to know so the english pronunciation. I think the melodic songs are ideal for this purpose because they have a specific timing between words more easy to listen and to remember while the music is pleasing to the listener.
The idea is, to extract only the title string from currently playing song on this "web playlist":
http://wktz.jones.edu/wktz/BSI_WKTZFM_Page.htm
With that string, to open the file such as:
"string" = titleX = filename
From this set of lyric files:
title1.txt, title2.txt,...,titleN.txt
I'm considering to use JavaScript or Bash as Dare2Dreamer said.
Any idea about how to get the string title from BSI_WKTZFM_Page.htm file is of course welcomed.
Regards.
Piccolo:
First of all, you seem to have an adequate enough understanding of English to offer help on the Forum. I am proud of you. Secondly, the radio station is not broadcasting right now, so I can't really look at it now.
Get back to you later.
--Ted
Next Page...
original here.