<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I am curious as to why running tv_grab_nz-py does not load listings
where I can see them, yet is repored in a status report to have
succeeded.<br>
<br>
<br>
<br>
<br>
On 23/01/12 16:10, Paulgir wrote:
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap="">TO be sure this is the script I used...
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>STARTS
<span class="moz-txt-citetags">> </span>#! /bin/bash
<span class="moz-txt-citetags">> </span>wget <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://nzepg.org/freeview.xml.gz">http://nzepg.org/freeview.xml.gz</a>
<span class="moz-txt-citetags">> </span>gunzip freeview.xml.gz
<span class="moz-txt-citetags">> </span>mythfilldatabase --file 1 freeview.xml --update
<span class="moz-txt-citetags">> </span>rm freeview.xml
<span class="moz-txt-citetags">> </span>exit
<span class="moz-txt-citetags">> </span>STOPS
<span class="moz-txt-citetags">></span>
</pre>
</blockquote>
</blockquote>
[snip]<br>
<span class="moz-txt-citetags"></span><br>
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>FYI here is the output of the script...
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>$ ./updateEPG.sh
<span class="moz-txt-citetags">> </span>--2012-01-23 12:56:48-- <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://nzepg.org/freeview.xml.gz">http://nzepg.org/freeview.xml.gz</a>
<span class="moz-txt-citetags">> </span>Resolving nzepg.org... 74.207.253.88
<span class="moz-txt-citetags">> </span>Connecting to nzepg.org|74.207.253.88|:80... connected.
<span class="moz-txt-citetags">> </span>HTTP request sent, awaiting response... 200 OK
<span class="moz-txt-citetags">> </span>Length: 197214 (193K) [application/x-gzip]
<span class="moz-txt-citetags">> </span>Saving to: `freeview.xml.gz'
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>100%[======================================>] 197,214 148K/s in
<span class="moz-txt-citetags">> </span>1.3s
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:51 (148 KB/s) - `freeview.xml.gz' saved [197214/197214]
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.665 Bypassing grabbers, reading directly from file
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.678 Using runtime prefix = /usr
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.678 Using configuration directory =
<span class="moz-txt-citetags">> </span><i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/lounge<span class="moz-txt-tag">/</span></i>.mythtv
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.713 Empty LocalHostName.
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.713 Using localhost value of mythdu
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.757 New DB connection, total: 1
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.762 Connected to database 'mythconverg' at host:
<span class="moz-txt-citetags">> </span>localhost
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.786 Closing DB connection named 'DBManager0'
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.787 Connected to database 'mythconverg' at host:
<span class="moz-txt-citetags">> </span>localhost
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.790 Current locale en_NZ
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.812 No locale defaults file for en_NZ, skipping
</pre>
</blockquote>
</blockquote>
<br>
<br>
Is this an important error? I expect this is unimportant<br>
<br>
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.847 Loading en_us translation for module mythfrontend
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:52.871 Current MythTV Schema Version (DBSchemaVer): 1264
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:53.198 New DB connection, total: 2
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:53.198 Connected to database 'mythconverg' at host:
<span class="moz-txt-citetags">> </span>localhost
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:53.752 IconData: Updating icons for sourceid: 1
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:53.891 New DB connection, total: 3
<span class="moz-txt-citetags">> </span>2012-01-23 12:56:53.891 Connected to database 'mythconverg' at host:
<span class="moz-txt-citetags">> </span>localhost
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.414 Updated programs: 749 Unchanged programs: 2498
</pre>
</blockquote>
</blockquote>
<br>
Here it seems the process is actually loading data. There are 3,250
ish programmes....<br>
<br>
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.448 Adjusting program database end times.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.527 0 replacements made
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.527 Marking generic episodes.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.568 Found 111
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.568 Fudging non-unique programids with multiple
<span class="moz-txt-citetags">> </span>parts.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.579 Found 0
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.579 Marking repeats.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.612 Found 0
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.612 Unmarking new episode rebroadcast repeats.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.616 Found 0
</pre>
</blockquote>
</blockquote>
<br>
0 repeats? That does not seem right.<br>
<br>
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>2012-01-23 12:57:03.723 Marking episode first showings.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:05.311 Found 1416
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:05.312 Marking episode last showings.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:06.880 Found 1416
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:06.883
</pre>
</blockquote>
</blockquote>
<br>
1,416 first episodes, that does not seem right.<br>
<br>
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>===============================================================
<span class="moz-txt-citetags">> </span>| Attempting to contact the master backend for rescheduling. |
<span class="moz-txt-citetags">> </span>| If the master is not running, rescheduling will happen when |
<span class="moz-txt-citetags">> </span>| the master backend is restarted. |
<span class="moz-txt-citetags">> </span>===============================================================
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:06.890 MythCoreContext: Connecting to backend server:
<span class="moz-txt-citetags">> </span>192.168.1.14:6543 (try 1 of 1)
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:06.892 Using protocol version 63
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:07.126 Received a remote 'Clear Cache' request
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:08.125 mythfilldatabase run complete.
<span class="moz-txt-citetags">> </span>2012-01-23 12:57:08.140 DataDirect: Deleting temporary files
<span class="moz-txt-citetags">></span>
</pre>
</blockquote>
</blockquote>
<br>
How do I access the MySQL database? I expect the problem lies in my
settings in MythTV and there is a database full of programme
listings.<br>
<br>
cheers<br>
Worik<br>
<br>
<br>
<blockquote cite="mid:op.v8iogi09w14o5f@ubuntu" type="cite">
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""></pre>
</blockquote>
<pre wrap="">I ran the script in terminal and got a similar result but with these lines
for every channel:
"2012-01-23 15:33:20.500 Unknown xmltv channel identifier:
c4.freeviewnz.tv - Skipping channel."
I'll have to sort out the identifiers to get it to work.
Thanks for the help
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Foo!</pre>
</body>
</html>