Page 1 of 1

OK to use SMP ini / config file from slightly older version?

PostPosted: Sun Aug 31, 2014 9:47 pm
by brittney24
Is there any problem using user prefs files from older SMP portable versions (say 14.3.0 or 14.3.0 r6354_ both portable ) in the newest portable build r6359?

I think back in the 0.8x versions, I'd copy over smplayer.ini to new builds & don't remember any problems.
The only issue might be, is if a newer smplayer.ini version had some entry(ies) not contained in the older version - they'd be missing;
or if important settings had changed in a newer smplayer.ini (other than just my own personal preferences).

In the latter case, just copying over the old file into the new version's folder might wipe out important ini changes (from the devs) - for a new version.

Other than that, I guess I could use a file compare utility & identify exactly what was different in the old one. Then decide which settings I wanted to transfer.
But, that is kind of a pain - if you do it very often. But, I definitely don't want to manually reconfig all my user prefs, for each new release.
Thanks.

Re: OK to use SMP ini / config file from slightly older vers

PostPosted: Sun Aug 31, 2014 10:22 pm
by rvm
I think there shouldn't be any problem using an old ini file.

If there are new options smplayer will add entries in the ini file with the default values.

Re: OK to use SMP ini / config file from slightly older vers

PostPosted: Mon Sep 01, 2014 4:58 am
by brittney24
So there's a check system in SMP, that checks (at minimum) if any smplayer.ini entries are missing (that should be present, given the current SMP version)?
Then adds any missing entries to the ini file? I assume that happens at SMP startup?

Re: OK to use SMP ini / config file from slightly older vers

PostPosted: Mon Sep 01, 2014 12:44 pm
by rvm
On startup smplayer tries to load the settings from the ini file. If an option doesn't exist it uses a default value. When smplayer is closed it saves all data to the ini file.