[mythtvnz] tv_grab_nz-py set up

Curtis Walker sultanoswing at gmail.com
Mon Jan 23 05:14:29 GMT 2012


On 23 January 2012 12:58, Worik Stanton <worik.stanton at gmail.com> wrote:
>
>> I put the script in the Home directory and executed it manually.
>> Didn't see any effect on the schedule.
> I did the same.
>
> TO be sure this is the script I used...
>
>
> STARTS
> #! /bin/bash
> wget http://nzepg.org/freeview.xml.gz
> gunzip freeview.xml.gz
> mythfilldatabase --file 1 freeview.xml --update
> rm freeview.xml
> exit
> STOPS
>
> I see no schedule information.  But the 'mythweb/status' page says:
>
> Last mythfilldatabase run started on 2012-01-22 12:10:12 and ended on
> 2012-01-22 12:10:31. Successful.
> There's guide data until 2012-01-29 19:00 (6 days).
>
> FYI here is the output of the script...
>
> $ ./updateEPG.sh
> --2012-01-23 12:56:48--  http://nzepg.org/freeview.xml.gz
> Resolving nzepg.org... 74.207.253.88
> Connecting to nzepg.org|74.207.253.88|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 197214 (193K) [application/x-gzip]
> Saving to: `freeview.xml.gz'
>
> 100%[======================================>] 197,214      148K/s   in 1.3s
>
> 2012-01-23 12:56:51 (148 KB/s) - `freeview.xml.gz' saved [197214/197214]
>
> 2012-01-23 12:56:52.665 Bypassing grabbers, reading directly from file
> 2012-01-23 12:56:52.678 Using runtime prefix = /usr
> 2012-01-23 12:56:52.678 Using configuration directory = /home/lounge/.mythtv
> 2012-01-23 12:56:52.713 Empty LocalHostName.
> 2012-01-23 12:56:52.713 Using localhost value of mythdu
> 2012-01-23 12:56:52.757 New DB connection, total: 1
> 2012-01-23 12:56:52.762 Connected to database 'mythconverg' at host:
> localhost
> 2012-01-23 12:56:52.786 Closing DB connection named 'DBManager0'
> 2012-01-23 12:56:52.787 Connected to database 'mythconverg' at host:
> localhost
> 2012-01-23 12:56:52.790 Current locale en_NZ
> 2012-01-23 12:56:52.812 No locale defaults file for en_NZ, skipping
> 2012-01-23 12:56:52.847 Loading en_us translation for module mythfrontend
> 2012-01-23 12:56:52.871 Current MythTV Schema Version (DBSchemaVer): 1264
> 2012-01-23 12:56:53.198 New DB connection, total: 2
> 2012-01-23 12:56:53.198 Connected to database 'mythconverg' at host:
> localhost
> 2012-01-23 12:56:53.752 IconData: Updating icons for sourceid: 1
> 2012-01-23 12:56:53.891 New DB connection, total: 3
> 2012-01-23 12:56:53.891 Connected to database 'mythconverg' at host:
> localhost
> 2012-01-23 12:57:03.414 Updated programs: 749 Unchanged programs: 2498
> 2012-01-23 12:57:03.448 Adjusting program database end times.
> 2012-01-23 12:57:03.527     0 replacements made
> 2012-01-23 12:57:03.527 Marking generic episodes.
> 2012-01-23 12:57:03.568     Found 111
> 2012-01-23 12:57:03.568 Fudging non-unique programids with multiple parts.
> 2012-01-23 12:57:03.579     Found 0
> 2012-01-23 12:57:03.579 Marking repeats.
> 2012-01-23 12:57:03.612     Found 0
> 2012-01-23 12:57:03.612 Unmarking new episode rebroadcast repeats.
> 2012-01-23 12:57:03.616     Found 0
> 2012-01-23 12:57:03.723 Marking episode first showings.
> 2012-01-23 12:57:05.311     Found 1416
> 2012-01-23 12:57:05.312 Marking episode last showings.
> 2012-01-23 12:57:06.880     Found 1416
> 2012-01-23 12:57:06.883
> ===============================================================
> | Attempting to contact the master backend for rescheduling.  |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted.                            |
> ===============================================================
> 2012-01-23 12:57:06.890 MythCoreContext: Connecting to backend server:
> 192.168.1.14:6543 (try 1 of 1)
> 2012-01-23 12:57:06.892 Using protocol version 63
> 2012-01-23 12:57:07.126 Received a remote 'Clear Cache' request
> 2012-01-23 12:57:08.125 mythfilldatabase run complete.
> 2012-01-23 12:57:08.140 DataDirect: Deleting temporary files
>
> --
> Foo!
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

Your output looks OK, it looks as though the script is running as it
should, and updating the database. THe status says you have EPG data
for seven days, which is encouraging.

I suspect that if you're not seeing anything in the program guide,
then the channels aren't set up in the same way mine are in your
mythtv-setup's channel editor. Can you go the the channel editor,
select TV ONE and let me know what the settings are?



More information about the mythtvnz mailing list