-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
63 lines (52 loc) · 2.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
Andy Sayler
Phil Tang
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