Change the path that foobar2000's library is monitoring?, Added a path to Media Library, now want to change the path |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
Change the path that foobar2000's library is monitoring?, Added a path to Media Library, now want to change the path |
Feb 15 2010, 11:11
Post
#1
|
|
|
Group: Members Posts: 274 Joined: 25-September 05 Member No.: 24684 |
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)
|
|
|
|
Feb 15 2010, 11:30
Post
#2
|
|
![]() Group: Members Posts: 3292 Joined: 27-January 05 From: England Member No.: 19379 |
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.
|
|
|
|
Feb 15 2010, 12:45
Post
#3
|
|
|
Group: Members Posts: 274 Joined: 25-September 05 Member No.: 24684 |
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... |
|
|
|
Feb 15 2010, 13:54
Post
#4
|
|
|
Group: Members Posts: 246 Joined: 4-January 07 Member No.: 39305 |
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% This post has been edited by s33m33: Feb 15 2010, 14:09 |
|
|
|
Feb 15 2010, 22:01
Post
#5
|
|
|
Group: Members Posts: 274 Joined: 25-September 05 Member No.: 24684 |
|
|
|
|
Feb 15 2010, 22:33
Post
#6
|
|
|
Group: Members Posts: 51 Joined: 23-January 10 Member No.: 77440 |
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! This post has been edited by unclean: Feb 15 2010, 22:34 |
|
|
|
Feb 20 2010, 13:45
Post
#7
|
|
|
Group: Members Posts: 16 Joined: 8-January 10 Member No.: 76853 |
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? |
|
|
|
Feb 20 2010, 13:49
Post
#8
|
|
|
Group: Members Posts: 246 Joined: 4-January 07 Member No.: 39305 |
Setting attribute to "hidden" in windows will exclude folder from Foobar2000 database.
You might need to select subfolders & files when setting hidden attribute. |
|
|
|
Feb 20 2010, 14:05
Post
#9
|
|
|
Group: Members Posts: 16 Joined: 8-January 10 Member No.: 76853 |
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 :-) This post has been edited by slowmotion: Feb 20 2010, 14:15 |
|
|
|
Feb 21 2010, 05:09
Post
#10
|
|
|
Group: Members Posts: 35 Joined: 18-July 04 Member No.: 15581 |
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.
|
|
|
|
Jul 28 2011, 19:40
Post
#11
|
|
|
Group: Members Posts: 16 Joined: 8-July 11 Member No.: 92153 |
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? This post has been edited by db1989: Jul 28 2011, 20:35
Reason for edit: merging posts; the Edit button is there for a reason
|
|
|
|
Dec 3 2012, 18:02
Post
#12
|
|
|
Group: Members Posts: 17 Joined: 18-May 10 Member No.: 80724 |
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! This post has been edited by Firsh: Dec 3 2012, 18:02 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 04:44 |