S1 LRC XtractS1 LRC Xtract Tool is used to extract lrc files from html files downloaded from lrcDB. The software is currently under development, and has not been thoroughly tested. It is written and maintained by User:CaptNemo. Requirements
Known Issues
Download & Install
WorkingThe Software works in two parts. the first converts an html file into txt, ignoring whatever is written between tags(< and >). These text files are saved with the same names as html files. The second part first extracts the track name/artist and writes the lyrics file. To use the Artist name extraction, I used the fact that the last words preceeding the Artist - Track Name In each file were the google search engine's placeholde. It is ::google:: on the left hand side of the page. The program searches for a character(a-z or A-Z) after le:: pattern. From here till the next line break, it stores everything as artist track name (aname). The file is opened as aname.lrc. If the file already exists, which is a problem on lrcDB(they have multiple lyrics for the same file), the file is not overwritten. To extract the lrc, the program moves forward to the first occurence of [ (the time tag), on the file. From here till the time it meets a line break not followed by [, it keeps writing the text in aname.lrc. Also I had to deal with   tags , which i did using the fact that all of them ended with a ;. hope you enjoy using it as much as i did writing it. Warning
Future ScopeSince the program relies upon the facts in lrcDB's formatting, it is essential that every change in lrcDB's structure should be reflected immediately on this program. i am also working on a noname model, that will not extract the name, just the lrc, so it would be applicable for all sites. But I don't really know any other lrc providing site. There could be options to change the file name as Artist Track, or Track , or maybe Artist-File_Number. |
Music > MP3 Players >