#65763 - 2002-05-29 03:24 AM
Re: metadata editing help needed
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
|
|
Top
|
|
|
|
#65766 - 2002-05-29 04:08 AM
Re: metadata editing help needed
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
this code:
code:
break on $filedir="\\server\drives$$\Listening\Singles" $fso = createobject("Scripting.FileSystemObject") $cd = $fso.getfolder("$filedir") $folder= $cd.Files
$shell = createobject("shell.application") $foldir = $shell.namespace("$filedir").items
for each $file in $folder ; ? $file.name+" "+ $file.type $fparse = $foldir.item($file.name) ? $fparse.extendedproperty("Name")+"-" $fparse.extendedproperty("Title")+"-" $fparse.extendedproperty("Artist")+"-" $fparse.extendedproperty("Album")+"-" next
$shell.quit $fso.quit
yields: quote:
93_50_4_.mp3--4 Non-blondes-Bigger, Better, Faster, More!- 96_02_To.mp3--Tony Rich-- 96_03_Do.mp3--Donna Lewis-- 96_04_Al.mp3--Alanis Morissette-Jagged Little Pill- 96_10_Fu.mp3--Fugees-- 96_17_Gi.mp3--Gin Blossoms-- 96_18_La.mp3--La Bouche-- 96_35_Qu.mp3--Quad City Djs-- 96_36_Al.mp3--Alanis Morissette-Jagged Little Pill- 96_37_Me.mp3--Merril Bainbridge-- 96_38_Ho.mp3--Hootie and the Blowfish-- 96_39_Ke.mp3--Keith Sweat-- 96_40_Oa.mp3--Oasis-- 96_53_Al.mp3--Alanis Morissette-Jagged Little Pill- 96_67_Bl.mp3--Blues Traveler--
[ 29 May 2002, 04:10: Message edited by: Radimus ]
|
|
Top
|
|
|
|
#65767 - 2002-05-29 04:18 AM
Re: metadata editing help needed
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
but if I look in explorer, I see the Title field present (not all the album fields are there.
Still, I don't know about being able to edit that data...
|
|
Top
|
|
|
|
#65770 - 2002-05-30 01:24 PM
Re: metadata editing help needed
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I think it can still be done, But it will have to be read via shell.application.
Or perhaps via file type and accessed via that apps COM interface (but that should give read and write.
But I'm more of a systems admin and a prog developer... COM is way too much like magic for me to figure out.
The origin of the problem is two-fold. The first is security... some of our legal dept and administration is concerned about sending info (metadata) out to the public. The second is that after DL'ing some documents/files the filenames are hosed, but the matadata has the accurate info and I'd too lazy to fix them by hand.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 2082 anonymous users online.
|
|
|