Torben, can you please confirm that the contents of the new DefaultDirectories.ini file should look something like this (note that this list is in alphabetic order!):
[DefaultDirectories]
AddDirectoryBrowser=M:\music
AddDirectoryTreeBrowser=M:\music
AddPlaylistBrowser=C:\playlists
AppendPlaylist=C:\playlists
CartwallLoad=C:\cartsets
CartwallSave=C:\cartsets
DRS2006Import=c:\drs2006\database
InsertFiles=M:\music
OpenPlaylist=C:\playlists
RunScript=c:\scripts
SavePlaylist=C:\playlists
SchedulerLoadList=C:\events
SchedulerSaveList=C:\events
SchedulerSelectFile=M:\music
SchedulerSelectPlaylist=C:\playlists
SchedulerSelectScript=c:\scripts
SelectIcon=c:\mairlist\icons
… or is there now a different name in the first line?
Also, can you please confirm that the entries above represent ALL possible entries for ‘default directories?’
Finally, may I also politely suggest that the key names are tidied up and made more consistent? For example, there is currently CartwallSave and SavePlaylist—not very intuitive! I would suggest that the names are changed to the general format <subobject, if any>
as in this sample:
I think this would make the entries easier to find, and make the key names easier to guess if you can’t remember them ;). What do you think of this idea?
My example at the top of this thread was for v2.x. You are using v3.x, which does not support all the values which v.2x does (according to Torben’s grep listing above).
Specifically, in your file, you have two values which Torben says do not exist in v3:
AddDirectoryTreeBrowser
AppendPlaylist
I don’t know how Torben’s code works, but it’s possible that mAirList will stop reading the file beyond the first ‘invalid’ value?
I suggest you try removing those two values from your INI file and see if it makes a difference.
so I should trust Torben that those defaults are (or should be) supported in 3.x as well…
I’m still investigating on mAirList 3.x and I’m a bit upset to see how few people support the 3.x development.
OK, the rule “never change a running system” always applies, but …
I have just tried it in v3.0, and it seems to work fine. I haven’t tried every single one, but those which I tested (e.g. InsertFiles, LoadPlaylist, …) were ok.
I just tried it again an it seems to work except for SavePlaylist.
I poked around a bit and lo and behold, standard.mlt was overwriting the settings.
Especially the section…
Hmm, I wonder if it would maybe make sense to only use standard.mlt for this kind of functionality.
I mean use all current settings of the GUI and save it to this file.