1851
General Software Discussion / Re: IDEA: Need an .MPCPL file editor
« Last post by wraith808 on March 30, 2018, 09:05 PM »Now please keep in mind that knowing WHAT lines to use isn't the problem here. Rather, it's that I have a few rather long playlists for MPC and if it's just one entry, I can easily drag it up or down in the list. But many times, I have numerous lines that I want to move elsewhere in that playlist. And since (A) you can only move one line at a time, and (B) if you try to edit the MPCPL file in a text editor, you have to renumber all the lines so that it all works out in order.-fdwojo (March 30, 2018, 05:45 PM)
Knowing the universe of lines is necessary to group them together. The other was just in case someone wanted to add in the ability to actually edit them in the program, which seems like it could be useful.
Not sure if I'll have time to get to it, especially before skwire jumps in. But it's interesting enough that I might try to make time for it soon.
Oh, and in my search for MPCPL files, I found this bit of code from https://autohotkey.c...or-videos-in-folder/
Not sure if you might find it useful. It does seem to bear out the theory on type, as I could find no other references.
Code: Autohotkey [Select]
- `:: ; writes a Media Player Classic Playlist file for all video files in chosen directory. Accent key launches the script.
- ;FileSelectFolder, WhichFolder,::{20d04fe0-3aea-1069-a2d8-08002b30309d} ; Ask the user to pick a folder, My Computer option
- return ; No folder picked, so stop
- (
- MPCPLAYLIST ; next blank line is crucial, don't delete
- ), play.mpcpl ; this is the name of the playlist file
- count=1
- {
- {
- (
- %count%,type,0
- %count%,filename,%A_LoopFileFullPath%
- ), play.mpcpl
- count := count + 1
- }
- }
- Else
- {
- {
- (
- %count%,type,0
- %count%,filename,%A_LoopFileFullPath%
- ), play.mpcpl
- count := count + 1
- }
- }
- Else
- {
- {
- (
- %count%,type,0
- %count%,filename,%A_LoopFileFullPath%
- ), play.mpcpl
- count := count + 1
- }
- }
- Else
- {
- {
- (
- %count%,type,0
- %count%,filename,%A_LoopFileFullPath%
- ), play.mpcpl
- count := count + 1
- }
- }
- Else
- {
- {
- (
- %count%,type,0
- %count%,filename,%A_LoopFileFullPath%
- ), play.mpcpl
- count := count + 1
- }
- }
- Else
- return