Unoffical empeg BBS

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

Page 1 of 6 1 2 3 4 5 6 >
Topic Options
#141340 - 09/02/2003 17:31 emphatic Lyrics Viewer v1.0 Released
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I am pleased to announce the release of emphatic v1.0, a lyrics viewer for your empeg. This program was based on elperepat's previous work, and I would like to again thank him for sharing his source with the community. I hope that I have improved on his work, and I hope you all enjoy the fruits of my labor.

Please read the README which is on my website and included in the archive for instructions on installation, etc. It should be straight-forward, providing you know how to use FTP and how to edit your config.ini to execute the program on startup.

I've also included a utility for tagging your MP3's with lyrics from LRC files. For Windows users, this is apparently the only game in town for adding lyrics in SYLT format. For *X users, I suggest using an XMMS plugin called SingIt which seems to write lyrics in ID3v2 SYLT format. Unix fans will take great amusement from the fact that they get a nice, pretty GUI to add lyrics in one step, while Windows users have to use a command-line utility, at least for the second step. I suggest that until someone writes a WinAMP plugin to do it, Windows users use one of the existing plugins which can write LRC format lyrics, and then use my utility to import those. Details are in the README file.

Anyway, head over to my empeg page at http://empeg.webhop.net/ and give it a whirl. Enjoy!
_________________________
- Tony C
my empeg stuff

Top
#141341 - 09/02/2003 19:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
elperepat
enthusiast

Registered: 11/01/2002
Posts: 211
Loc: Qc, Canada
BRAVO!!

Great success!! Works like a charm! Just got my first real id3v2 SYLT mp3 on my empeg (guess which? The Old Black Rum, of course ;-), and it's scrolling!

Vertical scrolling is also a great addition!

Menu is great too!


Wow.. a must have!

Now i just need pass through the code to understand how you did it !!


Thanks a lot for this!

Patrick
_________________________
Patrick

Top
#141342 - 09/02/2003 19:46 Re: emphatic Lyrics Viewer v1.0 Released [Re: elperepat]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Thanks, glad you like it!

Just as I was reading this post I already found the first post-release bug. When it's playing a song with no lyrics, the menu screen comes up blank. Oh well. I'll fix that soon, I suspect most people will just be trying this out for the next few days.
_________________________
- Tony C
my empeg stuff

Top
#141343 - 09/02/2003 20:19 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Hi Do you have any instructions for people(me) who dont know what this means:::::::?
" Installation:
Installation should be simple, there's only one file, a binary, which must be put somewhere on your empeg, and then executed when you want to run it.

The first part can be done via FTP. I have included a simple FTP install script which will do this for Windows users. You just need to edit the batch file "install-emphatic.bat" and change 192.168.0.1 to the IP address of your empeg, and edit the FTP install script "install-emphatic.ftp" changing the target directory (/usr/local/bin) to wherever you want the emphatic binary to live. Once that's done, run the batch file, and you should be all set.

After the binary is on your empeg, you can run it from a shell prompt, or add it to your Hijack menu by adding the following line to your config.ini:

;@EXEC /usr/local/bin/emphatic

Substituting /usr/local/bin with the path where you put your binary. That should be all you need."
I"d love to try this but I dont know what most of that means.How do i get this on my player please.
_________________________
MIKE 80Gb RIO

Top
#141344 - 09/02/2003 21:05 Re: emphatic Lyrics Viewer v1.0 Released [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Sorry about that, I guess I expected that the first few people who tried this out would be a little more experienced with program installations. This is the problem with having no easy install mechanism...

Okay. There are two files. One ends with .BAT and one ends with .FTP. The .BAT file has a line which says "cd /usr/local/bin" You need to have a directory somewhere on your empeg where you want this program to live. In my example, that place is /usr/local/bin, but there is no one place on the empeg where everyone's programs live, so I had to have users edit their own script.

The FTP file has an IP address in it, 192.168.0.1. Your empeg's IP address is probably different, so you need to open the FTP file in notepad and change that address to your IP empeg's address. Your IP address is in the "About" menu on the player, a few lines down.

Once you do these two steps, you just need to double-click the install-emphatic.bat file, and it *should* put the program on your player. The thing is, now that it's there, you need a mechanism to run it.

Recent version of the Hijack kernel (I'm assuming you have that installed) have a mechanism for launching programs. That mechanism is to add a line as I mentioned in the readme:

;@EXEC /usr/local/bin/emphatic

This tells Hijack to start up the program when your player starts up. I cannot write an install to automate this part.

Does this help? Or is it more technical jargon? Installing these apps is not an easy task, I tried to make it easy, but I guess I failed.
_________________________
- Tony C
my empeg stuff

Top
#141345 - 09/02/2003 21:26 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Hi No it doesnt help me much .That doesnt mean you didnt explain it good it just means i dont understand it.The unzipped folder has 2 files one named lyrics and one named lyrics.c but nothing with .ftp or.bat.Are these connected to the player via the serial cable?I do have Hijack installed so thats a plus!Well its getting late so ill work on this another time .thanks maybe in the meantime someone could translate this into an"Empatic Lyrics Viewer for Dummies" for me/us.
_________________________
MIKE 80Gb RIO

Top
#141346 - 09/02/2003 21:30 Re: emphatic Lyrics Viewer v1.0 Released [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Okay you're right, I'm stupid and forgot to include the batch files.

Fixing soon... Programmers can be "dummies" too!

Edit: v1.01 is up. Fixed the menu redraw bug and added the install stuff. Just goes to show you, don't run version X.0 of anything.


Edited by yn0t_ (09/02/2003 21:48)
_________________________
- Tony C
my empeg stuff

Top
#141347 - 09/02/2003 22:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Cool, looking forward to testing it out. Is there a unix command line program or maybe a perl module available that will add the SYLT tags? I am hoping there is something I can get to compile on OS X (and I assume the command line program you include is windows only). XMMS is a bit overkill if all you want to do is add a lyrics tag that somebody else created.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141348 - 09/02/2003 22:23 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Bad assumption on the Windows-only part. I made lrc2sylt available for both Linux and Windows, and include the C source inside the distribution. I don't know enough about OS X to know whether it would compile, but my gut says it probably wouldn't.

There is a Perl module MP3::Tag I believe that might help you out, but because SYLT frames are binary data, it's not as simple as entering timestamps and lyrics.

Let me know how you fare in compiling my utility on OS X. Incidentally, I would caution you against using tags that someone else created though, a lot of the LRC files I've found on the net are pretty dodgy...
_________________________
- Tony C
my empeg stuff

Top
#141349 - 09/02/2003 22:31 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
<cartman>Schweeet</cartman>
Congrats on creating another program that's motivating me to bring my player up to date. It's serial port has been languishing ever since empacman came out. (Wait, thanks to Mark I don't even need a serial cable, do I? Maybe i'll download the new jemplode and feel really up to date.

Matthew

Top
#141350 - 09/02/2003 22:42 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I'm getting ready to try it now (excitement mounts!).

But it appears the lrc2sylt binary is only a Linux one, no .exe... guess I'll use it on Linux for now (don't have a Windows compiler installed).

[amigo@goofy temp]$ file lrc2sylt
lrc2sylt: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
_________________________
--The Amigo

Top
#141351 - 09/02/2003 22:50 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Um, download the "Windows support" ZIP file on my page. I distribute the Win32 utils as a separate file to reduce the size of the Linux archive... Was that a bad idea? : )
_________________________
- Tony C
my empeg stuff

Top
#141352 - 09/02/2003 22:50 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
But it appears the lrc2sylt binary is only a Linux one, no .exe...

The windows .exe version is a separate download from his site.
_________________________
Tony Fabris

Top
#141353 - 09/02/2003 22:51 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Jinx!
_________________________
Tony Fabris

Top
#141354 - 09/02/2003 22:51 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I tried running it on my Linux box, but I didn't have id3lib. I just downloaded it, but it doesn't compiile for me:

frame_impl.h:76: instantiated from here
In file included from frame.cpp:34:
../include/id3/id3lib_bitset:791: `__STL_THROW' undeclared (first use this function)
../include/id3/id3lib_bitset:791: (Each undeclared identifier is reported only once
../include/id3/id3lib_bitset:791: for each function it appears in.)
../include/id3/id3lib_bitset: In method `bool bitset<24,long unsigned int>::_Unchecked_test<24, long unsigned int>(unsigned int) const':
../include/id3/id3lib_bitset:793: instantiated from `bitset<24,long unsigned int>::test<24, long unsigned int>(unsigned int) const'

I guess I'll have to wait until tomorrow to try lyrics as I don't yet have any tagged songs. I'd run XMMS, but my Linux box is just a file server, no X libs.
_________________________
--The Amigo

Top
#141355 - 09/02/2003 22:54 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Eeep. Compiling ID3lib is yucky. If you want me to attach an ID3lib .so for x86 Linux I can do that.
_________________________
- Tony C
my empeg stuff

Top
#141356 - 09/02/2003 22:55 Re: emphatic Lyrics Viewer v1.0 Released [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Damn you, you're even stealing my thunder in my own thread! Get out of here!
_________________________
- Tony C
my empeg stuff

Top
#141357 - 09/02/2003 22:55 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
bertrandom
new poster

Registered: 13/01/2002
Posts: 22
For some reason I can't get this to work. I mean, it runs, but it doesn't display the lyrics, and I've tagged it with the windows program and reupdated it on my empeg. Can someone link to an mp3 that actually works with this program? Or try this one out : http://bertrand.servemp3.com/mp3/brown.mp3

Top
#141358 - 09/02/2003 22:57 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Maybe tomorrow I'll practice on my reading skills
_________________________
--The Amigo

Top
#141359 - 09/02/2003 23:00 Re: emphatic Lyrics Viewer v1.0 Released [Re: bertrandom]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Checking it out now.. You're my first guinea pig for the Windows utility -- I built it and tested it with the id3info program, but never did actually send one of those MP3's over to my Empeg. Though if id3info says it's valid, I can't see why it wouldn't be valid...
_________________________
- Tony C
my empeg stuff

Top
#141360 - 09/02/2003 23:03 Re: emphatic Lyrics Viewer v1.0 Released [Re: bertrandom]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Works for me...



You did select "emphatic" from the Hijack menu, didn't you? Sorry if you did, but it's my duty to ask...


Attachments
139748-brown.gif (434 downloads)



Edited by yn0t_ (09/02/2003 23:05)
_________________________
- Tony C
my empeg stuff

Top
#141361 - 09/02/2003 23:06 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Windows utility worked great for me, too!

My head has officially exploded, I'm now looking at "It's the End of the World as We Know It" scrolling by on my player. WOOOOOOOT!!!!

Now, I did do one particular thing which was: I made sure the file had a valid, good ID3V2 tag before running the Windows utility to merge the text file with the MP3.

Will the Windows utiliy add a V2 tag if one doesn't exist?
_________________________
Tony Fabris

Top
#141362 - 09/02/2003 23:09 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Bad assumption on the Windows-only part. I made lrc2sylt available for both Linux and Windows

Ahh, sweet. I should know better than to assume. Unfortunately I am getting link errors tryiing to link it against id3lib. I think I just need to figure out how to add the libraries id3lib installed to my linker path. Never had to do that for anything before. Gonna have to wait till tomorrow to do that unless someone has a quick tip. Don't you just need an environment variable name LD_LIBRARY or something like that?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141363 - 09/02/2003 23:10 Re: emphatic Lyrics Viewer v1.0 Released [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Will the Windows utiliy add a V2 tag if one doesn't exist?

Wow, I'm really not sure because none of my MP3's are without ID3v2 tags. The details of what it does to add that frame are kinda hidden behind id3lib API's. Would be interesting to find out, though...
_________________________
- Tony C
my empeg stuff

Top
#141364 - 09/02/2003 23:11 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Um, if you did id3lib installation then it should have put them in /usr/local/lib by default. It's LD_LIBRARY_PATH. Add /usr/local/lib to that and see if that helps you out.

Edit: I'm truly earning my forum rank tonight...


Edited by yn0t_ (09/02/2003 23:11)
_________________________
- Tony C
my empeg stuff

Top
#141365 - 09/02/2003 23:11 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
Waterman981
old hand

Registered: 14/02/2002
Posts: 804
Loc: Salt Lake City, UT
Tony, I have had tried multiple times to add SYLT format lyrics to multiple MP3's in WinXP.

I first tried with a LRC file from the internet. Nothing. I also tired by adding the lyrics into WinAmp Lyrics like you recommended, then clicking to add the time codes. Exported to LRC and again tried running lrc2sylt. Each file I tried I got the same results, the empty menu which you have discovered. Using my tag editor (Dr. Tag) in the other tab, it shows that there is SYLT added to the tag, however I cannot see what it contains. So I believe the SYLT lyrics are being added to the MP3's, but after uploading them to my empeg, and playing them with emphatic running, they are not showing up. Any ideas?
_________________________
-Michael

#040103696 on a shelf
Mk2a - 90 GB - Red - Illuminated buttons

Top
#141366 - 09/02/2003 23:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: Waterman981]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
First, I fixed the empty menu thing in v1.01. But if you're getting that in 1.0, then it doesn't like your MP3 or the tags for some reason. Can you send me a short example MP3? my email addy is in my sig.
_________________________
- Tony C
my empeg stuff

Top
#141367 - 09/02/2003 23:34 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Um, if you did id3lib installation then it should have put them in /usr/local/lib by default. It's LD_LIBRARY_PATH. Add /usr/local/lib to that and see if that helps you out.

Huh, I tried that (and DYLD_LIBRARY_PATH which I think may be needed for OS X) and it didn't seem to make any difference. I definitely have id3lib installed in that location (I just compiled and installed it) but I am still getting the error below. Anything else I could be missing?

gcc lrc2sylt.c
ld: Undefined symbols:
_ID3Field_SetASCII
_ID3Field_SetBINARY
_ID3Field_SetINT
_ID3Field_Size
_ID3Frame_GetField
_ID3Frame_NewID
_ID3Tag_AddFrame
_ID3Tag_FindFrameWithID
_ID3Tag_Link
_ID3Tag_New
_ID3Tag_RemoveFrame
_ID3Tag_Update
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141368 - 09/02/2003 23:37 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
gcc -lid3 -lz lrc2sylt.c

You need -lid3 and -lz. ID3lib has a dependency on ZLib (libz.so) if you don't already have that...
_________________________
- Tony C
my empeg stuff

Top
#141369 - 09/02/2003 23:41 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hmm I guess I misspoke about XMMS. The XMMS plugin READS SYLT tags, but doesn't WRITE them.

Looks like my utilities are the only game in town.. for now... (*hint* *hint* to any budding WinAMP plugin developers out there...)
_________________________
- Tony C
my empeg stuff

Top
Page 1 of 6 1 2 3 4 5 6 >