Project

General

Profile

Clear all epg data

Added by piotr w almost 7 years ago

Hi,

How do I clear all epg data ? Especially all the epg-sources in the attached picture.


Replies (7)

RE: Clear all epg data - Added by Prof Yaffle almost 7 years ago

To delete the EPG sources, try a 'bulk edit' - select all the channels, click the Edit button, make sure the EPG source field is clear, select the tick box next to it and save. Should work (I've not tried, though).

To delete the EPG data, stop tvheadend and delete the file epgdb.v2 in /home/hts/.hts/tvheadend (dependent on distro and how you're running tvheadend, of course).

RE: Clear all epg data - Added by piotr w almost 7 years ago

Thanks for the reply. Tried it.

"bulk edit" clears the selection, does not delete the epg-sources
deleting the .db clears the epg but still leaves all epg-sources in the dropdown-list (see pic in 1st post)
deleting all services and re-adding them: still seeing all old epg-sources

When you experiment with different epg-sources you end up with multiple (obsolete) epg-sources in the "edit channel" epg dropdown-list.

RE: Clear all epg data - Added by Prof Yaffle almost 7 years ago

MMm, just tested - you're right, once you have an EPG entry defined, it seems it has to stay - you can't deselect it. If you remove the check box on the one EPG, it re-appears when you save; if you select a different one, it simply replaces the first. The behaviour is the same on a bulk edit and a single (in-cell) edit.

The only quick way I just found to remove the EPG from the channel is to delete the channel and re-map it.

Might be a bug... might be intended functionality. It's perhaps worth raising an issue on the issue tracker?

RE: Clear all epg data - Added by Mark Clarkstone almost 7 years ago

piotr w wrote:

Hi,

How do I clear all epg data ? Especially all the epg-sources in the attached picture.

Disable the wg++ grabber & they should disappear or delete the guide.xml

RE: Clear all epg data - Added by piotr w almost 7 years ago

Tried both options, EPG sources are still there.

RE: Clear all epg data - Added by Michael Donet almost 7 years ago

/home/hts/.hts/tvheadend/epggrab/xmltv/channels

RE: Clear all epg data - Added by piotr w almost 7 years ago

thnx ! That worked.

    (1-7/7)