epgsearchmenu.conf
configuration of EPG menus
- Provided by: vdr-plugin-epgsearch (Version: 2.4.6-1)
- Report a bug
configuration of EPG menus
The display of selected EPGSearch menus can be customized to your own preferences. The configuration is done using this file.
The file epgsearchmenu.conf is not reloaded with every plugin call, since this is only useful when testing the configuration file itself. To activate permanent reloading the file during testing a configuration change, add the start parameter '−r' or '−−reloadmenuconf' in the VDR's start script (e.g., runvdr).
Each line configures the display of a certain menu. The entries specify the layouts for the following menus:
Without a respective entry, EPGSearch uses a menu's default layout.
The entry 'MenuSearchResults' has a special feature: If different layouts for search results are desired depending on the search, additional menu templates can be provided. Just add an entry for each template, with the template name directly appended to 'MenuSearchResults', like 'MenuSearchResultsTip of the Day'. If more than one entry starting with 'MenuSearchResults' exists, the menu 'Edit search' will be extended by a menu item 'Result menu layout' that allows choosing between the menu's default template and own templates.
The following variables exist (case ignored):
According to the ISO 8601 standard, Monday is the first day of a week. Calendar week 1 is the first week where four or more days fall within the new year, that is, the first week that contains a Thursday or has January 4 in it.
Caution: The HTML reserved characters '<&">' will not be replaced by their substitutes '<', '&', '"' and '>'.
For the menus of user-defined times and the menu 'Search results', there are also:
Note: The VDRSymbols font must be installed to display the graphics.
And, finally, some common variables:
You can also use variables for extended EPG categories defined in epgsearchcats.conf or use your own variables defined in epgsearchuservars.conf. Variable names are not case sensitive.
An entry consists of up to six table columns, separated with '|' characters. The last entry of each table row should declare the table width in characters, separated with a ':' character.
When using characters like '~', '−' or '#' to separate items (e.g., '%Title% ~ %Subtitle%') with trailing elements being empty, EPGSearch will attempt to remove orphaned spaces and separators.
To enable icons from the font VDRSymbols, simply add the following line to the file:
WarEagleIcons=1
The font VDRSymbols can be downloaded from <http://andreas.vdr-developer.org/fonts/download.html>.
Note: Once a file epgsearchmenu.conf is present and includes an entry for a certain menu, the default settings for displaying this menu are ignored.
A sample epgsearchmenu.conf is provided in the subdirectory conf of EPGSearch. For quickly trying out, copy the file to the EPGSearch configuration directory (e.g., /etc/vdr/plugins/epgsearch).
MenuWhatsOnNow=%chnr%:3|%progrt2s%:5| %time% %t_status%:8|%category%:6| %title% ~ %subtitle%:35
MenuWhatsOnNext=%chnr%:3|%time% %t_status%:8|%category%:8| %title% ~ %subtitle%:35
MenuWhatsOnElse=%chnr%:3|%time% %t_status%:8|%category%:8| %title% ~ %subtitle%:35
MenuSchedule=%time% %t_status%:8|%genre%:14| %title% ~ %subtitle%:35
MenuFavorites=%chnr%:3|%time%:6|%timespan%:7|%t_status%:14|%genre%:8| %title%%colon%%subtitle%:35
MenuSearchResults=%chnr%:3|%datesh% %time% %t_status%:14|%genre%:8| %title%%colon% %subtitle%:35
The entry 'MenuWhatsOnNow' instructs EPGSearch how to format a line for the menu 'Now'. The menu line starts with the channel number, followed by a progress bar in text2skin style, a single space, the start time, the timer status, the EPG category (like "movie") and, finally, the title and subtitle.
Furthermore, suppose the following entry gets added:
MenuSearchResultsTip of the Day=%chnr%:3|%time_w%:4|%t_status%:3|%genre%:10|%title%%colon% %subtitle%:35
This will result in an additional menu item 'Result menu layout' in the menu 'Edit search' that allows choosing between the menu's default template and own templates. For the example above, 'Tip of the Day' will be listed as additional option, since EPGSearch simply strips the prefix 'MenuSearchResults'. When displaying the search results, the chosen layout will be used instead of the default one.
You should adapt the column-width values to fit your needs, since the layout often depends on the selected skin.
Originally provided by Mike Constabel <epgsearch (at) constabel (dot) net>.
Revised and adapted to recent plugin features by the current maintainers.
The plugin is maintained as GitHub project:
<https://github.com/vdr-projects/vdr-plugin-epgsearch/>
Issues can be reported, and features be suggested, through the project's bug tracker:
<https://github.com/vdr-projects/vdr-plugin-epgsearch/issues/>
Copyright (C) 2004-2010 Christian Wieninger
Copyright © 2011-2025 TomJoad (VDR-Portal), et al.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Or, point your browser to <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
The original author can be reached via cwieninger@gmx.de.
Current maintainers can be reached via the project's GitHub site (see above).
The MD5 code has been derived from the MD5 Message-Digest Algorithm of RSA Data Security, Inc.
epgsearch(1), epgsearchcats.conf(5), epgsearchuservars.conf(5)