Author Topic: Saved settings priority  (Read 3648 times)

raina

  • Posts: 1163
Saved settings priority
« on: 30 Oct '14 - 07:11 »
Use case: I want some (.it) files in a certain path to be played with a set of MOD settings that override my defaults for the .it type.

That seems to be impossible according to the saved settings lookup order in the manual. Why does the more generic "type" have precedence over the more specific "path"? Could/should there be a another settings category added combining type and path, which would outrank both?

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: Saved settings priority
« Reply #1 on: 30 Oct '14 - 18:09 »
"path" settings do indeed currently have lowest priority (the order is: file, tags, type, path). The reason "path" settings have lowest priority is because they can apply to sub-directories, eg. "C:\" would cover the entire C: drive. So other settings types might not get a look in if "path" settings had higher priority. Perhaps an exact path match could be given higher priority though, eg. 2nd after a file match? Here's an update that should do that...

   www.un4seen.com/stuff/xmplay.exe

guest

  • Guest
Re: Saved settings priority
« Reply #2 on: 9 Jun '23 - 10:42 »
Would it be possible to have multiple saved settings defined for the same path (especially for empty path) with only one selected active for "Automatically load saved settings" option?

guest

  • Guest
Re: Saved settings priority
« Reply #3 on: 10 Jun '23 - 11:39 »
Or autoload only the selected preset?

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: Saved settings priority
« Reply #4 on: 12 Jun '23 - 12:21 »
Do you mean instead of looking for track-specific settings, XMPlay would always reload the same preset for every track?

guest

  • Guest
Re: Saved settings priority
« Reply #5 on: 12 Jun '23 - 13:10 »
Yes, the same currently selected preset for every track.

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: Saved settings priority
« Reply #6 on: 13 Jun '23 - 12:40 »
OK, here's something for you to try:

   www.un4seen.com/stuff/xmplay.exe

It adds an "AutoPreset" XMPLAY.INI option to set the name of the preset that should be used when auto-loading is enabled. If that preset doesn't exist then the auto-loading will work as usual. If you ever want to change the preset that's used, you can either edit "AutoPreset" and restart XMPlay, or just rename the new preset to the "AutoPreset" value.