2005-12-21, 08:08 AM
Unix_guy: You just did the part I needed so I will add the part I have to yours. If you add a /R %1 after the For that copies the metadata you will recurse all the subdirectories of %1. So try this:
FOR /R %1 %%F IN (%1\*.mpg) DO (more < %%F:metadata.xml >> %1\recording-dump.xml)
And drop the directory of all your recordings.
I just had to do this yesterday but I couldn't think of a way to get the <recordings> line in right. Good thinking using the for to do it.
FOR /R %1 %%F IN (%1\*.mpg) DO (more < %%F:metadata.xml >> %1\recording-dump.xml)
And drop the directory of all your recordings.
I just had to do this yesterday but I couldn't think of a way to get the <recordings> line in right. Good thinking using the for to do it.
Pete Borders
My GB-PVR System:
Asus A7N8X Deluxe Rev 2.0 Nforce2 Motherboard
Saphire Radeon 9600 Pro Atlantis
AMD Athlon XP 3200+
1GB Crucial PC3200 DDR400 Dual Channel
20GB PATA IDE System Drive
Raid 5 Array of 4 x 200GB 8MB Cache PATA IDE Drives
LSI MegaRaid I4 Hardware Raid ATA100 Controller
4 x Hauppauge WinTV PVR-500MCE
Windows XP SP2
GB-PVR 0.99.5
My GB-PVR System:
Asus A7N8X Deluxe Rev 2.0 Nforce2 Motherboard
Saphire Radeon 9600 Pro Atlantis
AMD Athlon XP 3200+
1GB Crucial PC3200 DDR400 Dual Channel
20GB PATA IDE System Drive
Raid 5 Array of 4 x 200GB 8MB Cache PATA IDE Drives
LSI MegaRaid I4 Hardware Raid ATA100 Controller
4 x Hauppauge WinTV PVR-500MCE
Windows XP SP2
GB-PVR 0.99.5