-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I wonder why lmms has hardcoded path information in project-files. The reason is a forum-user that has bought a new pc.
His former pc was quite weirdly partitioned -dont ask why, i dont know
But he had a folder structure
D:/a/b/c/d/
And then a folder with soundfonts
That was his default sf path, and the one he had in his lmms settings
So ~200 projects had this information in each project:
<instrument name="sf2player">
<sf2player patch="81" chorusLevel="2" chorusDepth="8" reverbOn="0" reverbRoomSize="0.2" chorusOn="0" chorusSpeed="0.3" reverbDamping="0" chorusNum="3" reverbLevel="0.9" bank="0" reverbWidth="0.5" src="D:/a/b/c/d/soundfonts/GeneralUser GS Live-Audigy v1.43.sf2" gain="1"/>
</instrument>
Now he got a new pc
He now installed lmms as default in C
None of his 200 projects can load
Why is the src= not just a reference to the path made in lmms-settings
Is there a special reason, that the information must be added to the project-file as a hardcoded string, and not as a reference to the directory in lmms-settings
The same goes for all other src=
It would be best if they were references to just one constant namely the strings in lmms-settings