[mythtv-users] troubles with mythfilldatabase
Nils Clark-Bernhard
nils at n-cb.de
Sun May 2 13:52:39 EDT 2004
hi matthias,
the reason of tv_grab_de_tvtoday not worling is, that
tvtoday.de made some adjustmenst to their website.
xmltv mainly tries to 'read' the content from the webpages directly,
so any website design change will cause tv_grab_de_tvtoday to stop
working and you'll need an update.
your second problem regarding the channel numbers:
maybe you can find a page with a listing of
cable channels in vienna.
in germany the channels are called simply like '31' or 'SE4' and 'E10',
due to the different frequency ranges (UHF, VHF, ...).
u need these settings in the freqid-column of myth database, cannel table.
even if my xawtv-fiel is german, u can give it a try...
maybe that helps understanding it ...
nils
Matthias Meyer wrote:
> 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.
--
---------------------------------------------------
Nils Clark-Bernhard
Jablonskistr. 20
10405 Berlin
home: 030 - 24 03 20 67
mobile: 0179 - 24 05 765
mail: nils.clark-bernhard at n-cb.de
-------------- next part --------------
[global]
ratio = 4:3
freqtab = europe-west
pixsize = 128 x 96
pixcols = 1
jpeg-quality = 75
keypad-ntsc = no
keypad-partial = yes
osd = yes
osd-position = 30 , 20
use-wm-fullscreen = yes
# [Station name]
# capture = overlay | grabdisplay | on | off
# input = Television | Composite1 | S-Video | ...
# norm = PAL | NTSC | SECAM | ...
# channel = #
# fine = # (-128..+127)
# key = keysym | modifier+keysym
# color = #
# bright = #
# hue = #
# contrast = #
[defaults]
group = main
norm = PAL
input = Television
capture = over
color = 43%
bright = 44%
hue = 44%
contrast = 40%
[Arte]
channel = SE4
[3sat]
channel = SE9
[okk Berlin]
channel = SE8
[n-tv]
channel = SE5
[Kabel 1]
channel = SE6
[Spreekanal]
channel = SE10
[Home Shopping Europe]
channel = E5
[RBB Be]
channel = E6
[RBB Br]
channel = E7
[ZDF]
channel = E8
[SAT 1]
channel = E9
[ARD]
channel = E10
[RTL]
channel = E11
[QVC-Teleshopping]
channel = E12
[VOX]
channel = SE11
[CNN]
channel = SE12
[RTL 2]
channel = SE13
[BBC World]
channel = SE14
[ARD/ZDF Kinderkanal]
channel = SE15
[FAB]
channel = SE16
[Nord-3 (NDR/SFB/RB)]
channel = SE17
[MDR-3 Landesweit]
channel = SE18
[Phoenix]
channel = SE19
[PRO 7]
channel = SE20
[Super RTL]
channel = S21
[WDR-3 Landesweit]
channel = S22
[Deutsches Sportfernsehen]
channel = S23
[BR-3 Landesweit]
channel = S24
[N24]
channel = S25
[XXP]
channel = S35
[MTV]
channel = 21
[Eurosport]
channel = 22
[D1]
channel = 23
[VIVA 2]
channel = 24
[onyx.tv]
channel = 25
[VIVA]
channel = 26
[NBC Europe]
channel = 28
[MTV2]
channel = 29
[TRT-1]
channel = 30
[TVPolonia]
channel = 31
[TV5]
channel = 32
[EuroNews]
channel = 33
More information about the mythtv-users
mailing list