Project

General

Profile

Actions

Bug #1800

closed

Bug #1774: Channel mapping to EPG grab source disappears

XMLTV / EPG Grab Source empty after reboot / start-stop of TVH

Added by Cedric Kastner over 11 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG - Grabbers
Target version:
-
Start date:
2013-09-24
Due date:
% Done:

0%

Estimated time:
Found in version:
3.4.27
Affected Versions:

Description

Hi all,

it seems TVH is losing the assigned EPG Gab Source from channels after a reboot.

How to reproduce:

1. Setup an XMLTV Internal Grab Source
2. Wait until TVH has loaded the XMLTV data
3. Go to channels and assign EPG Grab source for any channel
4. Reboot machine or TVH with start-stop-script
5. EPG Grab Source is now empty, all assignments are gone, no more EPG data after a while

It for sure happens when TVH starts up with XML Internal Grab Source set, not when TVH is shutting down. Analysis I've done so far:

1. When XMLTV file was read by TVH the following folder structure is being created:

NAS> pwd
/volume1/@appstore/tvheadend/var/epggrab/xmltv/channels/www.timefor.tv/tv
NAS> ls -la
-rwx------    1 tvheaden root           132 Sep 24 09:25 11245
-rwx------    1 tvheaden root           106 Sep 24 09:24 11264
-rwx------    1 tvheaden root           108 Jul 26 06:02 11367
-rwx------    1 tvheaden root           102 Jul 26 06:02 11382
-rwx------    1 tvheaden root            95 Sep 24 09:24 11390
...

2. When EPG Grab Source is not set in the webif all files looks like this:

NAS> cat 11245
{
    "name": "Das Erste HD DE DE",
    "icon": "http://static.timefor.tv/imgs/epg/logos/daserstehd_de_big.png",
}

3. When EPG Grab Source is assigned via webif the file now looks like this:

NAS> cat 11245
{
    "name": "Das Erste HD DE DE",
    "icon": "http://static.timefor.tv/imgs/epg/logos/daserstehd_de_big.png",
    "channels": [
        66
    ]
}

4. When TVH gets shut down, the file content remains the same, assignment between channel and XMLTV source seems to be okay.

5. When TVH starts up, the channel assignment for that file is gone. Looks like an overwrite / missing condition for me when TVH starts up, loads the XMLTV and checks for EPG grab source. It's really annoying.

Cheers,
nurtext

Actions

Also available in: Atom PDF