Application icon

Close Database

This function is used to close one or more album and track databases.

If a path is not specified, all open databases will be closed.

If a database being closed has been modified, it will be saved prior to closing.

If a specified database is not open this function will be ignored.

The path may contain any of the escape sequences described in Escape Sequences. At runtime, the path to a database must be absolute (/) or relative to the home folder (~/).

The action test state will be set to true if any databases were closed, otherwise it will be set to false.

This function is not valid during while batch processing.