INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: sholder on October 10, 2004, 12:18:44 pm

Title: Restored Library can not find files which have changed location
Post by: sholder on October 10, 2004, 12:18:44 pm
I recently built a new PC, and my HDD on which my image files reside changed from F: to C:.   When I backed up and restored my MC10 library MC can not find my files (looking for F: rather than C:).  I thought about exporting to XML and doing a search and replace, but I can't see a way to import the XML.

Is there a way to reset the location of all of my files?  I really want to preserve the tags I created on all of my files.

Shane
Title: Re:Restored Library can not find files which have changed location
Post by: Alex B on October 10, 2004, 01:12:55 pm
Import your backup to a new MC installation. Don't touch anything.
Select all entries (in the whole Media Library view).
Go to Tools -> Library Tools  -> Find and Replace
Select only Filename(path) and write in Find What: F:\ and in Replace: C:\. Include path if necessary.

You can ignore possible warnings about files not found.

You should have your Media Library in place.
Title: Re:Restored Library can not find files which have changed location
Post by: Alex B on October 10, 2004, 01:31:36 pm
MC can export and import items in MPL playlist format:

Quote
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<MPL Version="2.0">
<Item>
<Field Name="Filename">D:\Music\Stravinsky\Concertos Vol.5\Igor_ Stravinsky_Concertos_V5.ogg;3</Field>
<Field Name="Artist">Igor Stravinsky</Field>
<Field Name="Album">Igor Stravinsky edition, vol. 6 of 12, Concertos</Field>
<Field Name="Name">Concerto for piano and wind instruments - III. Allegro</Field>
<Field Name="Band">Columbia Symphony Orchestra</Field>
<Field Name="File Type">ogg</Field>
<Field Name="Genre">Classical</Field>
<Field Name="Date">18328,578125</Field>
<Field Name="Comment">Piano: Philippe Entremont</Field>
<Field Name="Image File">Igor_ Stravinsky_Concertos_V5_Front.JPG</Field>
<Field Name="Media Type">Audio</Field>
<Field Name="Last Played">1097170100</Field>
<Field Name="File Size">2293</Field>
<Field Name="Duration">304</Field>
<Field Name="Number Plays">4</Field>
<Field Name="Track #">3</Field>
<Field Name="Date Created">1097008156</Field>
<Field Name="Date Modified">1097001094</Field>
<Field Name="Date Imported">1097009925</Field>
<Field Name="Replay Gain">-5,9841899999999999</Field>
<Field Name="Peak Level">0,99997</Field>
<Field Name="Intensity">1</Field>
<Field Name="BPM">117</Field>
<Field Name="Composer">Igor Stravinsky</Field>
<Field Name="Playback Range">850160-1154333,333333</Field>
<Field Name="Complete Album">1</Field>
<Field Name="Album Gain">-5,9841899871826172</Field>
<Field Name="Conductor">Igor Stravinsky</Field>
<Field Name="Encoder">OGGenc1.1_q9_in-15</Field>
<Field Name="Comment 2">Remastered CD 1991</Field>
</Item>
</MPL>

Also by this way all fields get imported, but library backup includes more.
Title: Re:Restored Library can not find files which have changed location
Post by: sholder on October 10, 2004, 01:31:38 pm
Schweet!  I love this program.

Shane