Relative paths in MPC-HC Playlists
2 posters
Page 1 of 1
Relative paths in MPC-HC Playlists
When I save a Playlist with MPC-HC, and then open it with Notepad, I noticed there is no folder path in the Playlist. So it uses relative paths.
But when I update the Playlist after adding or removing videos from it, the Playlist will store the folder path. So if the folder is in, say, K drive, and I copy the videos and Playlist to J drive, the Playlist will show blank if there is no K drive.
Please fix the way Playlists are created by removing folder paths when creating or updating them, so that we can play the Playlists regardless of which drive or folder the videos and Playlist are moved or copied to.
But when I update the Playlist after adding or removing videos from it, the Playlist will store the folder path. So if the folder is in, say, K drive, and I copy the videos and Playlist to J drive, the Playlist will show blank if there is no K drive.
Please fix the way Playlists are created by removing folder paths when creating or updating them, so that we can play the Playlists regardless of which drive or folder the videos and Playlist are moved or copied to.
ccm58- Posts : 34
Join date : 2021-06-01
Re: Relative paths in MPC-HC Playlists
Any progress in fixing this?
ccm58- Posts : 34
Join date : 2021-06-01
Re: Relative paths in MPC-HC Playlists
The problem is not fixed. When creating or updating a playlist, this is an example of what it looks like opened in Notepad. It shows the folder path.
MPCPLAYLIST
1,type,0
1,filename,L:\Videos\video1.mkv
2,type,0
2,filename,L:\Videos\video2.mkv
It should not have folder path so that the playlist and corresponding files can be copied to another folder or drive and be opened or played there. This is how it should be:
MPCPLAYLIST
1,type,0
1,filename,video1.mkv
2,type,0
2,filename,video2.mkv
MPCPLAYLIST
1,type,0
1,filename,L:\Videos\video1.mkv
2,type,0
2,filename,L:\Videos\video2.mkv
It should not have folder path so that the playlist and corresponding files can be copied to another folder or drive and be opened or played there. This is how it should be:
MPCPLAYLIST
1,type,0
1,filename,video1.mkv
2,type,0
2,filename,video2.mkv
ccm58- Posts : 34
Join date : 2021-06-01
Re: Relative paths in MPC-HC Playlists
Works for me when playlist is in same folder as all the videos in the playlist.
Re: Relative paths in MPC-HC Playlists
You're right. Now creating or updating a Playlist doesn't create a folder path. However, updating an older Playlist created before this problem was fixed will add the folder path even though I had used Notepad to remove the paths before updating.
Any way to fix this?
Any way to fix this?
ccm58- Posts : 34
Join date : 2021-06-01
Re: Relative paths in MPC-HC Playlists
It should also work when saving an existing playlist.
It will use absolute paths when at least one of the paths is not sharing same location as the playlist. So double check if it doesn't contain something with a different path.
It will use absolute paths when at least one of the paths is not sharing same location as the playlist. So double check if it doesn't contain something with a different path.
Re: Relative paths in MPC-HC Playlists
You're right. I forgot that I have a subfolder of videos whose Playlist is in the main folder.
When creating or updating Playlists of videos in subfolders, it will look like this:
MPCPLAYLIST
1,type,0
1,filename,L:\Videos\video1.mkv
2,type,0
2,filename,L:\Videos\subfolder name\video2.mkv
After I removed by Notepad the main folder path, it will look like this:
MPCPLAYLIST
1,type,0
1,filename,video1.mkv
2,type,0
2,filename,subfolder name\video2.mkv
Since I had backup my videos and Playlists to another external hard disk with different drive letter, the second 'video2.mkv' still can play on, say, drive J.
When creating or updating Playlists with subfolders, is there any way you can put the subfolder names in the Playlists without putting the main folder path? That way, if we copy the files, subfolders and Playlist into another drive, the Playlist can still play all without it being edited first.
Just a thought.
When creating or updating Playlists of videos in subfolders, it will look like this:
MPCPLAYLIST
1,type,0
1,filename,L:\Videos\video1.mkv
2,type,0
2,filename,L:\Videos\subfolder name\video2.mkv
After I removed by Notepad the main folder path, it will look like this:
MPCPLAYLIST
1,type,0
1,filename,video1.mkv
2,type,0
2,filename,subfolder name\video2.mkv
Since I had backup my videos and Playlists to another external hard disk with different drive letter, the second 'video2.mkv' still can play on, say, drive J.
When creating or updating Playlists with subfolders, is there any way you can put the subfolder names in the Playlists without putting the main folder path? That way, if we copy the files, subfolders and Playlist into another drive, the Playlist can still play all without it being edited first.
Just a thought.
ccm58- Posts : 34
Join date : 2021-06-01
Re: Relative paths in MPC-HC Playlists
Tested 17.1.2. The Playlists now have full relative paths. Thank you so much.
ccm58- Posts : 34
Join date : 2021-06-01
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum