Re: capture song title

2001-11-17 Thread Jeff 'japhy' Pinyan
On Nov 17, Andrea Holstein said: >Ken Clark wrote: >> >> I want to capture the title of the current song I have running on my box >> through mpg123 and redirect it to a file. In this process, I don't want >> the /long/path/to/song but just the song.mp3. Is it possible to capture >> the song titl

Re: capture song title

2001-11-17 Thread Andrea Holstein
Ken Clark wrote: > > I want to capture the title of the current song I have running on my box > through mpg123 and redirect it to a file. In this process, I don't want > the /long/path/to/song but just the song.mp3. Is it possible to capture > the song title this way? > Hi, another way is: my (

Re: capture song title

2001-11-17 Thread Doran
> I want to capture the title of the current song I have running on my box > through mpg123 and redirect it to a file. In this process, I don't want > the /long/path/to/song but just the song.mp3. Is it possible to capture > the song title this way? I haven't used it, but you might want to che

Re: capture song title

2001-11-16 Thread Dave Storrs
On Fri, 16 Nov 2001, KeN ClarK wrote: > I want to capture the title of the current song I have running on my box > through mpg123 and redirect it to a file. In this process, I don't want > the /long/path/to/song but just the song.mp3. Is it possible to capture > the song title this way? > > Ken

RE: capture song title

2001-11-16 Thread Wagner-David
If you mean can I get only the filename, yes. You could use File::Basename or use something like this: $filename= '/a/b/c/d/e/song.mp3'; # hold your fully qualified f $filename=~ s/^.+[\\\/]//; # now holds song.mp3 I use this for display purposes of the script