Index: apps/gui/gwps-common.c =================================================================== --- apps/gui/gwps-common.c (revision 17390) +++ apps/gui/gwps-common.c (working copy) @@ -1159,6 +1159,13 @@ *intval = global_settings.repeat_mode + 1; snprintf(buf, buf_size, "%d", *intval); return buf; + + case WPS_TOKEN_STUDY_MODE: + if (global_settings.study_mode) + return "s"; + else + return NULL; + case WPS_TOKEN_RTC_12HOUR_CFG: if (intval) *intval = global_settings.timeformat + 1; Index: apps/gui/gwps.h =================================================================== --- apps/gui/gwps.h (revision 17390) +++ apps/gui/gwps.h (working copy) @@ -236,6 +236,7 @@ /* Mode */ WPS_TOKEN_REPEAT_MODE, WPS_TOKEN_PLAYBACK_STATUS, + WPS_TOKEN_STUDY_MODE, WPS_TOKEN_MAIN_HOLD, Index: apps/gui/wps_parser.c =================================================================== --- apps/gui/wps_parser.c (revision 17390) +++ apps/gui/wps_parser.c (working copy) @@ -266,6 +266,7 @@ { WPS_TOKEN_REPEAT_MODE, "mm", WPS_REFRESH_DYNAMIC, NULL }, { WPS_TOKEN_PLAYBACK_STATUS, "mp", WPS_REFRESH_DYNAMIC, NULL }, + { WPS_TOKEN_STUDY_MODE, "ms", WPS_REFRESH_DYNAMIC, NULL }, #ifdef HAVE_LCD_BITMAP { WPS_TOKEN_LEFTMARGIN, "m", 0, parse_leftmargin }, Index: manual/appendix/wps_tags.tex =================================================================== --- manual/appendix/wps_tags.tex (revision 17390) +++ manual/appendix/wps_tags.tex (working copy) @@ -165,11 +165,19 @@ \begin{tagmap}{}{} \config{\%mp} & Play status, 0-4, in the order: Stop, Play, Pause, Fast forward, Rewind\\ + \config{\%ms} & ``s'' if the study mode is activated\\ \end{tagmap} \end{table} -Example: \config{\%?mp{\textless}Stop{\textbar}Play{\textbar}Pause{\textbar}% +Examples: +\begin{enumerate} +\item Display the current play status as text:\\ +\config{\%?mp{\textless}Stop{\textbar}Play{\textbar}Pause{\textbar}% Ffwd{\textbar}Rew{\textgreater}} +\item Display ``Study'' if the study mode is activated:\\ +\config{\%?ms{\textless}Study{\textbar}{\textgreater}} +\end{enumerate} + \section{Images} \begin{table} \begin{tagmap}{}{}