Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Change the path that foobar2000's library is monitoring? (Read 17313 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Change the path that foobar2000's library is monitoring?

For example, music that used to be in "C:\Music\", but now in "D:\Music\".  Is it possible to modify a path that foobar2000 is already monitoring, without removing the previous path and adding a new one (which causes indexing on first-run and loses playback statistics)

 

Change the path that foobar2000's library is monitoring?

Reply #1
what you should do is set foobar to monitor both paths before moving the music. then use file operations inside foobar to move the music from one location to the other. finally, you can remove the old path.

Change the path that foobar2000's library is monitoring?

Reply #2
Unfortunately, that is not possible in my case.

On my desktop, I had stored my music in "E:\Music" (my second HDD).  On my laptop, as I have no second hard drive, I decided to copy my music into "C:\users\Me\Music", and create a network drive "E:\" which directs to "C:\users\Me\".  I did not realize that, because Windows 7 handles network drivers differently, my E:\ network drive would be turned off with my Wifi.  That is why I want to change my library path.

For kicks, I decided to try to copy my files anyway - and foobar threw me errors, saying the objects already exist.

So, I am still in need of a practical way to move my library path...

Change the path that foobar2000's library is monitoring?

Reply #3
Another option is:
1. Write statistics to file tags
2. Move music collection to new place
3. Import statistics from file tags

You can do the above through Context Menu/Playback Statistics

~~~~~~~~~~~~~~~~~~~~~~~~~~

EDIT:
Moving via File Operations:
$substr($directory_path(%path%),3,500)\%filename%

Note: Remember to select option "Move Entire Source Folder Content"

If you wish to get rid of some directory names to shorten path, use
$substr($replace($directory_path(%path%),<DIRECTORY NAME>,),3,500)\%filename%

Change the path that foobar2000's library is monitoring?

Reply #4
Another option is:
1. Write statistics to file tags


And that would take even longer than moving the folders in Windows Explorer, mapping the network drive to the new location, then telling foobar to move all the files back to the folder I want...

Change the path that foobar2000's library is monitoring?

Reply #5
You could try moving your music, then backing up the database.dat file in your %appdata%\foobar2000 folder and changing the library path at the beginning of the file to the new one.

Worth a shot at least!

Change the path that foobar2000's library is monitoring?

Reply #6
I want to exclude a folder from my library, now i have "F:\" monitored.
Adding "F:\Alben", "F:\Sampler" ... , restart Foobar, removing "F:\" from library deletes playback statistics.
How can I do this?

Change the path that foobar2000's library is monitoring?

Reply #7
Setting attribute to "hidden" in windows will exclude folder from Foobar2000 database.

You might need to select subfolders & files when setting hidden attribute.

Change the path that foobar2000's library is monitoring?

Reply #8
thx i'll give it a try, but actually i don't want to hack windows for this.
maybe there is another solution (inside foobar)?!

Edit: Test: setting only the folder "hidden" is enough, not nice, but it works :-)

Change the path that foobar2000's library is monitoring?

Reply #9
This could be fixed easily by storing "locations" instead of absolute paths in the library: each location would have an associated path that the user can change when needed, for example when the removable drive shifts drive letters.

Change the path that foobar2000's library is monitoring?

Reply #10
I trying to do exactly the same thing.

I've got a media library on an external HDD : X:\Musique
I copied all my music files on in internal HDD : D:\Musique

I've got playlists, playback statistics, customdb tags I don't want to lose.
I don't want to change folder structure at all, and I've got jpgs, .txt, .log files in each folder, and I don't want to lose them either.
So I can't use a "move" function based on files.

What I need would be a "move" button on the media library preferences, or a "find" button or "set new path".
Maybe there's still a way to do that?



It seems that the "move to..." will move all the files inside the folders. Good point.
But how to keep *exactly* the same folder structure in the destination folder?

Change the path that foobar2000's library is monitoring?

Reply #11
I just found the solution, it's so simple.

Add the new location to the settings (Media Library), along with the old location. Both should say 'Monitoring', eventually. Your songs will show up twice, but it's normal. Then remove the old one. Everything will be back to normal but the new drive letter. The playback statistics and the playlists (auto playlists etc) will be kept.

I found out about this when I was about to move everything using file operations and there was something called 'visual subst' too... Lucky I didn't need to do that!