Linux - No EPG in Gotham

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #1
I have compiled vdr and vnsiserver as desribed in the thread "How to compile vdr + vnsiserver from source" in this forum.
Worked OK and I now have vdr 2.1.6 and the corresponding vnsiserver.
I have installed XBMC and the vnsi client (1.9.8) from https://launchpad.net/~team-xbmc/+archive/ppa ppa:team-xbmc/ppa today
so I assume this is the Gotham release version.
I have scanned for channels using w_scan and copied the channellist into /var/vdr/channels.conf

Everything seems to be running fine apart from the EPG which is empty.
"Do not store the EPG in the database" option is checked in XMBC settings. The epg.data file in /var/vdr
is still empty after many hours, but the timestamp is updated every 10 mins. The epg is present in the transport stream because when tuning to one of the
the transponders using VLC, epg data is shown.
I am using Ubuntu 12.04.4 with 3.2.0-61 kernel and have a dvb-t tuner.

I also have a openelec 3.2.0 computer (frodo) where the epg behaves as expected. The xbmc settings are almost identical.
Are there any changes between frodo and gotham when it comes to the epg ?
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #2
have you granted write permissions to the vdr user to /var/vdr ? who is the owner of epg.data? does the vdr user have write access to this file?
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #3
I am running vdr as user "ivar" who is member of the video group

ivar@ivar-GA-MA785GMT-UD2H:~$ groups ivar
ivar : ivar adm dialout cdrom sudo dip video plugdev lpadmin sambashare

Access rights in /var/vdr:

ivar@ivar-GA-MA785GMT-UD2H:~$ ls -al /var/vdr
total 44
drwxrwxr-x 4 root video 4096 May 10 16:10 .
drwxr-xr-x 14 root root 4096 May 10 00:18 ..
-rw-rw-r-- 1 ivar ivar 4368 May 10 16:09 channels.conf
-rw-rw-rw- 1 ivar video 3833 May 9 15:00 diseqc.conf
-rw-rw-r-- 1 ivar ivar 0 May 10 16:10 epg.data
drwxrwxr-x 3 ivar ivar 4096 May 9 15:02 plugins
-rw-rw-r-- 1 ivar ivar 2057 May 9 23:55 setup.conf
-rw-rw-r-- 1 ivar ivar 3926 May 9 16:18 sources.conf
-rw-rw-r-- 1 ivar ivar 442 May 9 15:00 svdrphosts.conf
drwxrwxr-x 2 ivar ivar 4096 May 9 16:01 themes
-rw-rw-r-- 1 ivar ivar 0 May 10 16:09 timers.conf
-rw-rw-rw- 1 ivar ivar 38 May 9 15:41 vdr.log
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #4
Quote:Are there any changes between frodo and gotham when it comes to the epg ?

vnsi has nothing to do with epg.data. this is vdr only. how do you start vdr? maybe you have accidently disable epg by a command line parameter.
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #5
I have modified the template as described in your post

The block in runvdr is slightly modified (log level and video directory)

VDRPRG="/usr/local/bin/vdr"
VDRCMD="$VDRPRG -w 60 -c /var/vdr -E /var/vdr -l 3 --video=/home/ivar/Videos --localedir=/usr/share/locale -P'vnsiserver -t 5' $*"
export VDR_CHARSET_OVERRIDE="ISO-8859-15"
export LANG="de_DE.UTF-8"

I have not automated the startup but start from the command line with:
su -c /usr/local/bin/runvdr ivar
Then I am asked for my password
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #6
looks all normal. could you post syslog? maybe there is something of interest.
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #7
The complete syslog from this morning:

http://pastebin.com/Sb25sZWv
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #8
May 11 12:52:25 ivar-GA-MA785GMT-UD2H vdr: [2243] remote control KBD - learning keys
May 11 12:52:25 ivar-GA-MA785GMT-UD2H vdr: [2251] KBD remote control thread started (pid=2243, tid=2251, prio=high)

maybe vdr waits until the remote is configured before doing anything epg related. could you try building vdr with NO_KBD=1
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #9
you can also just add --no-kbd as a command line switch
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #10
I did:

make clean
make NO_KBD=1
sudo make install

and restarted

Probably successful because the KBD lines in syslog have disappeared. But epg.data is still empty (after 20 mins)
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #11
Think I should mention that that I have just installed openelec 4.0.0 (gotham) on a pendrive on the the same computer that
has run oe 3.2.0 successfully for a while now. I am experiencing the same problem on the new oe version. Everything works fine except
epg.data which is empty. I noticed from the logs that oe 4.0.0 also uses vdr 2.1.6.

It's a mystery
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #12
I have now repeated the installation procedure on a fresh install of unbuntu 14.04.
Problem persists. epg.data does not fill up but the file timestamp is updated every 10 mins. (when the epg writer thread runs)

What are my alternatives for getting a working vdr/vnsiserver for Gotham ?
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #13
I would try an older version of vdr. Go to vdr source directory and type:

git checkout vdr-2.0.0
make clean
make
find quote
Terrafox Offline
Junior Member
Posts: 13
Joined: Dec 2009
Reputation: 0
Post: #14
Great tip!. Thanks

vdr 2.0.0 works fine. Downgraded to 2.0.6 a couple of days ago, but the problem was still there.
looks like the problem was introduced sometime between these two versions.
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,425
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #15
One thing you could try with 2.1.6: changing command line parameters of vdr from -E /var/vdr to an absolute path including filename, i.e.
--epgfile=/var/vdr/epg.data
find quote
Post Reply