From b3cb7fa2ec54dc90493313b690a58a34c4ce1f5a Mon Sep 17 00:00:00 2001 From: phintuka Date: Wed, 18 Oct 2006 13:33:06 +0000 Subject: Prefer using track maps from local frontend, if available --- frontend_svr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend_svr.c b/frontend_svr.c index d3c92b5b..96a28df7 100644 --- a/frontend_svr.c +++ b/frontend_svr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_svr.c,v 1.25 2006-10-18 12:50:12 phintuka Exp $ + * $Id: frontend_svr.c,v 1.26 2006-10-18 13:33:06 phintuka Exp $ * */ @@ -1224,7 +1224,8 @@ void cXinelibServer::Handle_Control(int cli, const char *cmd) } } else if(!strncmp(cmd, "TRACKMAP ", 9)) { - cXinelibThread::InfoHandler(cmd); + if(!*xc.local_frontend || strncmp(xc.local_frontend, "none", 4)) + cXinelibThread::InfoHandler(cmd); } else if(!strncasecmp(cmd, "GRAB ", 5)) { Handle_Control_GRAB(cli, cmd+5); -- cgit v1.2.3