diff options
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index 551012049..4259b58e7 100644 --- a/src/command.c +++ b/src/command.c @@ -84,6 +84,7 @@ #define COMMAND_STATUS_ERROR "error" #define COMMAND_STATUS_CROSSFADE "xfade" #define COMMAND_STATUS_AUDIO "audio" +#define COMMAND_STATUS_UPDATING_DB "updating_db" typedef int (* CommandHandlerFunction)(FILE *, unsigned int *, int, char **); @@ -193,6 +194,8 @@ int commandStatus(FILE * fp, unsigned int * permission, int argArrayLength, myfprintf(fp,"%s: %u:%i:%i\n",COMMAND_STATUS_AUDIO,getPlayerSampleRate(),getPlayerBits(),getPlayerChannels()); } + if(isUpdatingDB()) myfprintf(fp,"%s: 1\n",COMMAND_STATUS_UPDATING_DB); + if(getPlayerError()!=PLAYER_ERROR_NOERROR) { myfprintf(fp,"%s: %s\n",COMMAND_STATUS_ERROR,getPlayerErrorStr()); } |