User Tools

Site Tools


filecontrol

file control

MMP: Minimalist Media Player is a powerful audio and video player, an image and thumbnail viewer, and a media (audio, video, image) file manager, all rolled into one.

Unlike most (all other?) audio/video media players, and one of the reasons that MMP's predecessor was originally written is that, in addition to being able to delete image files (which is standard for most image viewing software), it also allows you to delete unwanted audio and video files.

This saves you from having to exit the application, delete the audio or video file you no longer want, and then have to relaunch the application to view the next audio or video file1).

In fact, MMP is so powerful in this regard, that deletion functionality is actually disabled unless you explicitly enable it.

There are two ways in which you can control which deletion operations MMP will carry out.

Delete Settings 1

In the MinimalistMediaPlayer.conf file, the following settings are available 2):

Setting Effect
audioDelete=yes/no whether MMP can delete individual audio files
imageDelete=yes/no whether MMP can delete individual image files
videoDelete=yes/no whether MMP can delete individual video files
folderDelete=yes/no whether MMP can delete the contents of an entire folder (but never touches any subfolders)
keepDelete=yes/no whether MMP can delete all but the “Kept” files in a folder (but never touches any subfolders)

If you attempt to carry out a deletion operation which conflicts with your settings in the MinimalistMediaPlayer.conf file, even after you have confirmed the delete, you will received the following message:

If your MinimalistMediaPlayer.conf file doesn't yet contain any of these settings, the default for each of them will be 'no'.

Delete Settings 2

Prior to version v4.0.0, all deletion operations were delegated to the rot.exe program that came with MMP.

As of v4.0.0, MMP itself carries out all deletions and you can delete the rot.exe program - it no longers ships with MMP and MMP will never run it.

MMP now provides three levels of deletion: recycle, delete, shred.
These are specified in the deleteMethod= setting in the MinimalistMediaPlayer.conf file.

recycle: all deleted files are instantly restorable from the Windows Recycle Bin. They will remain in the Recycle Bin until you delete them from there.
delete: this executes a standard Windows delete on files. Files are marked as deleted in the Master File Table of a drive and will no longer show up in your File Explorer. For a time, until their contents are overwritten with new files, they should be recoverable using recovery software.
shred: “When they're gone, they are gone!”. This overwrites the contents of each file with random data. The original names of the files will also be lost. Shredded files cannot ever be recovered.

The default is recycle. If you don't specify the deleteMethod= setting, or if it's set to something other than recycle, delete or shred, MMP will assume recycle.

Files that you instruct MMP to shred are not recoverable. When they're gone, they are GONE!


Renaming Files

control action
[R] [R]ename the current media file

The following dialog box will be displayed:

For your convenience, the file name does not include the file extension.
This makes typing a new name much quicker and less hazardous as there's no chance of accidentally wiping out the file extension 3).

If an audio or video file was playing when you pressed [R], playback will be paused while you rename the file and will recommence when you exit the dialog either by pressing [OK] or [Cancel].


Keeping Files

When working through a folder to decide which files to keep or delete, a convenient function [K] will mark a file to be Kept by renaming the file with a leading exclamation point/mark, ! .

The effect of this is to bring all such renamed files to the top of the folder in your File Explorer 4)

You can then either manually delete the other files in the folder or, better still, get MMP to do this for you by pressing Ctrl [K]. See Keep / Delete, below.


Deleting Individual Files

control action
[Del] Delete the current media file

The following confirmation dialog will be displayed:

You have to explicitly enable this functionality in MinimalistMediaPlayer.conf. See the audioDelete, imageDelete, videoDelete settings, above.

Files that you instruct MMP to shred are not recoverable. When they're gone, they are GONE!


Deleting Folder Contents

control action
Ctrl [Del] Delete the contents of the current folder (but leave any subfolders intact)

The following confirmation dialog will be displayed:

This will delete all files in the current folder, not just the files in the current folder's playlist.
Typical usage for this function is to quickly run through, say, a folder of images, [S]aving the ones you want. (see User Folders)
Once you have save-moved the wanted images out of a folder, you can then auto-delete the remaining files with Ctrl [Del].
This can be signifantly quicker than individually deleting the files you don't want.

This is a very fast operation as all the files are deleted simultaneously.

You have to explicitly enable this functionality in MinimalistMediaPlayer.conf. See the folderDelete setting, above.

Files that you instruct MMP to shred are not recoverable. When they're gone, they are GONE!


Keep / Delete

control action
Ctrl [K] Delete the contents of the current folder whilst retaining any “[K]ept” files that begin with an exclamation point/mark and a space, ! (always leaves any subfolders intact)

The following warning dialog will be displayed:

This will delete all files in the current folder (not just those in the current folder's playlist) but will leave intact any files that begin with an underscore _.

This is a very fast operation as all the files are deleted simultaneously.

Neither of the folder delete controls (neither Ctrl [Del] nor Ctrl [K]) will touch the contents of subfolders within the current folder.

You have to explicitly enable this functionality in MinimalistMediaPlayer.conf See the keepDelete setting, above.

Files that you instruct MMP to shred are not recoverable. When they're gone, they are GONE!


Move File

control action
Ctrl [M] Move the media file to the folder specified in the moveFolder= setting in the MinimalistMediaPlayer.conf

This functionality is only available from the main MMP media window, not in the Image & Thumbnail Browser.
(N.B. The Image & Thumbnail Browser has a wealth of functionality for cataloguing images into various user-defined folders)

The file will be moved to the folder; it will be removed from the current playlist; the next media file (if any) will play, otherwise MMP will obey the nextFolderOnEmpty= or nextFolderOnEnd= setting, as appropriate.

1)
which most audio/video media players force you to do
2)
from v3.0.2
3)
if you really want to change the file extension you can of course do so in your File Explorer
4)
actually, there are about 16 other punctuation characters which come before underscore in the collation sequence (and are permitted in Windows file names), but as most people don't tend to name their media files with a leading punctuation character, underscore seemed good enough to make “Kept” file names stand out
filecontrol.txt · Last modified: 2025/04/15 15:48