Replaced folder, directory changed

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Bumperke
Posts: 250
Joined: 21 Nov 2016 09:31
Replaced folder, directory changed

Post by Bumperke »

After several years another question.

The now situation:

Several music folder are no longer on my H drive, instead on my D. so when i load old playlistst PF doens't find the files. Is there a way i can play these files again without changing the directory? That takes a lifetime, i do have several hdskswith music on it.
What can i do?
User avatar
Michel67
Posts: 172
Joined: 28 Nov 2016 19:53
Re: Replaced folder, directory changed

Post by Michel67 »

change the relevant drive letter and paths via disk management?
User avatar
radio42
Site Admin
Posts: 8595
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Replaced folder, directory changed

Post by radio42 »

It depends a bit where you have stored your playlist and where your music files are located, as by default PF tries to save paths relative.

However, I assume, that your paths already contain the drive letter.
The easiest way to change an absolute path in a playlist is to directly edit it, as PF has no such ‚change drive letter‘ option itself.
Ie. open the related .pfp file with any text editor (as these are standard xml files).
Then you can edit the ‚<location>‘ entry. For example just replace all of the following text:

From: <location>H:
To: <location>C:

This will replace all location entries starting with the drive letter H to the drive letter C.
Make a backup of your file first.
Bumperke
Posts: 250
Joined: 21 Nov 2016 09:31
Re: Replaced folder, directory changed

Post by Bumperke »

radio42 wrote: 12 Nov 2024 22:22 From: <location>H:
To: <location>C:

This will replace all location entries starting with the drive letter H to the drive letter C.
Make a backup of your file first.
I remember that option again, thxs Bernd. You could edit text in notepad if I'm right
User avatar
radio42
Site Admin
Posts: 8595
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Replaced folder, directory changed

Post by radio42 »

Correct. I am also using Notepad++ for those kind of things.

Post Reply