summaryrefslogtreecommitdiff
blob: d14b2f80075ec518c2c2eb652ad9bb474619b3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-tvguide/files/rc-addon.sh,v 1.2 2014/02/01 19:39:34 idl0r Exp $

plugin_pre_vdr_start() {
	if [ -n "${TVGUIDE_EPGIMAGESPATH}" ]; then
		add_plugin_param "-e ${TVGUIDE_EPGIMAGESPATH}"
	fi

	if [ -n "${TVGUIDE_ICONSPATH}" ]; then
		add_plugin_param "-i ${TVGUIDE_ICONSPATH}"
	fi

	if [ -n "${TVGUIDE_LOGOPATH}" ]; then
		add_plugin_param "-l ${TVGUIDE_LOGOPATH}"
	fi
}