Just thinking aloud: force reread of mediamonkey.ini

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Just thinking aloud: force reread of mediamonkey.ini

Post by MoDementia »

I don't think this is possible but...

A script could change values in mediamonkey.ini
e.g.
PlayerSkinNameNew=Mods Player Skin.wsz
to
PlayerSkinNameNew=Blue Monkey.wsz

But there is no way to force MM to reread the new value?
By section or individual key
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Practical application

Post by MoDementia »

A practical example to adjust the equaliser per Genre

Code: Select all

[AdjustEqualiser]
FileName=AdjustEqualiser.vbs
ProcName=AdjustEqualiser
Language=VBScript
ScriptType=2

-------------------------------------------------------

Sub AdjustEqualiser

Select Case itm.Genre

Case "Classical"
 SDB.IniFile.StringValue("Equalizer","Enabled") = 1
 SDB.IniFile.StringValue("Equalizer","Left4") = 5
 SDB.IniFile.StringValue("Equalizer","Right4") = 5
etc 
 Bands=10 
 LeftPreamp=0
 RightPreamp=0
 Left1=0
 Right1=0
 Left2=0
 Right2=0
 Left3=0
 Right3=0
 Left4=0
 Right4=0
 Left5=0
 Right5=0
 Left6=0
 Right6=0
 Left7=0
 Right7=0
 Left8=0
 Right8=0
 Left9=0
 Right9=0
 Left10=0
 Right10=0
 Enabled=0

End Select

IniReRead("Equalizer", "")  ' All Keys in Section

End Sub
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

This would indeed be useful. It could also be used for changing the skin via a script.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Post by MoDementia »

So there is no way to do it currently :(

In that case can you please move this to

http://www.mediamonkey.com/forum/viewtopic.php?t=7973
Steegy_NotLoggedIn

Post by Steegy_NotLoggedIn »

Similar wish (explicitly overwriting INI-loaded settings) at http://www.mediamonkey.com/forum/viewto ... 3456#43456
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Post by MoDementia »

Well I for one second that post then :)
Post Reply