Remember folder after exit

Forums:

Hi,

I like that moc can remember last playlist (well and of course I like moc player :) ).
Would be nice if it could also remember last folder it was in and open that folder upon start.

BR

Nick

I hate to say this, but it works for me. In fact, I'm having trouble getting MOC to start in anything other than last directory (when no directory parameter is given on the command).

MOC does remember the last directory it was in (~/.moc/last_directory), and the CanStartInPlaylist option comments say:

When set to "no" it will start from the last directory.

You may also want to check out the StartInMusicDir option (which seems to have a slightly different view on which directory in which to start).

Thank you for prompt reply. StartInMusicDir made the trick.

Option comment says that setting StartInMusicDir to 'no' will 'start in the current directory by default'. I believed 'current' was the directory from where I start moc, but not the last directory from moc point of view. I should have tried anyway, sorry for taking your time.

I believed 'current' was the directory from where I start moc, but not the last directory from moc point of view.

I would have understood it as that as well (hence my comment about the different view). Obviously some clarification of the documentation is needed there.

A documentation fix has been committed as r2946 (MOC 2.5) and r2947.