
Originally Posted by
Griff1
Doh,that was it.
So how do i edit these xml's so all my stuff is just in 1 xml?,i'm not really interested in the genre's.
Open the first in notepad
Code:
<?xml version="1.0" encoding="utf-8" ?>
<artworkinfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Nia\</folder>
</albuminfo>
</artworkinfo>
then open the next,
Code:
<?xml version="1.0" encoding="utf-8" ?>
<artworkinfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\DFA\DFA Compilation #2 Disc 1\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\DFA\DFA Compilation #2 Disc 2\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Erykah Badu\Baduizm\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Gilles Peterson\Gilles Peterson in Brazil Disc 1\</folder>
</albuminfo>
</artworkinfo>
copy and paste from the lines
<albuminfo>
.
.
.
.
</albuminfo>
to after the last
</albuminfo>
so it looks like
Code:
<?xml version="1.0" encoding="utf-8" ?>
<artworkinfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Nia\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\DFA\DFA Compilation #2 Disc 1\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\DFA\DFA Compilation #2 Disc 2\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Erykah Badu\Baduizm\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>5</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Gilles Peterson\Gilles Peterson in Brazil Disc 1\</folder>
</albuminfo>
</artworkinfo>
and change all the
<genre>4</genre>
to be the same
ie final version
Code:
<?xml version="1.0" encoding="utf-8" ?>
<artworkinfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Nia\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\DFA\DFA Compilation #2 Disc 1\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\DFA\DFA Compilation #2 Disc 2\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Erykah Badu\Baduizm\</folder>
</albuminfo>
<albuminfo>
<artLocation>\folder.jpg</artLocation>
<genre>4</genre>
<artist>Unkown</artist>
<album>Unknown</album>
<folder>M:\MP3 Other\Gilles Peterson\Gilles Peterson in Brazil Disc 1\</folder>
</albuminfo>
</artworkinfo>
Although I think I'm going to do a little program to make a similar XML, but using the artists first letter as each genre so I have an aphabetical list (plus numbers of course)
And I think I'll have it pick up any jpg rather than just folder (assuming that folder.jpg isn't hardcoded into the flash
Bookmarks