Just thinking aloud: force reread of mediamonkey.ini

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Just thinking aloud: force reread of mediamonkey.ini

by MoDementia » Tue Jul 18, 2006 3:35 am

Well I for one second that post then :)

by Steegy_NotLoggedIn » Mon Jul 17, 2006 11:10 pm

Similar wish (explicitly overwriting INI-loaded settings) at http://www.mediamonkey.com/forum/viewto ... 3456#43456

by MoDementia » Mon Jul 17, 2006 5:39 pm

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

by trixmoto » Mon Jul 17, 2006 3:42 am

This would indeed be useful. It could also be used for changing the skin via a script.

Practical application

by MoDementia » Sun Jul 16, 2006 11:30 pm

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

Just thinking aloud: force reread of mediamonkey.ini

by MoDementia » Sun Jul 16, 2006 6:01 pm

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

Top