[mythtv-users] troubles with mythfilldatabase

Matthias Meyer Matthias.Meyer at gmx.li
Sun May 2 10:14:16 EDT 2004


Am Samstag, 1. Mai 2004 13:37 schrieb Nils Clark-Bernhard:
> hi matthias,
>
> how about running xawtv first and set that up correctly,
> maybe by using scantv from the current xawtv-version,
>
> and then doing
> mythfilldatabase --xawchannels 1 /home/yourhomefolder/.xawtv
>
> but anyway, if you read the c't
>
> kann ich es dir auch gerne auf deutsch erklären ....
> hast du die aktuelle version von xmltv installiert?
>
> es gibt zur zeit nämlich keine automatisierung für die richtigen
> kanaleinstellungen, das muss man quasi hinterher von hand machen.
>
> die aktuelle version von xmltv liefert ein perl-skript mit,
> dass die daten von der tvtoday-seite ausliest (du brauchst also auch
> noch eine laufende internet-verbindung)
>
> meine vorgehensweise war folgende:
> mit der neen xmltv-version!
>
>  > tv_grab_de_tvtoday --configure
>
> -> damit wird die eine konfiguration geschrieben für xmltv, das von
> mythfilldatabase verwendet wird
>
>  > dann hab ich mir die .xawtv-datei aus meinem homeverzeichnis
>
> vorgeknöpft und über phpmyadmin die kanal-einstellungen (SE4 ...) in
> die spalte freqid eingefügt.
>
> probier es mal so rum
>
> gruss, nils
>
Thank for this hint. Yes, I am german. But maybee it is not fair to the 
other users to speak another language as english.
Therfore let speak english :-)

Ok, I have version 0.5.31-3 of xmltv. I found 0.5.32 on there website but I 
do not use it because my "apt-get install" will not use it.
See the following listing of my work:

>su mythtv; cd $HOME
>vdr:~$ tv_grab_de_tvtoday --configure
using config filename /home/mythtv/.xmltv/tv_grab_de_tvtoday.conf
The configuration file /home/mythtv/.xmltv/tv_grab_de_tvtoday.conf already 
exists.  There is
currently no support for altering an existing configuration: you have
to reconfigure from scratch.

Do you wish to overwrite the old configuration? [yes,no (default=no)] yes
add channel 3SAT? [yes,no,all,none (default=yes)] all
add channel FRANCE 2? yes
<<<snipp>>>
add channel ZDF THEATER? yes
Finished configuration.
>vdr:~$ tv_grab_de_tvtoday --output .xmltv/.xawtv
using config filename /home/mythtv/.xmltv/tv_grab_de_tvtoday.conf
grabbing channel 3SAT (Sun, 2004-05-02) ...
Died at /usr/bin/tv_grab_de_tvtoday line 504.

Therefore I try:
>vdr:~$ tv_grab_de_tvtoday
vdr:~$ tv_grab_de_tvtoday
using config filename /home/mythtv/.xmltv/tv_grab_de_tvtoday.conf
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-url="http://www.tvtoday.de/" 
source-data-url="http://www.tvtoday.de/tv/programm/programm.php" 
generator-info-name="tv_grab_de_tvtoday">
  <channel id="C3sat.de">
    <display-name lang="de">3SAT</display-name>
  </channel>
<<<snipp>>>
<channel id="theater.tvtoday.de">
    <display-name lang="de">ZDF THEATER</display-name>
  </channel>

  <programme start="20040502002500 +0200" channel="C3sat.de">
    <title lang="de">Paul McCartney - Back in the U.S.</title>
    <date>2002</date>
    <category lang="de">Konzertaufzeichnung</category>
    <country lang="de">USA</country>
Died at /usr/bin/tv_grab_de_tvtoday line 504.

I have a look at the .xmltv/.xawtv to change the freqid as descriped by you:
>vdr:~$ cat .xmltv/.xawtv
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-url="http://www.tvtoday.de/" 
source-data-url="http://www.tvtoday.de/tv/programm/programm.php" 
generator-info-name="tv_grab_de_tvtoday">
  <channel id="C3sat.de">
    <display-name lang="de">3SAT</display-name>
  </channel>
<<<snipp>>>
  <channel id="theater.tvtoday.de">
    <display-name lang="de">ZDF THEATER</display-name>
  </channel>
  <programme start="20040502002500 +0200" channel="C3sat.de">
    <title lang="de">Paul McCartney - Back in the U.S.</title>
    <date>2002</date>
    <category lang="de">Konzertaufzeichnung</category>
    <country lang="de">USA</country>
There is no column called "freqid" where I can change the channel-number. 
Should I change the value of "channel id"?

Nevertheless I try:
vdr:~$ mythfilldatabase --xawchannels 1 .xmltv/.xawtv
### reading channels from xawtv configfile
Adjusting program database end times...
0 replacements made.

And in mythtv in the System status I get the same message as before.
 Myth version: 0.14.20040123-1
 Letzte Aktualisierung des TV Programms:
   Gestarted:  2004-05-01 09:49
   Status: FAILED: xmltv returned error
 code 32512. Keine Programminformationen
 verfügbar!

Do you have an Idea?
Anyone else have an Idea?
Maybee someone can send me his .xawtv. I know the channel-numbers of my 
provider (Telekabel in vienna/austria). Therefore I can edit the file and 
replace the correct channel numbers.
-- 
no panic



More information about the mythtv-users mailing list