Sign in or 

|
BarryStevens |
M4a metadata retrieval
May 22 2009, 12:29 AM EDT
I have finally found an easy way to get info from M4a files.Get AtomicParsley from here: http://sourceforge.net/projects/atomicparsley function bsbs_get_metadata(MusicFile) declare subroutine SRP_Run_Command equ null$ to '' Song=null$ Artist=null$ Album=null$ Output="VAR" Cmd="c:\m4aMetadata\AtomicParsley.exe ":quote(MusicFile):" -t" SRP_Run_Command(Cmd, Output) swap \0D0A\ with @fm in OutPut Pos = index(OutPut,\A9\:'nam" contains:',1) if Pos then Song=trim(OutPut[Pos+15,@fm]) end Pos = index(OutPut,\A9\:'ART" contains:',1) if Pos then Artist=trim(OutPut[Pos+15,@fm]) end Pos = index(OutPut,\A9\:'alb" contains:',1) if Pos then Album=trim(OutPut[Pos+15,@fm]) end return Song:@fm:Artist:@fm:Album Do you find this valuable?
Keyword tags:
M4a metadata songs
|