As part of my ongoing porting from Windows, I have today come across two MC issues on Linux.
Firstly, the MCWS command 'Control/MCC?Command=20007' (MCC_EXIT) is documented as having parameter (default 0) 'int nMode (0: normal, 1: force close (close media server), 2: force close (allow media server))'. So on Windows I have been sending this command (with no parameter) to clear the screen, but leaving MCWS still running and responsive on the server. On Linux, it kills the server totally. But I find that I can achieve what I need with MCC_MINIMIZE_WINDOW. However, it is a difference in behaviour from Windows to Linux.
Much more significantly, I have a problem with my occasional tree-walk of the (28k-track) library to build a more efficient in-memory representation of Albums and Tracks. This uses a sequence of "Browse/Children" and "Browse/Files" MCWS. This tree-walk has worked well on Windows ever since the introduction of MCWS. But on Linux, after a few hundred calls, one of the calls simply hangs, stopping the processing dead.
I will write a stand-alone tree-walk console program to exercise this. But in the meanwhile is there anything I can check on the server to see how it is failing?