gentoo-vdr-scripts and --epgfile default value

  • I had some problems getting epg information for the whole week when I switched from a dvb-t to dvb-s2 system.


    What I found out was that no epg.data file was created and hence the epg information collected would not persist between restarts of vdr. It appears as if the default value used for --epgfile is -E-.


    According to Klaus in this mail thread:
    http://www.linuxtv.org/pipermail/vdr/2013-March/027481.html
    The -E- does disable the creation of the epg data file completely.


    The file /etc/conf.d/vdr contains the following help text:

    Code
    # VDR write the EPG default in the CACHEDIR
    # overwrite this with following (no good idea)
    # write the EPG data into the given FILE; use '-E-' to disable this
    # if FILE is a directory, the default EPG file will be
    # created in that directory
    #   allowed values: -E-, file/directory names
    #   default: -E-
    #EPGFILE="-E-"


    Is the intended idea that by default there will be no epg.data file created? If thats the case I would expect it to be a good idea to overwrite the value of the EPGFILE contrary to the suggestion in the help that its a "no good idea"


    In my opinion a more userfriendly solution would be to skip passing the --epgfile parameter to vdr if EPGFILE is not defined. E.g. changing the line

    Code
    add_param "--epgfile=${EPGFILE:--E-}"


    to

    Code
    [ -n "${EPGFILE}" ] && add_param "--epgfile=${EPGFILE}"


    in file /usr/share/vdr/rcscript/pre-start-30-parameter.sh


    - Magnus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!