9
« on: March 31, 2018, 10:51 PM »
Unfortunately, that's not really the problem I'm having. As I said in my original post, I can create MPCPL files just fine. And of course, if I double-click on a .MPCPL file it does indeed open up in MPC. The task I'm trying to find a solution for is to be able to easily edit a VERY LONG (over 100 media items) list. If you have ever opened a long playlist in MPC that is too long for the height of your screen, try to move an item from the top of the list to the bottom (or vice versa). It's a real pain in the a**. And if you want to move a chunk of them (like say, 10 media items), you have to do them each one at a time.
Now, as I also mentioned, I can open that same MPCPL file in notepad (for instance). The difficulty here is that If I cut and paste a group of lines from one area to another in the same list, and don't renumber all the lines to go from 1 for the first media item lines on up to the highest number for the last media item, then that MPCPL file will play back in the original order that it was in before you changed it because of the numbers in front of each line telling MPC in what order to play them in. In fact, if you open up the changed MPCPL file, you'll see all the same media in the list in the same order it was in before you edited it.
I was kind of hoping that since all I'm looking for is some kind of custom text editor that will take into account all the lines for each media item and keep them together, and also renumber them based on 1 at the beginning, and going up until it gets to the end.
If you are curious, and if you haven't done it yet, pick out an MPCPL file of yours that has a lot of media items in it and open it in Notepad or whatever text editor you like. You'll see that each media item is NOT just one line. Each media item will be at LEAST two lines. a TYPE line, and a FILENAME line. Plus a SUBTITLE line if there is a subtitle track for the video item, plus a LABEL line in case the user (you,, for example) had renamed the item while in the playlist of MPC. By the way, when you try to drag an item either up or down the list where it would need to scroll, it is a rather slow scroll, which explains part of the problem with trying to rearrange items in the list.
And before you suspect that I have an old computer, I don't. Mine has 64GB RAM, 4 GHz Quad core CPU, with an SSD system drive. And no, there's not much other stuff running on the PC.
Now, as an additional idea, the only two critical lines are the TYPE and FILENAME lines. The LABEL and SUBTITLE lines could actually be lost and it wouldn't really be that much of a problem. Although, considering the media items as a group will all have the same number in front of them, I'd really like to keep them if they exist. As long as a TYPE line comes right before the FILENAME line, and both of them (in each pair) has the same, but unique number from other media items.
Oh, and with regard to the M3U files, if you try to save a playlist in MPC, it will save in the M3U format, but if any of the Media files in the list referenced a Subtitle file, I'll have lost track of that in the M3U and PLS formats. Plus, if I wanted to relabel a media file in the playlist to be more informative, that option is not saved, either.
I hope that gets my desire across better than what I guess I had originally posted.
Does anyone have any ideas for an editor like this?
fdwojo