Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#144577 - 19/02/2003 23:15 lrctool v1.0
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
You asked for it, you got it! lrctool v1.0 is now available on the emphatic section of my web site:

http://empeg.webhop.net/

Scroll down to the "download" links. lrctool is now there instead of lrc2sylt.

lrctool is the new name for lrc2sylt, because it now does more than just LRC -> SYLT conversion. Windows only right now, a Linux version is possible in the future, but I'm not guaranteeing anything, since lrc2sylt does most of what we need. No public source code right now because it was written in a couple hours and it's really ugly.

Here's a summary of the usage:


To embed LRC files into your MP3's:

lrctool lrc2sylt [LRCfile] [MP3file]
EXAMPLE: "lrctool lrc2sylt song.lrc song.mp3"
[LRCfile] LRC format text file containing timed lyrics
[MP3file] the MP3 file to embed the lyrics into

To convert an MP3's Lyrics3 tag into a proper ID3v2 SYLT frame:

lrctool l32sylt [MP3file] [options]
EXAMPLE: "lrctool l32sylt mysong.mp3 13"
[MP3file] the MP3 file to be operated on
[options] one of the following values:
1 strip the ID3v1 tag
3 strip the Lyrics3 tag
13 strip both the ID3v1 and Lyrics3 tags
By default, ID3v1 and Lyrics3 tags will be left in the MP3, but you
can strip them by setting these options. It's a very good idea to
strip the Lyrics3 tag, and if you have an ID3v2 tag, you might as well
get rid of the ID3v1 tag, too.

To export SYLT lyrics to LRC text files (for sharing with others)

lrctool exportlrc [MP3file] [LRCfile]
EXAMPLE: "lrctool exportlrc song.mp3 song.lrc"
[MP3file] the MP3 file to read synced lyrics from (SYLT only)
[LRCfile] the output file where you want the text lyrics

.
No guarantees or warranties expressed or implied, so please test this out on some expendable MP3s before you go redoing your entire collection. The LRC export feature was just barely tested, so I'd like feedback on that as well.

Enjoy!
_________________________
- Tony C
my empeg stuff

Top
#144578 - 20/02/2003 00:11 Re: lrctool v1.0 [Re: tonyc]
fink08
journeyman

Registered: 15/02/2002
Posts: 79
Just a little request. Can program a way to do a batch job. Like converting an entire directory? I guess i could just create a batch file to do this for myself but i was wondering if this could be added to the next release. Thanks.

Top
#144579 - 20/02/2003 01:25 Re: lrctool v1.0 [Re: tonyc]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Nice. So who's going to write the first GUI front-end for batch processing, etc?
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#144580 - 20/02/2003 09:00 Re: lrctool v1.0 [Re: tonyc]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3995
Loc: Manchester UK
Okay, I mistook the lowercase L for an I and thought, WTF! Why does someone want an IRC client on their empeg!
_________________________
Cheers,

Andy M

Top
#144581 - 20/02/2003 17:36 Re: lrctool v1.0 [Re: tonyc]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Since you've been mucking around with ID3 based software, is there any chance you might do a ID3 -> SQL tool for us? The hacked up version of mp3db I have is showing its age, and there aren't really any other decent programs out there that do this.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#144582 - 20/02/2003 18:20 Re: lrctool v1.0 [Re: ricin]
Happy Birthday Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
The hard part of an id3 to sql tool would seem to be the schema on the sql side. A one-size-fits-all schema never does; I'm using something else I wrote myself.

Top
#144583 - 20/02/2003 18:58 Re: lrctool v1.0 [Re: Daria]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Very true. There is no standard, and people can never seem to agree. In that case, a readable config file with the schema then, maybe?
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#144584 - 20/02/2003 19:04 Re: lrctool v1.0 [Re: ricin]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Um, I would have no use for an MP3 -> SQL, so it's not something I'd consider writing. What is it that you'd want to see that isn't already available in existing programs with the same purpose? I guess I'm confused as to what you want here...
_________________________
- Tony C
my empeg stuff

Top
#144585 - 20/02/2003 19:24 Re: lrctool v1.0 [Re: tonyc]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Yeah, it was just a thought. No point in writing something for free if you yourself will have no use for it.

The program I have currently (mp3db) will periodically mangle data from the v2 tags, or not pick them up at all. Many other little bugs like that are present, too. One thing I want is a switch to force verification of the tag, check for blank fields, etc, then allow the user to edit the info before it is inserted into the db (or the .sql file - as it may be), and save the changes back into the mp3.

Anyway, I'll have to look into writing my own eventually.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#144586 - 20/02/2003 19:29 Re: lrctool v1.0 [Re: ricin]
Happy Birthday Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
If I get bored I will clean mine up to use perl instead of parsing output from the id3v2 program, and release.

Top
#144587 - 20/02/2003 19:35 Re: lrctool v1.0 [Re: ricin]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Anyway, I'll have to look into writing my own eventually.

After you finish a certain web site, no?

BTW anyone actually used this thing yet? I'd like to at least know it works, it was coded in like an hour and a half.
_________________________
- Tony C
my empeg stuff

Top
#144588 - 20/02/2003 19:52 Re: lrctool v1.0 [Re: tonyc]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
After you finish a certain web site, no?


Yes. I keep getting side tracked, and since I don't have a permanent job at the moment any little contracts that come up I go immediately into without hesitation. Money = Good.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#144589 - 20/02/2003 21:09 Re: lrctool v1.0 [Re: tonyc]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
BTW anyone actually used this thing yet? I'd like to at least know it works, it was coded in like an hour and a half.

Yeah I've used it.

2 albums lyriced...

29 albums and 10000 mp3's to go

*shoots self*

I think I'll just do my owned albums at this rate


Edited by xanatos (20/02/2003 21:10)
_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#144590 - 20/02/2003 22:01 Re: lrctool v1.0 [Re: xanatos]
fink08
journeyman

Registered: 15/02/2002
Posts: 79
I used it to and it works fine. Just gotta find a way to do all my songs at once now.

Top
#144591 - 25/02/2003 13:27 Re: lrctool v1.0 [Re: fink08]
fink08
journeyman

Registered: 15/02/2002
Posts: 79
does anyone know a way i can use lrctool to run a batch job?

Top
#144592 - 25/02/2003 16:13 Re: lrctool v1.0 [Re: fink08]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
On Linux, you can run my Batch tool.

It's in Perl, so if you're on Windows, you're welcome to modify the code. It won't run as-is on Windows because it uses the unix "find" command... maybe with cygwin, I didn't try.
_________________________
--The Amigo

Top
#144593 - 25/02/2003 16:23 Re: lrctool v1.0 [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
For future reference, you can make scripts like this more portable if you use the File::Find Perl module. If you do that, I can use perl2exe and post a Windows binary for everybody.
_________________________
- Tony C
my empeg stuff

Top
#144594 - 25/02/2003 18:01 Re: lrctool v1.0 [Re: TheAmigo]
fink08
journeyman

Registered: 15/02/2002
Posts: 79
Oh, would anyone like to help out this linux semi-noob cause atm i don't have a machine with linux on it and i don;t know anything about reprogramming a perl batch program

Top
#144595 - 25/02/2003 18:04 Re: lrctool v1.0 [Re: fink08]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Well if everyone can be patient for a week or three, I'm working the issue of not having any easy way to get lyrics into your MP3's, and also evaluating the possibility of just using LRC files directly. If the existing tools are too much of a hassle or you don't feel confident working with what we have so far, give me (and those who are helping out) time to work some magic.
_________________________
- Tony C
my empeg stuff

Top
#144596 - 25/02/2003 18:31 Re: lrctool v1.0 [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I don't know how hard this is, but WinZip makes it so you can drop other files on a .zip and it will add them. Would it be possible to drop an lrc on an mp3 and have it run lrctool? I could see it interfering with other mp3 extensions and maybe not working right. That'd be easier than typing the names, but still a lot of D&D tedium.

Maybe I'll give File::Find a try and see how that approach goes.
_________________________
--The Amigo

Top
#144597 - 25/02/2003 20:56 Re: lrctool v1.0 [Re: tonyc]
fink08
journeyman

Registered: 15/02/2002
Posts: 79
Thanks yn0t_ I have nothing but time. Your the best and your work is greatly appreciated.

Top