Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 25th August 2011, 22:59   #1
FurryShep
Junior Member
 
Join Date: Aug 2010
Posts: 5
HOW TO: Transfer your media library to a new folder and keep ratings and play counts.

After much hardship and turmoil I have finally found a working way to move your entire music library to a new folder and keep your play counts and ratings. I write this thread in hopes that this helps others with the same goals.

First make sure you backup your media library folder usually located in C:\Users\(User Name)\App Data\Roaming\Winamp\Plugins\ml\. App Data is usually a hidden folder so if you don't see it go to Organize->Folder and search options (This is in Windows 7) and go to the view tab and check show hidden files, folders, and drives. I back up my entire Winamp folder in the App Data folder just in case but this for me is 4 gigabytes and its totally optional and not necessary.

Note that I am not responsible for any damage or loss of your media library through these steps, although I think they are pretty safe. I did recommend you to back things up first.



1. In Winamp click Library->Export Media Database..., you will get an xml file. Save it somewhere and make a backup copy of it just in case. This took me a bit of trial and error so you should definitely make a backup copy of it.

2. Download this hex editor program (its free):
code:
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm


3. Now you can move your music library (or individual files if thats the case) to its new destination.

4. Open the xml file in XVI32 and click Search->Replace...

5. Now in the Find section check text string and type in the location of your music library. Use "%5C" without the quotes to represent "\".
Mine was C:%5CUsers%5C(My User Name)%5CMusic

6. In the replace field check text string and type in where you moved your music. Be careful because it is case sensitive and make sure you get all the spaces. You can double check the file path by going to where you moved it and clicking the address bar in windows 7.

6. Click "Replace All"

7. Exit XVI32 and it will ask you if you want to save changes click yes.

8. Go into Winamp and click Library->Import Media Database... and open the newly edited xml file.

9. Use Alt+3 to look at a songs info and see if its in the new location then close the dialog box and double click that song to play it to see if it works. If it doesn't try double checking what you replaced in XVI32 to see if there are any typos.

10. If it works click Library->Remove missing files from Media Library... to get rid of the old file path database.

11. If anything went wrong you can restore your media library by using the ml folder backup and placing it in your App Data\Roaming\Winamp\Plugins\ folder, and you can open Winamp and go to Library->Export Media database... to try again.



And there your all done!

If you want to move individual files or folder within the music library rather then the entire music library you can go into the xml file and search for them individually rather then using the replace method. Then make sure just to move that specific folder rather then the whole thing.

This is untested with a video library but I'm sure it would work the same.

I still do not know how to fix playlists like this but when I do I will edit the thread to include this.
If anyone has any advice of other methods or noticed any typos or incorrect information or has any troubles please post below or PM me.
FurryShep is offline   Reply With Quote
Old 28th August 2011, 05:40   #2
FurryShep
Junior Member
 
Join Date: Aug 2010
Posts: 5
| I don't know how to edit my post on this forsaken site so I will put this information here instead... |


HOW TO UPDATE THE DIRECTORIES OF YOUR PLAYLIST'S

Hurray for discovery, I now know how to edit playlists and the songs they point to and I intend to share this here. This is actually amazingly simple.


1. Open your playlist in Notepad.

2. You will see each song in the playlist and its directory. Using the find and replace method you can easily fix your entire playlist or fix individual songs that have been moved.


That's it really. Enjoy moving your media library and keeping all your playlist's.
FurryShep is offline   Reply With Quote
Old 1st March 2012, 18:48   #3
Crashguard303
Member
 
Crashguard303's Avatar
 
Join Date: Oct 2008
Location: Dortmund, NRW
Posts: 60
Idea

Good Information, thanks a lot, I bookmarked this!
This could help later.

Dealing with topic, other solutions came into my mind:
As WinAmp offers the possibility to write own ID-Tags, is there maybe an automized way to write the playcount into the MP3s directly by adding/changing a tag?

Would be a cool option for winamp.
Sure, those information has only to be written when the file is not just playing.

Or does the file-system / HD store the number of accesses already?
Could be, because of the cache.
Access and modification dates are stored, for sure.

The sum of all energies is zero.
Crashguard303 is offline   Reply With Quote
Old 16th June 2012, 11:25   #4
droplet
Junior Member
 
Join Date: Jun 2012
Posts: 1
use this media library plugin
http://www.winamp.com/plugin/media-l...ganizer/208686

just change the base path in the advanced options. it sorted out my problems can also be used to change file names in general without disturbing playcounts
droplet is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Discussion

Tags
library, media, playcounts, ratings, transfer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump