Results 1 to 1 of 1

Thread: Remove EPG

  1. #1
    Moderator abu baniaz's Avatar

    Join Date
    Sep 2010
    Location
    East London
    Posts
    15,156
    Thanks
    4,222
    Thanked 5,840 Times in 3,948 Posts

    Remove EPG

    On OpenVix image, you can remove old EPG data by doing the following:

    Menu / Setup / System / EPG / Load-Save-Delete / Delete EPG

    For some people this does not work, especially if they have mount issues. This plugin/script is to stop Enigma2, find all instances of EPG.dat and Crossepg folder and delete it/them. Thanks to Birdman for the assistance
    You will have to configure CrossEPG downloader again.

    ***DO NOT OPERATE WHEN RECORDINGS ARE TAKING PLACE***

    Please uninstall after using it to prevent accidental operation. Ideally I would have liked to add a prompt before executing.

    There is a plugin called system tools which does similar thing but not as thoroughly.


    For those interested, contents of script is:
    Code:
    #!/bin/sh
    # Find all relevant mount-points and delet epg
    #
    get_mounts() {
        mount | awk '$5 ~ "vfat|^ext" {print $3}'
    }
    
    echo "Receiver will stop, delete EPG and restart automatically"
    sleep 3
    init 4
    sleep 10
    rm -f /etc/enigma2/epg.dat
    for mp in `get_mounts`; do
        rm -f ${mp}/epg.dat  
        rm -rf ${mp}/crossepg
    done  
    init 3

    To install:
    Transfer to /tmp
    Blue > Vix > Install local extension > Select/highlight the ipk > Green button
    Attached Files Attached Files
    Last edited by abu baniaz; 14-03-17 at 21:35. Reason: Install instructions.

  2. The Following 6 Users Say Thank You to abu baniaz For This Useful Post:

    Andy_Hazza (10-12-16),Bangord30 (16-08-16),Sicilian (21-08-16),twol (16-08-16),TypeR (04-03-17),Valiant (17-08-16)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •