Relative paths in MPC-HC Playlists

2 posters

Go down

Relative paths in MPC-HC Playlists Empty Relative paths in MPC-HC Playlists

Post by ccm58 Wed May 18, 2022 1:11 pm

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.

ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by Admin Wed May 18, 2022 3:01 pm

I will see what can be done.

Admin
Admin

Posts : 6669
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by ccm58 Wed May 18, 2022 4:11 pm

Thank you.

ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by ccm58 Tue Jun 28, 2022 4:32 pm

Any progress in fixing this?

ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by Admin Tue Jun 28, 2022 8:03 pm

Should already be fixed.

Admin
Admin

Posts : 6669
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by ccm58 Sat Jul 09, 2022 10:57 am

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



ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by Admin Sun Jul 10, 2022 12:22 pm

Works for me when playlist is in same folder as all the videos in the playlist.

Admin
Admin

Posts : 6669
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by ccm58 Sun Jul 10, 2022 5:19 pm

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?

ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by Admin Mon Jul 11, 2022 12:58 am

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.

Admin
Admin

Posts : 6669
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by ccm58 Mon Jul 11, 2022 1:59 pm

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.

ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by Admin Thu Jul 14, 2022 11:13 pm

Should work better in 17.1.2

Admin
Admin

Posts : 6669
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by ccm58 Sat Jul 16, 2022 4:50 pm

Tested 17.1.2. The Playlists now have full relative paths. Thank you so much.

ccm58

Posts : 27
Join date : 2021-06-01

Back to top Go down

Relative paths in MPC-HC Playlists Empty Re: Relative paths in MPC-HC Playlists

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum