Page 2 of 2 <12
Topic Options
#65763 - 2002-05-29 03:24 AM Re: metadata editing help needed
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
xp
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#65764 - 2002-05-29 03:31 AM Re: metadata editing help needed
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
hmmm, me too. what the heck could be the diff here ? im running kixtart 4.10 rc1, but that shouldn't make a big diff though eh ? heres the output i get:

name: perform.log
size: 1 KB
type: Text Document
date: 4/16/2002 5:10 PM
attr: 4/16/2002 5:10 PM
itip: Type: Text Document
Date Modified: 4/16/2002 5:10 PM
Size: 212 bytes

enter...

name: test.kix
size: 1 KB
type: Kixtart Script
date: 4/22/2002 5:27 PM
attr: 4/22/2002 5:27 PM
itip: Type: Kixtart Script
Date Modified: 4/22/2002 5:27 PM
Size: 196 bytes

-shawn

Top
#65765 - 2002-05-29 04:06 AM Re: metadata editing help needed
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
but by the same token, i could NOT get those scripts that you and Breaker wrote to work on my machine, you know, the "title", "artist" and "name" thingies ... what-the-heck ?
Top
#65766 - 2002-05-29 04:08 AM Re: metadata editing help needed
Radimus Moderator Offline
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 ]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#65767 - 2002-05-29 04:18 AM Re: metadata editing help needed
Radimus Moderator Offline
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...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#65768 - 2002-05-29 04:40 AM Re: metadata editing help needed
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Are you sure that Scripting.FSO is actually working. Have you cross-checked it with VBScript?
_________________________
There are two types of vessels, submarines and targets.

Top
#65769 - 2002-05-30 11:08 AM Re: metadata editing help needed
Breaker Offline
Hey THIS is FUN
*****

Registered: 2001-06-15
Posts: 268
Loc: Yorkshire, England
Calling Radimus...

Any more luck with this yet? From my end, it looks a little like a non-starter, as most of the relevant interfaces seem to be non-scriptable - although I'll be damned if I give up on it that easily!

(Good taste in MP3's btw, especially Hootie and the Gin Blossoms! [Big Grin] )
_________________________
================================================
Breaker


Top
#65770 - 2002-05-30 01:24 PM Re: metadata editing help needed
Radimus Moderator Offline
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.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 2 of 2 <12


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1782 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.057 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org