Skip to content

WMFO/WMFO-Lyric-Flagger-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WMFO Lyrics Flagger
WMFO - Tufts Freeform Radio
Version 2.0
Copyright 2010, 2011 Ben Yu, Andy Sayler, Phil Tang
Distributed under the terms of the GNU General Public License
Including additional terms located in file TERMS.

Ben Yu
[email protected]
Andy Sayler
[email protected]
Phil Tang
[email protected]

NOTE: The LyricsWiki API that this program uses no longer returns full lyrics
results, instead only returning about 1/7th of the results. This is a major bug
that causus all LyricsFlagger reults to be called into question. We are working
on a fix, but please do not trust the current results.

Overview:

The goal of the lyrics flagger is to traverse a database of songs and
determine if any of the songs contain specific lyrics. Songs that contain
these lyrics are flagged to indicate this fact in the database.

Currently the program is designed to interface with the Rivendell
Radio Automation System (www.rivendellaudio.org), Version 2. It is primarily
used to search lyrics for specific profane words and then flag these songs
as profane in the Rivendell library, thus insuring that they are not
inserted into the automaticlly generated automation logs.

Version 2 constitutes a significant rewrite of the version 1 code to
minimize dependencies, and avoid the use of the now defunct LyricsFly API.

Note: The source code has been stripped of any WMFO specific credentails.
      These credentials may need to be re-added to your installation before
      this code will run.

Files:

README             - This informative file.
COPYING            - Copyright License
filter.regex       - A file with specific regex staments designed to detect
                     profane English words
html_decode.sed    - Autogenerated sed file used to process HTTP response
process.sh         - The main script
src/sed_generate.c - Source to a c program that generates html_decode.sed
src/urlencode.c    - Source to a c program used to url encode strings
check_res          - A development test regex statment file. Not used.
sed_generate       - Executable built from src/sed_generate.c
urlencode          - Executable built from src/urlencode.c

ToDo:
+ Add makefile
+ Add more documentation
+ Create modular regex search file system
  (for use with various regex filter files)
+ Create modular lyrics website system
  (for use with various lyrics websites)
+ Create modular database access system
  (for use with system other than Rivendell)

License: See COPYING and TERMS

About

A program for automatically flagging songs that contain specified lyrics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published