修改 MediaMonkey 数据库和设置文件/更改默认数据库位置

MediaMonkey 数据库文件存储了 MediaMonkey 库中的大多数信息,包括文件元数据、播放列表、播放历史记录、同步设置、播客订阅以及显示/过滤器/收藏设置。MediaMonkey 4+ 插图缓存除外,它们存储在文件系统中。大多数配置数据存储在 .ini 设置文件中,该文件按每个用户保存配置信息(例外是一些与视图相关的配置,它们存储在注册表中)。这些文件存储在不同的位置,具体取决于 MediaMonkey 的版本和操作系统。

要修改这些文件中的任何一个,请首先确保已关闭 MediaMonkey。然后,您可以使用以下工具来编辑文件:

  • .db 文件可以使用支持 SQLite 的各种工具来查看
  • .ini 文件可以使用记事本等文本编辑器进行编辑
  • persistent.json 可以使用文本编辑器(如记事本)进行编辑
  • .mdb 文件可以使用 Access(MediaMonkey 2.x 及更早版本)进行编辑(风险自负)

默认位置

MediaMonkey 5+:

  • Windows 11 / 10:
    %APPDATA%\MediaMonkey5\MM5.DB
    %APPDATA%\MediaMonkey5\MediaMonkey.ini
    %APPDATA%\MediaMonkey5\persistent.json
    %APPDATA%\MediaMonkey5\MetadataCache\
  • 便携模式:
    在 MediaMonkey 安装位置的“便携式”子目录中。例如
    <MediaMonkey 便携式安装文件夹> \Portable\MM5.DB
    <MediaMonkey 便携式安装文件夹> \Portable\MediaMonkey.ini
    <MediaMonkey 便携式安装文件夹> \Portable\persistent.json
    <MediaMonkey 便携式安装文件夹> \Portable\MetadataCache\

MediaMonkey 4.x:

  • Windows 10 / 8.1 / 8 / 7 / Vista:
    %APPDATA%\MediaMonkey\MM.DB
    %APPDATA%\MediaMonkey\MediaMonkey.ini
    %APPDATA%\MediaMonkey\MetadataCache\
  • Windows XP:
    C:\Documents and Settings\ <用户名> \Application Data\MediaMonkey\MM.DB
    C:\Documents and Settings\ <用户名> \Application Data\MediaMonkey\MediaMonkey.ini
    C:\Documents and Settings\ <用户名> \Application Data\MediaMonkey\MetadataCache
  • 便携模式:
    在 MediaMonkey 安装位置的“便携式”子目录中。例如
    < MediaMonkey 便携式安装文件夹> \Portable\MM.DB
    <MediaMonkey 便携式安装文件夹> \Portable\MediaMonkey.ini
    <MediaMonkey 便携式安装文件夹> \Portable\MetadataCache\

MediaMonkey 3.x:

  • Windows XP:
    C:\Documents and Settings\ <用户名> \Local Settings\Application Data\MediaMonkey\MM.DB
    C:\Documents and Settings\ <用户名> \Local Settings\Application Data\MediaMonkey\MediaMonkey.ini
  • Windows 8/7/Vista:
    C:\Users\ <用户名> \AppData\Local\MediaMonkey\MM.DB
    C:\Users\ <用户名> \AppData\Local\MediaMonkey\MediaMonkey.ini

MediaMonkey 2.5:

  • Windows XP:
    C:\Documents and Settings\ <用户名> \My Documents\My Music\MediaMonkey\MediaMonkey.mdb
    C:\Documents and Settings\ <用户名> \My Documents\My Music\MediaMonkey\MediaMonkey.ini

笔记:

  • 可以复制并粘贴包含 %APPDATA%\ 的路径,如文件资源管理器中的位置栏所示。
  • 将路径中的<USERNAME>替换为您登录 Windows 的用户名
  • 将 < MediaMonkey 便携式安装文件夹>替换为 MediaMonkey 便携式安装的路径。

更改 MediaMonkey 数据库的默认位置

MediaMonkey 允许您通过编辑 MediaMonkey.ini 文件来更改数据库的位置。您可以选择不同的位置来存储,例如备份位置、更快的驱动器或网络位置

要更改 MediaMonkey 数据库的位置:

  1. 关闭 MediaMonkey(这样它就不会覆盖任何更改)
  2. 备份 MediaMonkey.ini 文件
  3. 将 MediaMonkey 数据库文件从默认位置移出到你想要存储它的新位置
  4. 将以下行添加到 MediaMonkey.ini 文件的[System]部分:DBName=full pathfilename.DB。例如: DBName=C:\Databases\music.db
  5. 启动 MediaMonkey


笔记

  • 如果您看不到这些文件,则可能意味着您需要启用隐藏文件/文件夹的查看功能。在文件资源管理器中,转到文件 > 选项。选择查看选项卡并选中“显示隐藏文件、文件夹和驱动器”。现在应该可以在文件资源管理器中访问上面列出的文件夹和文件。
  • 可以通过命令行指令使用自定义的 MediaMonkey.ini 位置。

Applies to: ,

Translated automatically (see original)

Modifying the MediaMonkey database and settings files / changing the default database location

The MediaMonkey database file stores most of the information in the MediaMonkey library, including file metadata, playlists, play history, synchronization settings, podcast subscriptions, and display/filter/Collection settings. The exception is the MediaMonkey 4+ artwork caches which are stored within the file system. Most configuration data is stored in an .ini settings file that saves configuration information on a per-user basis (the exception being some configuration related to Views which is stored in the registry). These files are stored in different locations depending on the version of MediaMonkey and the operating system.

To modify any of these files, first make sure that MediaMonkey has been closed. You can then use the following tools to edit the files:

  • .db files can be viewed with various tools that support SQLite
  • .ini files can be edited with a text editor such as Notepad
  • persistent.json can be edited with a text editor such as Notepad
  • .mdb files can be edited (at your own risk) with Access (MediaMonkey 2.x and older)

Default Locations

MediaMonkey 5+:

  • Windows 11 / 10:
    %APPDATA%\MediaMonkey5\MM5.DB
    %APPDATA%\MediaMonkey5\MediaMonkey.ini
    %APPDATA%\MediaMonkey5\persistent.json
    %APPDATA%\MediaMonkey5\MetadataCache\
  • Portable Mode:
    In the ‘Portable’ subdirectory of the location to which MediaMonkey was installed. e.g.
    <MediaMonkey Portable Install Folder>\Portable\MM5.DB
    <MediaMonkey Portable Install Folder>\Portable\MediaMonkey.ini
    <MediaMonkey Portable Install Folder>\Portable\persistent.json
    <MediaMonkey Portable Install Folder>\Portable\MetadataCache\

MediaMonkey 4.x:

  • Windows 10 / 8.1 / 8 / 7 / Vista:
    %APPDATA%\MediaMonkey\MM.DB
    %APPDATA%\MediaMonkey\MediaMonkey.ini
    %APPDATA%\MediaMonkey\MetadataCache\
  • Windows XP:
    C:\Documents and Settings\<USERNAME>\Application Data\MediaMonkey\MM.DB
    C:\Documents and Settings\<USERNAME>\Application Data\MediaMonkey\MediaMonkey.ini
    C:\Documents and Settings\<USERNAME>\Application Data\MediaMonkey\MetadataCache
  • Portable Mode:
    In the ‘Portable’ subdirectory of the location to which MediaMonkey was installed. e.g.
    <MediaMonkey Portable Install Folder>\Portable\MM.DB
    <MediaMonkey Portable Install Folder>\Portable\MediaMonkey.ini
    <MediaMonkey Portable Install Folder>\Portable\MetadataCache\

MediaMonkey 3.x:

  • Windows XP:
    C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\MediaMonkey\MM.DB
    C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\MediaMonkey\MediaMonkey.ini
  • Windows 8 / 7 / Vista:
    C:\Users\<USERNAME>\AppData\Local\MediaMonkey\MM.DB
    C:\Users\<USERNAME>\AppData\Local\MediaMonkey\MediaMonkey.ini

MediaMonkey 2.5:

  • Windows XP:
    C:\Documents and Settings\<USERNAME>\My Documents\My Music\MediaMonkey\MediaMonkey.mdb
    C:\Documents and Settings\<USERNAME>\My Documents\My Music\MediaMonkey\MediaMonkey.ini

Note:

  • Paths with %APPDATA%\ can be copy & pasted as shown in the location bar in File Explorer.
  • Replace <USERNAME> in paths with the username you’re logged into Windows
  • Replace <MediaMonkey Portable Install Folder> with the path to where the portable install of MediaMonkey is installed.

Changing the Default Location of the MediaMonkey database

MediaMonkey allows you to change the database’s location by editing the MediaMonkey.ini file. You can choose a different location to store in a location that’s backed up, on a faster drive or a networked location

To change the location of the MediaMonkey database:

  1. Close MediaMonkey (so that it doesn’t overwrite any of the changes)
  2. Back up the MediaMonkey.ini file
  3. Move the MediaMonkey database file from default location to the new location where you’d like to store it
  4. Add the following line to the [System] section of the MediaMonkey.ini file: DBName=full pathfilename.DB. For example: DBName=C:\Databases\music.db
  5. Start MediaMonkey


NOTES

  • If you cannot see these files, it likely means that you need to enable viewing of hidden files/folders. In File Explorer, go to File > Options. Select the View tab and check “Show hidden files, folders, and drives”. The folders and files listed above should now be accessible in File Explorer.
  • A custom MediaMonkey.ini location can be used through command line instructions.

Applies to: ,

Hide original

这篇文章有帮助吗?