For many users, having the Soundslates folder in the default location is not always suited because of various reasons, for example available disk space.
This task is about adding the option to install the Soundslates folder in a different location.
It seems that we should do this pretty carefully because of various dependancies and special cases, such as:
Plugins and plugin host should be updated with the actual location of the SS folder.
We need a case for when the SS folder is not found, i.e if on an external drive which is not connected
When changing the location of the folder, we should copy the entire folder across to the new location, and delete the folder once the copying process is entirely complete
Features such as monitoring the SS folder directory (i.e personal sound library) should remain functional with the new location
Let me know if you see additional special cases and potential issues.
If not, and everything seems clear, then we could proceed with the implementation. The UI is ready for this, in the new preferences panel -> General tab, there is a "Soundslates folder" text field. Clicking on the "Change" button or the text field should open a file chooser window, in which the user can specify the new location.
Karim Alabtakh on July 18, 2018:
The main work was done. The app was sensitive for changing since the design of architecture didn't provide such functionality. currently when changing soundslates folder those folders will be moved: 1- sound lib 2-projects 3-imgcache this folder will be deleted: 1-playercache
another files and folders will not be moved (like sql database)
so next: -check if all usecases/functionalities work currectly. -process exceptions for external drive (so default path will be used and maybe display notification about that)
Karim Alabtakh on July 25, 2018:
done
Pierre henri Seylan on August 21, 2018:
One question:
How does it works for the audio plugins? For example if the folder location has changed, where will the Moody sampler save files?
Did you add the possibility to update the path of the SS folder to the IPC class?
The most obvious use case is the browser for the Moody sampler and Onyx. Those should ideally be able to know which path should be checked ton display the files in the presets browser.
Let me know what you think, and if this should be done after integrating the new API (since we will rework the presets browser for the Moody sampler)
Karim Alabtakh on August 22, 2018:
For plugins we will use IPC and local settings (for offline mode). The work on IPC part will be done after integrating new API.
Comments
Pierre henri Seylan on July 3, 2018:
This task is about adding the option to install the Soundslates folder in a different location.
It seems that we should do this pretty carefully because of various dependancies and special cases, such as:
Let me know if you see additional special cases and potential issues.
If not, and everything seems clear, then we could proceed with the implementation.
The UI is ready for this, in the new preferences panel -> General tab, there is a "Soundslates folder" text field.
Clicking on the "Change" button or the text field should open a file chooser window, in which the user can specify the new location.
Karim Alabtakh on July 18, 2018:
The app was sensitive for changing since the design of architecture didn't provide such functionality.
currently when changing soundslates folder those folders will be moved:
1- sound lib
2-projects
3-imgcache
this folder will be deleted:
1-playercache
another files and folders will not be moved (like sql database)
so next:
-check if all usecases/functionalities work currectly.
-process exceptions for external drive (so default path will be used and maybe display notification about that)
Karim Alabtakh on July 25, 2018:
Pierre henri Seylan on August 21, 2018:
How does it works for the audio plugins?
For example if the folder location has changed, where will the Moody sampler save files?
Did you add the possibility to update the path of the SS folder to the IPC class?
The most obvious use case is the browser for the Moody sampler and Onyx.
Those should ideally be able to know which path should be checked ton display the files in the presets browser.
Let me know what you think, and if this should be done after integrating the new API (since we will rework the presets browser for the Moody sampler)
Karim Alabtakh on August 22, 2018:
The work on IPC part will be done after integrating new API.