I see a better solution for an centralized database than working with
with hardcoded paths in an .ini-file.
My suggestion is to have an real Client/Server-solution like it is implemented in professional database applications.
For example:
1. The database is stored on the server.
2. On the Server a daemon (process) is running which has access to the
database and listens to a specific tcp/ip-Port on the network.
3. On the Client, mediamonkey is startet and makes a connection to the
server-daemon (over the tcp/ip-port from the server).
4. Now the client gets all the information it needs from the server, including
the music-files (could be the same port or a different).
The client-modul (Mediamonkey) could also be startet at the server.
This is needed if you have only one system. The communication over the
port will be the same.
Additionally this could be expanded by:
A. Userspecific configurations:
The user has to authorize in the mediamonkey-db when he starts
the client-modul. That means you have to specify a username/password
and the ip-address/portnummer of your db-server.
Then you get your userspecific view to the database including
your playlists and setups which are stored in the database.
This will also work over internet!!!
B. Configuration whether to use the local (client) soundcard or the
remote (server) soundcard.
think about this for discussion. This is not new. I used a similiar system for
some years (
www.andantico.de). Unfortunately there is no further
development any more so I decided to go for Mediamonkey.
It has also a working prelisten-funtionality.
One thing will possibly not be available, that is the connection to winamp
including all the winamp-plugins. But maybee there could be written a
special mediamonkey-winamp-interface.