Ticket #1943: mythtv-israel.grab

File mythtv-israel.grab, 1.1 KB (added by anonymous, 18 years ago)

patch to support tv_grab_il

Line 
1--- mythtv/programs/mythfilldatabase/filldata.cpp       2006-06-12 09:19:24.000000000 +0300
2+++ mythtv/programs/mythfilldatabase/filldata.cpp.ISRAEL        2006-06-12 09:35:28.000000000 +0300
3@@ -2689,6 +2689,11 @@
4         command.sprintf("nice %s --output %s",
5                         xmltv_grabber.ascii(),
6                         filename.ascii());
7+    else if (xmltv_grabber == "tv_grab_il")
8+        // Israeli grabber returns all known data by default
9+        command.sprintf("nice %s --config-file '%s' --output %s",
10+                        xmltv_grabber.ascii(), configfile.ascii(),
11+                        filename.ascii());
12     else
13     {
14         isNorthAmerica = true;
15--- mythtv/libs/libmythtv/videosource.cpp       2006-06-12 09:18:26.000000000 +0300
16+++ mythtv/libs/libmythtv/videosource.cpp.ISRAEL        2006-06-12 09:29:15.000000000 +0300
17@@ -901,6 +901,9 @@
18 
19     addTarget("tv_grab_cz", new XMLTV_generic_config(parent, "tv_grab_cz"));
20     grabber->addSelection("Czech Republic", "tv_grab_cz");
21+
22+    addTarget("tv_grab_il", new XMLTV_generic_config(parent, "tv_grab_il"));
23+    grabber->addSelection("Israel", "tv_grab_il");
24 }
25 
26 VideoSource::VideoSource()