[mythtv-users] xmltv: tv_grab_de

Joachim Gehweiler post at joachim-gehweiler.de
Wed Oct 22 14:07:29 EDT 2003


Hi,

I'm also using tvmoviefetch; I attached the two configfiles, I had to 
change (adapted to Cable-TV by ish, Bielefeld, NRW, Germany - but it 
probably looks very similar for other German cities).

Running ./fetchdata.py produces /home/mythtv/all.xmltv, afterwards, you 
have to run

mythfilldatabase --file 1 -1 all.xmltv

(which does NOT overwrite your frequency settings - at least, it did not 
in my case...)

after the first filldatabase, you manually have to enter "channum" and 
"freqid" (but have to do it only once).

I also attach a mysql data-dump of the channel table, but this will most 
probably be useful ONLY for Cable-TV by ish, Bielefeld, NRW, Germany.


Indeed, as you said, one disadvantage are the long descriptions that 
don't display well.

If you have made any experiences with these other two scripts you talked 
about, please let me know.

BTW: Where is this script by Lars Heer available?

Best,
   Joachim


Torsten Schenkel wrote:
> On Wed, 2003-10-22 at 10:25, Christian Schlaefcke wrote:
> 
>>>Hi,
>>>
>>>try also this one:
>>>Alternate setup program for MythTV and listings grabber for
>>>Germany: Ben Bucksch, http://www.bucksch.com/1/projects/various/mythtv/
>>
>>Looks promising, I´ll give it a try.
> 
> 
> It works, I had to disable syntax-checking (last option in config.py).
> 
> There are two scripts by Lars Heer: One to do a manual channel search,
> one to retrieve listings from prisma-online. I had those working very
> nice in the beginning.
> 
> Pro Lars's Tv-Listing: Short descriptions
> Pro TvMovie: Long descriptions :-)
> 
> Long discriptions don't display well in the advanced recordings screen
> in mythTV (they mess up the layout, no scrolling). They do display very
> nice in mythWeb though, so I don't have to buy the a TV-Guide anymore.
> 
> When using the buksch script you have to do the channel setup yourself,
> buksch has some setup tool for mythTV that's supposed to do that, so you
> might give it a try.
> 
> There also is the possibility to import xawtv channel files.
> 
> mythfilldatabase --help
> 
> look at option --xawchannels and --file
> 
> Good Luck,
> 
> Torsten
> 
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
download_days = 8;
# Get program for that many days, starting from (incl.) today.
# Don't use more days than the provider has online, or you'll produce errors.
# Can be overridden using --days param.

baseurl = "http://tvmovie.kunde.serverflex.info/onlinedata/xml-gz/";
# baseurl: where to get the data from. With trailing /, if necessary

datadir = "/home/mythtv/xmltv/";
# Where to put the downloaded and temporary files.
# Must only be writable by the account running this app and trusted users.

outfile = "/home/mythtv/all.xmltv";
# the resulting xmltv file with all days, relative to data dir.
# Can be overridden using --output param.

instdir = "/home/mythtv/tvmoviefetch/";
# where this file is; with trailing /

imagebaseurl = "http://www.tvtv.de/epg_fp/sender_images/";
# for channel icons

logfile = "fetchdata.log";

check_wellformed = 0;
# Set to 0, if you don't want to install qtxmlcheck or it is too slow for you.
# Note that later apps may then bail, if there are any errors in any file, and
# not process any of the output.
-------------- next part --------------
channels = {}; #dict (=mapping) of tuples (=const arrays)

#channels["ard.de"]                   # RFC 2838
#                   = ("ARD",         # Bezeichnung am Frontend, für Benutzer
#                      "001",         # Kennung, die in der URL verwendet wird
#                                     # im Beispiel: 20000615_001.xml.gz
#                      "ard.gif");    # Logo

channels["ard.de"] = ("ARD", "001", "ard.gif");
channels["zdf.de"] = ("ZDF", "002", "zdf.gif");
channels["rtl.de"] = ("RTL", "004", "rtl.gif");
channels["sat1.de"] = ("Sat 1", "005", "sat1.gif");
channels["prosieben.de"] = ("Pro 7", "006", "pro7.gif");
channels["rtl2.de"] = ("RTL 2", "009", "rtl2.gif");
channels["kabel1.de"] = ("Kabel 1", "008", "kabel.gif");
channels["vox.de"] = ("VOX", "011", "vox.gif");
channels["wdr.de"] = ("WDR", "028", "wdr.gif");
channels["ndr.de"] = ("Nord 3", "019", "ndr.gif");
channels["3sat.de"] = ("3sat", "118", "3sat.gif");
channels["mdr.de"] = ("MDR", "032", "mdr.gif");
channels["superrtl.de"] = ("Super RTL", "179", "superrtl.gif");
channels["kika.de"] = ("Ki.Ka", "063", "kika.gif");
channels["arte-tv.com"] = ("arte", "010", "arte.gif");
channels["dsf.com"] = ("DSF", "012", "dsf.gif");
channels["eurosport.de"] = ("EuroSport", "107", "eurosport.gif");
channels["hr-online.de"] = ("Hessen 3", "026", "hr.gif");
channels["3.br-online.de"] = ("Bayern 3", "018", "br.gif");
channels["viva.tv"] = ("VIVA", "121", "viva.gif");
channels["viva2.de"] = ("VIVA 2", "181", "viva2.gif");
channels["mtv.de"] = ("MTV", "109", "mtv.gif");
channels["phoenix.de"] = ("Phoenix", "206", "phoenix.gif");
channels["n-tv.de"] = ("n-tv", "007", "ntv.gif");
channels["n24.de"] = ("N24", "065", "n24.gif");
-------------- next part --------------
# phpMyAdmin MySQL-Dump
# version 2.2.3
# http://phpwizard.net/phpMyAdmin/
# http://phpmyadmin.sourceforge.net/ (download page)
#
# Host: localhost
# Erstellungszeit: 18. Okt 2003 um 23:34
# Server Version: 3.23.58
# PHP Version: 4.2.2
# Datenbank : `mythconverg`

#
# Daten für Tabelle `channel`
#

INSERT INTO `channel` (`chanid`, `channum`, `freqid`, `sourceid`, `callsign`, `name`, `icon`, `finetune`, `videofilters`, `xmltvid`, `rank`, `contrast`, `brightness`, `colour`, `hue`) VALUES (1003, '17', 'SE8', 1, 'arte', 'arte', '/home/mythtv/.mythtv/channels/arte.gif', NULL, NULL, 'arte-tv.com', 0, 32768, 32768, 32768, 32768),
(1004, '6', 'E3', 1, 'NDR', 'Nord 3', '/home/mythtv/.mythtv/channels/ndr.gif', NULL, NULL, 'ndr.de', 0, 32768, 32768, 32768, 32768),
(1006, '10', 'S22', 1, 'Sup. RTL', 'Super RTL', '/home/mythtv/.mythtv/channels/superrtl.gif', NULL, NULL, 'superrtl.de', 0, 32768, 32768, 32768, 32768),
(1008, '26', 'SE14', 1, 'EuroSp.', 'EuroSport', '/home/mythtv/.mythtv/channels/eurosport.gif', NULL, NULL, 'eurosport.de', 0, 32768, 32768, 32768, 32768),
(1009, '16', 'E12', 1, 'VOX', 'VOX', '/home/mythtv/.mythtv/channels/vox.gif', NULL, NULL, 'vox.de', 0, 32768, 32768, 32768, 32768),
(1011, '13', 'E7', 1, 'Sat 1', 'Sat 1', '/home/mythtv/.mythtv/channels/sat1.gif', NULL, NULL, 'sat1.de', 0, 32768, 32768, 32768, 32768),
(1014, '3', 'E6', 1, 'WDR', 'WDR', '/home/mythtv/.mythtv/channels/wdr.gif', NULL, NULL, 'wdr.de', 0, 32768, 32768, 32768, 32768),
(1018, '23', 'SE20', 1, 'VIVA 2', 'VIVA 2', '/home/mythtv/.mythtv/channels/viva2.gif', NULL, NULL, 'viva2.de', 0, 32768, 32768, 32768, 32768),
(1019, '12', 'SE17', 1, 'Pro 7', 'Pro 7', '/home/mythtv/.mythtv/channels/pro7.gif', NULL, NULL, 'prosieben.de', 0, 32768, 32768, 32768, 32768),
(1023, '22', 'SE11', 1, 'VIVA', 'VIVA', '/home/mythtv/.mythtv/channels/viva.gif', NULL, NULL, 'viva.tv', 0, 32768, 32768, 32768, 32768),
(1027, '9', 'SE18', 1, 'RTL II', 'RTL 2', '/home/mythtv/.mythtv/channels/rtl2.gif', NULL, NULL, 'rtl2.de', 0, 32768, 32768, 32768, 32768),
(1034, '14', 'E10', 1, '3sat', '3sat', '/home/mythtv/.mythtv/channels/3sat.gif', NULL, NULL, '3sat.de', 0, 32768, 32768, 32768, 32768),
(1040, '19', 'SE5', 1, 'N24', 'N24', '/home/mythtv/.mythtv/channels/n24.gif', NULL, NULL, 'n24.de', 0, 32768, 32768, 32768, 32768),
(1042, '8', 'E9', 1, 'RTL', 'RTL', '/home/mythtv/.mythtv/channels/rtl.gif', NULL, NULL, 'rtl.de', 0, 32768, 32768, 32768, 32768),
(1044, '2', 'E4', 1, 'ZDF', 'ZDF', '/home/mythtv/.mythtv/channels/zdf.gif', NULL, NULL, 'zdf.de', 0, 32768, 32768, 32768, 32768),
(1045, '24', 'SE10', 1, 'MTV', 'MTV', '/home/mythtv/.mythtv/channels/mtv.gif', NULL, NULL, 'mtv.de', 0, 32768, 32768, 32768, 32768),
(1047, '21', 'SE19', 1, 'Phoenix', 'Phoenix', '/home/mythtv/.mythtv/channels/phoenix.gif', NULL, NULL, 'phoenix.de', 0, 32768, 32768, 32768, 32768),
(1049, '1', 'E2', 1, 'ARD', 'ARD', '/home/mythtv/.mythtv/channels/ard.gif', NULL, NULL, 'ard.de', 0, 32768, 32768, 32768, 32768),
(1054, '27', 'SE13', 1, 'DSF', 'DSF', '/home/mythtv/.mythtv/channels/dsf.gif', NULL, NULL, 'dsf.com', 0, 32768, 32768, 32768, 32768),
(1059, '15', 'SE15', 1, 'Kabel 1', 'Kabel 1', '/home/mythtv/.mythtv/channels/kabel.gif', NULL, NULL, 'kabel1.de', 0, 32768, 32768, 32768, 32768),
(1063, '7', 'SE7', 1, 'mdr', 'MDR', '/home/mythtv/.mythtv/channels/mdr.gif', NULL, NULL, 'mdr.de', 0, 32768, 32768, 32768, 32768),
(1065, '4', 'SE16', 1, 'BR', 'Bayern 3', '/home/mythtv/.mythtv/channels/br.gif', NULL, NULL, '3.br-online.de', 0, 32768, 32768, 32768, 32768),
(1066, '5', 'SE12', 1, 'hr', 'Hessen 3', '/home/mythtv/.mythtv/channels/hr.gif', NULL, NULL, 'hr-online.de', 0, 32768, 32768, 32768, 32768),
(1067, '18', 'SE8', 1, 'Ki.Ka', 'Ki.Ka', '/home/mythtv/.mythtv/channels/kika.gif', NULL, NULL, 'kika.de', 0, 32768, 32768, 32768, 32768),
(1075, '20', 'SE9', 1, 'n-tv', 'n-tv', '/home/mythtv/.mythtv/channels/ntv.gif', NULL, NULL, 'n-tv.de', 0, 32768, 32768, 32768, 32768);



More information about the mythtv-users mailing list