Page 1 of 1

DBNAME in INI file is not being respected

Posted: Tue Mar 15, 2022 12:27 pm
by Blackcat12
Ref 5.0.3 b2610 beta:

I have the DBNAME set in the INI file to reference a specific DB name and is not being respected on startup.

I open MM5 with a shortcut to reference a specific INI file, depending on the use case (External, Local, or Portable Device (iphone).

I cannot tell if it is the command line reference to the INI file that is not being respected or the Directive within the INI file itself. Either way, only MM5.DB is used.

Windows Shortcut command line:
"D:\MediaMonkey 5\MediaMonkey.exe" /INIFILE="D:\MediaMonkey 5\Portable\MediaMonkey_LOCAL.ini"

INI file directive:
DBName=D:\MediaMonkey 5\Portable\MM5_LOCAL.DB

This does seem to be a regression issue as I reported a similar issue in the past. See: https://www.mediamonkey.com/forum/viewt ... p?t=100376

Re: DBNAME in INI file is not being respected

Posted: Fri Mar 18, 2022 7:19 pm
by Blackcat12
It’s been a few days with no response. I just want to check if this issue has been verified and logged?

Re: DBNAME in INI file is not being respected

Posted: Fri Mar 18, 2022 9:22 pm
by Lowlander
I checked and DBNAME is respected on build 2611. Do make sure it's in the [System] section of the ini.

You should first confirm whether the problem is with the ini shortcut or with the DBName instruction in the ini file.

Re: DBNAME in INI file is not being respected

Posted: Sat Mar 19, 2022 8:09 am
by Blackcat12
Lowlander wrote: ↑Fri Mar 18, 2022 9:22 pm I checked and DBNAME is respected on build 2611. Do make sure it's in the [System] section of the ini.

You should first confirm whether the problem is with the ini shortcut or with the DBName instruction in the ini file.
Quite a disappointing response as you clearly did not do any research or you would have seen from the referenced thread that this has been working for years, across multiple versions. It is not my setup.

I have opened [Ticket #3947] and attached a log file to help you. I can clearly see that the standard path and MM5.DB is being called for the DBNAME rather than the path and specified DBNAME in the INI file.

Snippet from the log file:
00000145 3.57610965 [10296] MM5 [19868](R) checkDBName: DBName: C:\Users\X\AppData\Roaming\MediaMonkey5\MM5.DB does not exists
00000146 3.57617879 [10296] MM5 [19868](R) checkDBName: scenario 3 or 6, DBName: C:\Users\X\AppData\Roaming\MediaMonkey5\MM5.DB, MM4 path:
00000147 3.57621527 [10296] MM5 [19868](R) Writing new DBName C:\Users\X\AppData\Roaming\MediaMonkey5\MM5.DB