Aleksoid1978 / MPC-BE

MPC-BE – универсальный проигрыватель аудио и видеофайлов для операционной системы Windows.
GNU General Public License v3.0
2.37k stars 93 forks source link

[BUG]uncheck 'Keep history of recently opened files' has no effect #617

Closed WanderMax closed 2 weeks ago

WanderMax commented 2 weeks ago

uncheck 'Keep history of recently opened files' has no effect, it still store LastOpenFile in mpc-be64.ini

image image

v0lt commented 2 weeks ago

The LastOpenFile parameter remembers only the last opened file, not the entire history.

The history is stored in the history.mpc_lst file, which can be cleared using the File > Recent Files > Clear list command.

v0lt commented 2 weeks ago

The LastOpenFile parameter looks strange when there is a history. But it is needed for some functions. Maybe in the future this will be changed.

clsid2 commented 2 weeks ago

Simply don't store it as a setting.

In MPC-HC it is only used during the active session.

v0lt commented 2 weeks ago

Simply don't store it as a setting.

Yes. This is right. Implemented in commit cc422b1.