@@ -69,6 +69,7 @@ int main ( int argc, char** argv )
6969 bool bUseMultithreading = false ;
7070 bool bShowAnalyzerConsole = false ;
7171 bool bMuteStream = false ;
72+ bool bDisableRecording = false ;
7273 bool bCentServPingServerInList = false ;
7374 bool bNoAutoJackConnect = false ;
7475 bool bUseTranslation = true ;
@@ -392,6 +393,19 @@ int main ( int argc, char** argv )
392393 }
393394
394395
396+ // Disable recording on startup ----------------------------------------
397+ if ( GetFlagArgument ( argv,
398+ i,
399+ " --norecord" ,
400+ " --norecord" ) )
401+ {
402+ bDisableRecording = true ;
403+ tsConsole << " - recording will not be enabled" << endl;
404+ CommandLineOptions << " --norecord" ;
405+ continue ;
406+ }
407+
408+
395409 // Central server ------------------------------------------------------
396410 if ( GetStringArgument ( tsConsole,
397411 argc,
@@ -688,6 +702,7 @@ int main ( int argc, char** argv )
688702 bDisconnectAllClientsOnQuit,
689703 bUseDoubleSystemFrameSize,
690704 bUseMultithreading,
705+ bDisableRecording,
691706 eLicenceType );
692707
693708#ifndef HEADLESS
@@ -798,8 +813,8 @@ QString UsageArguments ( char **argv )
798813 " [server1 city]; ...\n "
799814 " [server1 country as QLocale ID]; ...\n "
800815 " [server2 address]; ...\n "
801- " -R, --recording enables recording and sets directory to contain\n "
802- " recorded jams \n "
816+ " -R, --recording sets directory to contain recorded jams \n "
817+ " --norecord disables recording (when enabled by default by -R) \n "
803818 " -s, --server start server\n "
804819 " -T, --multithreading use multithreading to make better use of\n "
805820 " multi-core CPUs and support more clients\n "
0 commit comments