IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
I need to update path names for files in foobar2000's playlists, [was "I need to change the file names on a bunch of files."]
Marc
post Jul 12 2012, 20:44
Post #1





Group: Members
Posts: 128
Joined: 25-October 06
Member No.: 36777



I changed my drive lay out to simplify finding things but now I need to change the files names from "G:\" to "H:\". I added mass tagger and from what I can see it doesn't do that it only works on meta data. Ideally a find and replace utility would be perfect.

This post has been edited by Marc: Jul 12 2012, 20:46
Go to the top of the page
+Quote Post
Kohlrabi
post Jul 12 2012, 21:17
Post #2





Group: Super Moderator
Posts: 790
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



The drive letter is not part of a file's name. So you want to copy over the files from your G drive to H, while maintaining the folder structure and names? You can just use Windows Explorer to do so. Or you could use the file operations to move your files with something like $substr(%path%,4,255) to keep the folder structure intact.


--------------------
Audiophiles live in constant fear of jitter.
Go to the top of the page
+Quote Post
Marc
post Jul 12 2012, 21:35
Post #3





Group: Members
Posts: 128
Joined: 25-October 06
Member No.: 36777



Excuse me I meant path. I need to edit the path name in Foobar playlists.

This post has been edited by Marc: Jul 12 2012, 21:36
Go to the top of the page
+Quote Post
BenB
post Jul 12 2012, 22:10
Post #4





Group: Members
Posts: 345
Joined: 17-April 12
Member No.: 98921



QUOTE (Kohlrabi @ Jul 12 2012, 15:17) *
... Or you could use the file operations to move your files with something like $substr(%path%,4,255) to keep the folder structure intact.


This is a bit off-topic now it seems, but that title formatting string results in filenames such as filename.mp3.mp3.


I used $directory_path(%path%)\%filename% to move my music collection from one drive to another, but of course what one uses will rely upon the location and structure of their collection.


--------------------
This signature apparently isn't too long.
Go to the top of the page
+Quote Post
Marc
post Jul 12 2012, 22:16
Post #5





Group: Members
Posts: 128
Joined: 25-October 06
Member No.: 36777



I've moved the data now I need to change the path names in the play list to show the change.
Go to the top of the page
+Quote Post
ruebe
post Jul 12 2012, 22:41
Post #6





Group: Members
Posts: 169
Joined: 18-September 10
Member No.: 83940



foo_revive
Go to the top of the page
+Quote Post
mjb2006
post Jul 12 2012, 22:50
Post #7





Group: Members
Posts: 592
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



The .fpl format is a binary format tied to the library and track info caching features of foobar2000, and is not intended to be editable, in order to avoid startup & shutdown delays.

Nevertheless, here's what I would do:
  1. Open file with freeware hex editor XVI32
  2. Ctrl-R [replace]
  3. Under 'Find', select 'Text string'
  4. Enter file://G:
  5. Under 'Replace with', select 'Text string'
  6. Enter file://H:
  7. Click 'Replace all' button
  8. F12 [or File > Save As] and pick a new name for the playlist, in case something went wrong.

I haven't confirmed this actually works though.

This post has been edited by mjb2006: Jul 12 2012, 22:51
Go to the top of the page
+Quote Post
prateek88
post Jul 12 2012, 22:57
Post #8





Group: Members
Posts: 101
Joined: 21-January 12
Member No.: 96605



There is no need to worry about the playlist if u would have done the transfer of your files through file operations. So i suggest copy back all your files again to G:\ as they were previously and then use file operation's move to move all the files to the drive H:\.

Go to the top of the page
+Quote Post
Porcus
post Jul 12 2012, 23:29
Post #9





Group: Members
Posts: 1516
Joined: 30-November 06
Member No.: 38207



QUOTE (Marc @ Jul 12 2012, 21:44) *
I changed my drive lay out to simplify finding things but now I need to change the files names from "G:\" to "H:\".


Just to ask: It isn't so that you need help to remap the drive letter assigned to a given drive?

This post has been edited by Porcus: Jul 12 2012, 23:31


--------------------
geocities.com/hydrogenaudio: http://goo.gl/tqYZj
Go to the top of the page
+Quote Post
Marc
post Jul 13 2012, 04:29
Post #10





Group: Members
Posts: 128
Joined: 25-October 06
Member No.: 36777



QUOTE (prateek88 @ Jul 12 2012, 17:57) *
There is no need to worry about the playlist if u would have done the transfer of your files through file operations. So i suggest copy back all your files again to G:\ as they were previously and then use file operation's move to move all the files to the drive H:\.


That's not really an option 1) it doesn't move the folders that I know of, 2) it doesn't move the album art and 3) it took almost 8 hours to get them to H:. It's all my Rock. There's 1.78TB of music with 223,248 files in 12,680 folders and sub-folders.
Go to the top of the page
+Quote Post
Marc
post Jul 13 2012, 04:34
Post #11





Group: Members
Posts: 128
Joined: 25-October 06
Member No.: 36777



QUOTE (Porcus @ Jul 12 2012, 18:29) *
QUOTE (Marc @ Jul 12 2012, 21:44) *
I changed my drive lay out to simplify finding things but now I need to change the files names from "G:\" to "H:\".


Just to ask: It isn't so that you need help to remap the drive letter assigned to a given drive?


No I know how to do that about 4 different ways. Computer Management, edit the registry well only two but you get the idea. smile.gif
Go to the top of the page
+Quote Post
ruebe
post Jul 13 2012, 09:43
Post #12





Group: Members
Posts: 169
Joined: 18-September 10
Member No.: 83940



QUOTE (Marc @ Jul 13 2012, 05:29) *
2) it doesn't move the album art

it does, just check "move entire source folder content" in the files operation setup window
Go to the top of the page
+Quote Post
Porcus
post Jul 13 2012, 12:06
Post #13





Group: Members
Posts: 1516
Joined: 30-November 06
Member No.: 38207



I wouldn't _move_ a collection to a different drive. I would _copy_ and then use a comparing utility to remove only bit-identicals. So: fb2k --> file operations as others have described (with the copy entire source folder -- or afterwards use a backup-new utility copying only files that are missing from target).

For those copy new / delete identical procedures, I use XXCOPY. Freeware command-line. E.g. XXCOPY g:\ h:\ /E/H/R/RS/BS/CDM will remove from G everything that has a bit-identical copy (and on the very same location) in H, including hidden and system files.

This post has been edited by Porcus: Jul 13 2012, 12:11


--------------------
geocities.com/hydrogenaudio: http://goo.gl/tqYZj
Go to the top of the page
+Quote Post
Marc
post Jul 13 2012, 13:05
Post #14





Group: Members
Posts: 128
Joined: 25-October 06
Member No.: 36777



I thought I had eliminated all the files that were to long but I hadn't so XXCopy wouldn't more them. It was easier to C&P with Windows Explorer and find the problems files that way.
Go to the top of the page
+Quote Post
dhromed
post Jul 13 2012, 14:27
Post #15





Group: Members
Posts: 1063
Joined: 16-February 08
From: NL
Member No.: 51347



I have no experience with Playlist Revive, but maybe it'll help.

Last time I had this problem I saved the playlist as m3u and replaced all instances of one drive letter with the other, then loaded it back into foobar. No need for a hex editor.

Re-copying files should be a last resort solution.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th June 2013 - 18:30