[Linux4christians] Re: Software for song services
dann
dann@thelinuxlink.net
Wed, 3 Apr 2002 01:18:40 -0500
This is a multi-part message in MIME format.
--Multipart_Wed__3_Apr_2002_01:18:40_-0500_0824bd00
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Over the weekend I started playing with mgp. It's a really great program.
I took a quick dig at the aforementioned problem and knocked out a small
perl script.
Right now all it does is display the mgp files in a specified directory
and asks what you would like to run. It executes the file and quits.
The script is pretty basic, and I'm sure it could be done a lot neater.
Again, I'm just learning, but I am including it as an example. If anyone
has comments...
Since I really want to learn perl, I figure I will keep at it and build
something along the lines of this:
The user is given a menu to choose from, possibly:
1) Display song
2) Search Song database
3) Create Song list
4) Run Song list
5) something else, but I don't know what yet
I'm thinking the song files would only be the lyrics, not full mgp
presentations. You could parse this together in the script and save some
space.
You could link this to mysql, or just have a directory containing the song
files. The latter would be easier for me right now, but I do need to
learn mysql also. Maybe in version 2.0 :-).
As for exporting the music to another display, this could also be
included, I think.
I run a cvs server and if anyone is interesting in helping out with this
project, I can set you up with an account.
One a similar note, I designed a quick presentation on debugging
applications (specifically geared towards slack users) over the weekend.
I was using my laptop down at my Mother-in-Laws. All the sample mgp
presentations I ran were pretty speedy, so I could not figure out why my
initial presentation was taking a good 3-5 seconds to load up. I kept
jumping back and forth trying to figure out how mine differed enough from
the samples given to account for this delay. Turns out, I inadvertently
created the sample on my workstation at home through and ssh tunnel. The
presentation was coming across a <56k connection to my laptop. After
realizing this, I was pretty impressed with overall performance in doing
this.
Finally, I plan on putting together a how-to on mgp for our May LUG
meeting. This will be posted to our resouce section on our site (
www.thelinuxlink.net/lvlinux ), so keep an eye out. As always, when the
information goes up, I'd be very interested in any feedback or
contributions.
--
Daniel S. Washko
Lehigh Valley Linux Users Group
www.thelinuxlink.net/lvlinux
get slack (www.slackware.com ) and get happy
--Multipart_Wed__3_Apr_2002_01:18:40_-0500_0824bd00
Content-Type: application/octet-stream;
name="songs"
Content-Disposition: attachment;
filename="songs"
Content-Transfer-Encoding: base64
IyEvdXNyL2Jpbi9wZXJsCgoKb3BlbmRpciAoU09OR1MsICIvaG9tZS9kYW5uL2w0Y3Byb2oiKSB8
fCBkaWUgIm5vIGw0Y3Byb2o/OiAkISI7Cgp3aGlsZSAoZGVmaW5lZCAoJG5hbWUgPSA8L2hvbWUv
ZGFubi9sNGNwcm9qLyoubWdwPikpIHsKCQkkbmFtZSA9fiBzIy4qLyMjLm1ncDsKCQlwcmludCAi
JG5hbWVcbiI7Cn0KY2xvc2VkaXIoU09OR1MpOwoKcHJpbnQgIlxuIjsKcHJpbnQgIlBpY2sgYSBw
cmVzZW50YXRpb246ICAiOwokcGljayA9IDxzdGRpbj47CmNob21wKCRwaWNrKTsKCnN5c3RlbSAo
Ii91c3IvWDExUjYvYmluL21ncCAvaG9tZS9kYW5uL2w0Y3Byb2ovJHBpY2siLiIubWdwIik7Cgpw
cmludCAiY29vbCI7Cgo=
--Multipart_Wed__3_Apr_2002_01:18:40_-0500_0824bd00--