Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

EPG update problems

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


paulgir at gmail

Jun 9, 2012, 2:31 PM

Post #1 of 19 (1207 views)
Permalink
EPG update problems

Hi All

Till now,due to the lack of a permanent LAN connection,I have been
updating the EPG by manually running tv_grab_nz-py and then
mythfilldatabase weekly.
I now have a wireless LAN,so I am trying to automate the process.
I have run into problems.I have followed these instructions:
http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519
Am I correct to think that running tv_grab_nz-py should automatically
cause mythfilldatabase to run,updating the EPG.In my case it doesn't.
I can only achieve this by manually running mythfilldatabase.
I have tried to use this alternative method From another thread:

"Oh - and once you're done - here's an easy script to import the EPG data:

#! /bin/bash
wget http://nzepg.org/freeview.xml.gz
gunzip freeview.xml.gz
mythfilldatabase --file 1 freeview.xml --update
rm freeview.xml
exit

Paste it into a text file, save it with a ".sh" extension, make it
executable (chmod +x) then run it as a daily cron task at, say, 3am and
you never need be without an up-to-date EPG!"



This also does not work for me.When I run this script in a terminal I get
the following output:

myth [at] myt:~$ /home/myth/nzepg_download.sh
--2012-06-10 09:01:34-- 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: 189441 (185K) [application/octet-stream]
Saving to: `freeview.xml.gz'

100%[======================================>] 189,441 227K/s in 0.8s

2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved [189441/189441]

Boolean type options do not accept values:
--file
Received '1' but unassociated arguments have not been enabled
mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97] www.mythtv.org


Mythfilldatabase does not run as a result of this script.
Any suggestions that might get either method working will be appreciated.

Cheers

Paul

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Jun 9, 2012, 5:24 PM

Post #2 of 19 (1172 views)
Permalink
Re: EPG update problems [In reply to]

On 10/06/12 09:31, Paulgir wrote:
>
> Hi All
>
> Till now,due to the lack of a permanent LAN connection,I have been
> updating the EPG by manually running tv_grab_nz-py and then
> mythfilldatabase weekly.
> I now have a wireless LAN,so I am trying to automate the process.
> I have run into problems.I have followed these instructions:
> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519
>
> Am I correct to think that running tv_grab_nz-py should automatically
> cause mythfilldatabase to run,updating the EPG.In my case it doesn't.
> I can only achieve this by manually running mythfilldatabase.
> I have tried to use this alternative method From another thread:
>
> "Oh - and once you're done - here's an easy script to import the EPG data:
>
> #! /bin/bash
> wget http://nzepg.org/freeview.xml.gz
> gunzip freeview.xml.gz
> mythfilldatabase --file 1 freeview.xml --update
> rm freeview.xml
> exit
>
> Paste it into a text file, save it with a ".sh" extension, make it
> executable (chmod +x) then run it as a daily cron task at, say, 3am and
> you never need be without an up-to-date EPG!"
>
>
>
> This also does not work for me.When I run this script in a terminal I
> get the following output:
>
> myth [at] myt:~$ /home/myth/nzepg_download.sh
> --2012-06-10 09:01:34-- 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: 189441 (185K) [application/octet-stream]
> Saving to: `freeview.xml.gz'
>
> 100%[======================================>] 189,441 227K/s in 0.8s
>
> 2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved [189441/189441]
>
> Boolean type options do not accept values:
> --file
> Received '1' but unassociated arguments have not been enabled
> mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97] www.mythtv.org
>
>
> Mythfilldatabase does not run as a result of this script.
> Any suggestions that might get either method working will be appreciated.
>
> Cheers
>
> Paul
>

They changed the mythfilldatabase syntax in 0.25. Grr. God knows why
they couldn't just _extend_ it instead of changing it and immediately
breaking thousands of myth user scripts. Really dumb IMHO. Anyway you
now need this:

mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 9, 2012, 6:06 PM

Post #3 of 19 (1164 views)
Permalink
Re: EPG update problems [In reply to]

>>
>
> They changed the mythfilldatabase syntax in 0.25. Grr. God knows why
> they couldn't just _extend_ it instead of changing it and immediately
> breaking thousands of myth user scripts. Really dumb IMHO. Anyway you
> now need this:
>
> mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update
>
I thought it may be something like that.
Thanks,I will give that a shot.
Cheers

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


sultanoswing at gmail

Jun 9, 2012, 6:07 PM

Post #4 of 19 (1176 views)
Permalink
Re: EPG update problems [In reply to]

On 10 June 2012 12:24, David Moore <dmoo1790 [at] ihug> wrote:

> On 10/06/12 09:31, Paulgir wrote:
>
>>
>> Hi All
>>
>> Till now,due to the lack of a permanent LAN connection,I have been
>> updating the EPG by manually running tv_grab_nz-py and then
>> mythfilldatabase weekly.
>> I now have a wireless LAN,so I am trying to automate the process.
>> I have run into problems.I have followed these instructions:
>> http://www.gossamer-threads.**com/lists/mythtv/mythtvnz/**
>> 501519?search_string=tv_grab_**nz-py;#501519<http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519>
>>
>> Am I correct to think that running tv_grab_nz-py should automatically
>> cause mythfilldatabase to run,updating the EPG.In my case it doesn't.
>> I can only achieve this by manually running mythfilldatabase.
>> I have tried to use this alternative method From another thread:
>>
>> "Oh - and once you're done - here's an easy script to import the EPG data:
>>
>> #! /bin/bash
>> wget http://nzepg.org/freeview.xml.**gz<http://nzepg.org/freeview.xml.gz>
>> gunzip freeview.xml.gz
>> mythfilldatabase --file 1 freeview.xml --update
>> rm freeview.xml
>> exit
>>
>> Paste it into a text file, save it with a ".sh" extension, make it
>> executable (chmod +x) then run it as a daily cron task at, say, 3am and
>> you never need be without an up-to-date EPG!"
>>
>>
>>
>> This also does not work for me.When I run this script in a terminal I
>> get the following output:
>>
>> myth [at] myt:~$ /home/myth/nzepg_download.sh
>> --2012-06-10 09:01:34-- http://nzepg.org/freeview.xml.**gz<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: 189441 (185K) [application/octet-stream]
>> Saving to: `freeview.xml.gz'
>>
>> 100%[=========================**=============>] 189,441 227K/s in 0.8s
>>
>> 2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved [189441/189441]
>>
>> Boolean type options do not accept values:
>> --file
>> Received '1' but unassociated arguments have not been enabled
>> mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97] www.mythtv.org
>>
>>
>> Mythfilldatabase does not run as a result of this script.
>> Any suggestions that might get either method working will be appreciated.
>>
>> Cheers
>>
>> Paul
>>
>>
> They changed the mythfilldatabase syntax in 0.25. Grr. God knows why they
> couldn't just _extend_ it instead of changing it and immediately breaking
> thousands of myth user scripts. Really dumb IMHO. Anyway you now need this:
>
> mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update
>
>
> ______________________________**_________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/**mailman/listinfo/mythtvnz<http://lists.ourshack.com/mailman/listinfo/mythtvnz>
> Archives http://www.gossamer-threads.**com/lists/mythtv/mythtvnz/<http://www.gossamer-threads.com/lists/mythtv/mythtvnz/>
>

As David says, that change will get my script working again :)

I have did update the instructions for it on the archives here once I
realised Myth had changed the syntax requirements.


nick.rout at gmail

Jun 9, 2012, 6:36 PM

Post #5 of 19 (1164 views)
Permalink
Re: EPG update problems [In reply to]

On Sun, Jun 10, 2012 at 1:07 PM, Curtis Walker <sultanoswing [at] gmail> wrote:
> On 10 June 2012 12:24, David Moore <dmoo1790 [at] ihug> wrote:
>>
>> On 10/06/12 09:31, Paulgir wrote:
>>>
>>>
>>> Hi All
>>>
>>> Till now,due to the lack of a permanent LAN connection,I have been
>>> updating the EPG by manually running tv_grab_nz-py and then
>>> mythfilldatabase weekly.
>>> I now have a wireless LAN,so I am trying to automate the process.
>>> I have run into problems.I have followed these instructions:
>>>
>>> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519
>>>
>>> Am I correct to think that running tv_grab_nz-py should automatically
>>> cause mythfilldatabase to run,updating the EPG.In my case it doesn't.
>>> I can only achieve this by manually running mythfilldatabase.
>>> I have tried to use this alternative method From another thread:
>>>
>>> "Oh - and once you're done - here's an easy script to import the EPG
>>> data:
>>>
>>> #! /bin/bash
>>> wget http://nzepg.org/freeview.xml.gz
>>> gunzip freeview.xml.gz
>>> mythfilldatabase --file 1 freeview.xml --update
>>> rm freeview.xml
>>> exit
>>>
>>> Paste it into a text file, save it with a ".sh" extension, make it
>>> executable (chmod +x) then run it as a daily cron task at, say, 3am and
>>> you never need be without an up-to-date EPG!"
>>>
>>>
>>>
>>> This also does not work for me.When I run this script in a terminal I
>>> get the following output:
>>>
>>> myth [at] myt:~$ /home/myth/nzepg_download.sh
>>> --2012-06-10 09:01:34-- 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: 189441 (185K) [application/octet-stream]
>>> Saving to: `freeview.xml.gz'
>>>
>>> 100%[======================================>] 189,441 227K/s in 0.8s
>>>
>>> 2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved [189441/189441]
>>>
>>> Boolean type options do not accept values:
>>> --file
>>> Received '1' but unassociated arguments have not been enabled
>>> mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97] www.mythtv.org
>>>
>>>
>>> Mythfilldatabase does not run as a result of this script.
>>> Any suggestions that might get either method working will be appreciated.
>>>
>>> Cheers
>>>
>>> Paul
>>>
>>
>> They changed the mythfilldatabase syntax in 0.25. Grr. God knows why they
>> couldn't just _extend_ it instead of changing it and immediately breaking
>> thousands of myth user scripts. Really dumb IMHO. Anyway you now need this:
>>
>> mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update
>>
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz [at] lists
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
> As David says, that change will get my script working again :)
>
> I have did update the instructions for it on the archives here once I
> realised Myth had changed the syntax requirements.

You don't need to run any script. Simply set tv_grab_nz-py as your
xmltv grabber in mythtv-setup. mythfilldatabase will run automatically
every day.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 9, 2012, 6:52 PM

Post #6 of 19 (1156 views)
Permalink
Re: EPG update problems [In reply to]

On Sun, 10 Jun 2012 13:36:41 +1200, Nick Rout <nick.rout [at] gmail> wrote:

> On Sun, Jun 10, 2012 at 1:07 PM, Curtis Walker <sultanoswing [at] gmail>
> wrote:
>> On 10 June 2012 12:24, David Moore <dmoo1790 [at] ihug> wrote:
>>>
>>> On 10/06/12 09:31, Paulgir wrote:
>>>>
>>>>
>>>> Hi All
>>>>
>>>> Till now,due to the lack of a permanent LAN connection,I have been
>>>> updating the EPG by manually running tv_grab_nz-py and then
>>>> mythfilldatabase weekly.
>>>> I now have a wireless LAN,so I am trying to automate the process.
>>>> I have run into problems.I have followed these instructions:
>>>>
>>>> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519
>>>>
>>>> Am I correct to think that running tv_grab_nz-py should automatically
>>>> cause mythfilldatabase to run,updating the EPG.In my case it doesn't.
>>>> I can only achieve this by manually running mythfilldatabase.
>>>> I have tried to use this alternative method From another thread:
>>>>
>>>> "Oh - and once you're done - here's an easy script to import the EPG
>>>> data:
>>>>
>>>> #! /bin/bash
>>>> wget http://nzepg.org/freeview.xml.gz
>>>> gunzip freeview.xml.gz
>>>> mythfilldatabase --file 1 freeview.xml --update
>>>> rm freeview.xml
>>>> exit
>>>>
>>>> Paste it into a text file, save it with a ".sh" extension, make it
>>>> executable (chmod +x) then run it as a daily cron task at, say, 3am
>>>> and
>>>> you never need be without an up-to-date EPG!"
>>>>
>>>>
>>>>
>>>> This also does not work for me.When I run this script in a terminal I
>>>> get the following output:
>>>>
>>>> myth [at] myt:~$ /home/myth/nzepg_download.sh
>>>> --2012-06-10 09:01:34-- 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: 189441 (185K) [application/octet-stream]
>>>> Saving to: `freeview.xml.gz'
>>>>
>>>> 100%[======================================>] 189,441 227K/s in 0.8s
>>>>
>>>> 2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved
>>>> [189441/189441]
>>>>
>>>> Boolean type options do not accept values:
>>>> --file
>>>> Received '1' but unassociated arguments have not been enabled
>>>> mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97]
>>>> www.mythtv.org
>>>>
>>>>
>>>> Mythfilldatabase does not run as a result of this script.
>>>> Any suggestions that might get either method working will be
>>>> appreciated.
>>>>
>>>> Cheers
>>>>
>>>> Paul
>>>>
>>>
>>> They changed the mythfilldatabase syntax in 0.25. Grr. God knows why
>>> they
>>> couldn't just _extend_ it instead of changing it and immediately
>>> breaking
>>> thousands of myth user scripts. Really dumb IMHO. Anyway you now need
>>> this:
>>>
>>> mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update
>>>
>>>
>>> _______________________________________________
>>> mythtvnz mailing list
>>> mythtvnz [at] lists
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
>> As David says, that change will get my script working again :)
>>
>> I have did update the instructions for it on the archives here once I
>> realised Myth had changed the syntax requirements.
>
> You don't need to run any script. Simply set tv_grab_nz-py as your
> xmltv grabber in mythtv-setup. mythfilldatabase will run automatically
> every day.
>
I will also try that.You may be correct that I don't actually have a
problem with
tv_grab_nz-py.I will check to see what db updates are occurring.I've set
cron to run the
script at 18:30 daily updates also occur at other times I will know
tv_grab_nz-py is working too.

The script is working well.Thanks everyone.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


sultanoswing at gmail

Jun 9, 2012, 9:30 PM

Post #7 of 19 (1159 views)
Permalink
Re: EPG update problems [In reply to]

On 10 June 2012 13:52, Paulgir <paulgir [at] gmail> wrote:
>
> On Sun, 10 Jun 2012 13:36:41 +1200, Nick Rout <nick.rout [at] gmail> wrote:
>
>> On Sun, Jun 10, 2012 at 1:07 PM, Curtis Walker <sultanoswing [at] gmail>
>> wrote:
>>>
>>> On 10 June 2012 12:24, David Moore <dmoo1790 [at] ihug> wrote:
>>>>
>>>>
>>>> On 10/06/12 09:31, Paulgir wrote:
>>>>>
>>>>>
>>>>>
>>>>> Hi All
>>>>>
>>>>> Till now,due to the lack of a permanent LAN connection,I have been
>>>>> updating the EPG by manually running tv_grab_nz-py and then
>>>>> mythfilldatabase weekly.
>>>>> I now have a wireless LAN,so I am trying to automate the process.
>>>>> I have run into problems.I have followed these instructions:
>>>>>
>>>>>
>>>>> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519
>>>>>
>>>>> Am I correct to think that running tv_grab_nz-py should automatically
>>>>> cause mythfilldatabase to run,updating the EPG.In my case it doesn't.
>>>>> I can only achieve this by manually running mythfilldatabase.
>>>>> I have tried to use this alternative method From another thread:
>>>>>
>>>>> "Oh - and once you're done - here's an easy script to import the EPG
>>>>> data:
>>>>>
>>>>> #! /bin/bash
>>>>> wget http://nzepg.org/freeview.xml.gz
>>>>> gunzip freeview.xml.gz
>>>>> mythfilldatabase --file 1 freeview.xml --update
>>>>> rm freeview.xml
>>>>> exit
>>>>>
>>>>> Paste it into a text file, save it with a ".sh" extension, make it
>>>>> executable (chmod +x) then run it as a daily cron task at, say, 3am
>>>>> and
>>>>> you never need be without an up-to-date EPG!"
>>>>>
>>>>>
>>>>>
>>>>> This also does not work for me.When I run this script in a terminal I
>>>>> get the following output:
>>>>>
>>>>> myth [at] myt:~$ /home/myth/nzepg_download.sh
>>>>> --2012-06-10 09:01:34-- 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: 189441 (185K) [application/octet-stream]
>>>>> Saving to: `freeview.xml.gz'
>>>>>
>>>>> 100%[======================================>] 189,441 227K/s in 0.8s
>>>>>
>>>>> 2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved
>>>>> [189441/189441]
>>>>>
>>>>> Boolean type options do not accept values:
>>>>> --file
>>>>> Received '1' but unassociated arguments have not been enabled
>>>>> mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97]
>>>>> www.mythtv.org
>>>>>
>>>>>
>>>>> Mythfilldatabase does not run as a result of this script.
>>>>> Any suggestions that might get either method working will be
>>>>> appreciated.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Paul
>>>>>
>>>>
>>>> They changed the mythfilldatabase syntax in 0.25. Grr. God knows why
>>>> they
>>>> couldn't just _extend_ it instead of changing it and immediately
>>>> breaking
>>>> thousands of myth user scripts. Really dumb IMHO. Anyway you now need
>>>> this:
>>>>
>>>> mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update
>>>>
>>>>
>>>> _______________________________________________
>>>> mythtvnz mailing list
>>>> mythtvnz [at] lists
>>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>>
>>>
>>>
>>> As David says, that change will get my script working again :)
>>>
>>> I have did update the instructions for it on the archives here once I
>>> realised Myth had changed the syntax requirements.
>>
>>
>> You don't need to run any script. Simply set tv_grab_nz-py as your
>> xmltv grabber in mythtv-setup. mythfilldatabase will run automatically
>> every day.
>>
> I will also try that.You may be correct that I don't actually have a
> problem with
> tv_grab_nz-py.I will check to see what db updates are occurring.I've set
> cron to run the
> script at 18:30 daily  updates also occur at other times I will know
> tv_grab_nz-py is working too.
>
> The script is working well.Thanks everyone.
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

Good to hear it's working. Yes, you don't NEED anything else other
than the tv_grab_nz.py if it works for you, but IMHO it still seems
less elegant (as evidenced by numbers of lines of code) than my script
;)

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Jun 10, 2012, 1:13 AM

Post #8 of 19 (1156 views)
Permalink
Re: EPG update problems [In reply to]

On 10/06/12 16:30, Curtis Walker wrote:
> but IMHO it still seems
> less elegant (as evidenced by numbers of lines of code) than my script

We all used a few commands in a file like that for years.

With MythTV, mythfilldatabase running the grabber for you is the way
it's designed to work.

hads
--
http://nice.net.nz

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 11, 2012, 1:58 PM

Post #9 of 19 (1453 views)
Permalink
Re: EPG update problems [In reply to]

On Sun, 10 Jun 2012 16:30:44 +1200, Curtis Walker <sultanoswing [at] gmail>
wrote:

> On 10 June 2012 13:52, Paulgir <paulgir [at] gmail> wrote:
>>
>> On Sun, 10 Jun 2012 13:36:41 +1200, Nick Rout <nick.rout [at] gmail>
>> wrote:
>>
>>> On Sun, Jun 10, 2012 at 1:07 PM, Curtis Walker <sultanoswing [at] gmail>
>>> wrote:
>>>>
>>>> On 10 June 2012 12:24, David Moore <dmoo1790 [at] ihug> wrote:
>>>>>
>>>>>
>>>>> On 10/06/12 09:31, Paulgir wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi All
>>>>>>
>>>>>> Till now,due to the lack of a permanent LAN connection,I have been
>>>>>> updating the EPG by manually running tv_grab_nz-py and then
>>>>>> mythfilldatabase weekly.
>>>>>> I now have a wireless LAN,so I am trying to automate the process.
>>>>>> I have run into problems.I have followed these instructions:
>>>>>>
>>>>>>
>>>>>> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/501519?search_string=tv_grab_nz-py;#501519
>>>>>>
>>>>>> Am I correct to think that running tv_grab_nz-py should
>>>>>> automatically
>>>>>> cause mythfilldatabase to run,updating the EPG.In my case it
>>>>>> doesn't.
>>>>>> I can only achieve this by manually running mythfilldatabase.
>>>>>> I have tried to use this alternative method From another thread:
>>>>>>
>>>>>> "Oh - and once you're done - here's an easy script to import the EPG
>>>>>> data:
>>>>>>
>>>>>> #! /bin/bash
>>>>>> wget http://nzepg.org/freeview.xml.gz
>>>>>> gunzip freeview.xml.gz
>>>>>> mythfilldatabase --file 1 freeview.xml --update
>>>>>> rm freeview.xml
>>>>>> exit
>>>>>>
>>>>>> Paste it into a text file, save it with a ".sh" extension, make it
>>>>>> executable (chmod +x) then run it as a daily cron task at, say, 3am
>>>>>> and
>>>>>> you never need be without an up-to-date EPG!"
>>>>>>
>>>>>>
>>>>>>
>>>>>> This also does not work for me.When I run this script in a terminal
>>>>>> I
>>>>>> get the following output:
>>>>>>
>>>>>> myth [at] myt:~$ /home/myth/nzepg_download.sh
>>>>>> --2012-06-10 09:01:34-- 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: 189441 (185K) [application/octet-stream]
>>>>>> Saving to: `freeview.xml.gz'
>>>>>>
>>>>>> 100%[======================================>] 189,441 227K/s in 0.8s
>>>>>>
>>>>>> 2012-06-10 09:01:36 (227 KB/s) - `freeview.xml.gz' saved
>>>>>> [189441/189441]
>>>>>>
>>>>>> Boolean type options do not accept values:
>>>>>> --file
>>>>>> Received '1' but unassociated arguments have not been enabled
>>>>>> mythfilldatabase version: fixes/0.25 [v0.25-94-gec51a97]
>>>>>> www.mythtv.org
>>>>>>
>>>>>>
>>>>>> Mythfilldatabase does not run as a result of this script.
>>>>>> Any suggestions that might get either method working will be
>>>>>> appreciated.
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>
>>>>> They changed the mythfilldatabase syntax in 0.25. Grr. God knows why
>>>>> they
>>>>> couldn't just _extend_ it instead of changing it and immediately
>>>>> breaking
>>>>> thousands of myth user scripts. Really dumb IMHO. Anyway you now need
>>>>> this:
>>>>>
>>>>> mythfilldatabase --file --sourceid 1 --xmlfile freeview.xml --update
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> mythtvnz mailing list
>>>>> mythtvnz [at] lists
>>>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>>>
>>>>
>>>>
>>>> As David says, that change will get my script working again :)
>>>>
>>>> I have did update the instructions for it on the archives here once I
>>>> realised Myth had changed the syntax requirements.
>>>
>>>
>>> You don't need to run any script. Simply set tv_grab_nz-py as your
>>> xmltv grabber in mythtv-setup. mythfilldatabase will run automatically
>>> every day.
>>>
>> I will also try that.You may be correct that I don't actually have a
>> problem with
>> tv_grab_nz-py.I will check to see what db updates are occurring.I've set
>> cron to run the
>> script at 18:30 daily updates also occur at other times I will know
>> tv_grab_nz-py is working too.
>>
>> The script is working well.Thanks everyone.
>>
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz [at] lists
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
> Good to hear it's working. Yes, you don't NEED anything else other
> than the tv_grab_nz.py if it works for you, but IMHO it still seems
> less elegant (as evidenced by numbers of lines of code) than my script
> ;)
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

I have been doing some further playing with the automated EPG update in
MythTV backend set up.
If I set the time for mythfilldatabase to run,it runs and I get a failed
message on the status page.

" xmltv returned error code 2"
I can't find what error code 2 is.

If I run mythfilldatabase any other way i.e. manually, it updates ok.
Here is the mythfilldatabase log:

Jun 12 08:14:09 myth mythfilldatabase[2572]: C thread_unknown
mythcommandlineparser.cpp:2534 (ConfigureLogging) mythfilldatabase
version: fixes/0.25 [v0.25.1-2-g648f0ae] www.mythtv.org
Jun 12 08:14:09 myth mythfilldatabase[2572]: C thread_unknown
mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: compile:
4.7.4, runtime: 4.7.4
Jun 12 08:14:09 myth mythfilldatabase[2572]: N thread_unknown
mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose msgs:
general
Jun 12 08:14:09 myth mythfilldatabase[2572]: N thread_unknown
logging.cpp:1176 (logStart) Setting Log Level to LOG_INFO
Jun 12 08:14:09 myth mythfilldatabase[2572]: I thread_unknown
logging.cpp:229 (FileLogger) Added logging to the console
Jun 12 08:14:09 myth mythfilldatabase[2572]: I thread_unknown
logging.cpp:369 (SyslogLogger) Added syslogging to facility local7
Jun 12 08:14:09 myth mythfilldatabase[2572]: I thread_unknown
logging.cpp:425 (DatabaseLogger) Added database logging to table logging
Jun 12 08:14:09 myth mythfilldatabase[2572]: N thread_unknown
logging.cpp:1215 (logStart) Setting up SIGHUP handler
Jun 12 08:14:09 myth mythfilldatabase[2572]: N thread_unknown
mythdirs.cpp:51 (InitializeMythDirs) Using runtime prefix = /usr
Jun 12 08:14:09 myth mythfilldatabase[2572]: N thread_unknown
mythdirs.cpp:64 (InitializeMythDirs) Using configuration directory =
/home/mythtv/.mythtv
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
mythcorecontext.cpp:227 (Init) Assumed character encoding: en_NZ.UTF-8
Jun 12 08:14:09 myth mythfilldatabase[2572]: N CoreContext
mythcontext.cpp:477 (LoadDatabaseSettings) Empty LocalHostName.
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
mythcontext.cpp:481 (LoadDatabaseSettings) Using localhost value of myth
Jun 12 08:14:09 myth mythfilldatabase[2572]: N CoreContext
mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to en_NZ
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
mythcorecontext.cpp:1303 (SaveLocaleDefaults) Current locale en_NZ
Jun 12 08:14:09 myth mythfilldatabase[2572]: E CoreContext
mythlocale.cpp:108 (LoadDefaultsFromXML) No locale defaults file for
en_NZ, skipping
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
mythtranslation.cpp:66 (load) Loading en_gb translation for module
mythfrontend
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
schemawizard.cpp:117 (Compare) Current MythTV Schema Version
(DBSchemaVer): 1299
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
filldata.cpp:600 (Run) Updating source #1 (Freeview) with grabber
tv_grab_nz-py
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
filldata.cpp:615 (Run) Found 31 channels for source 1 which use grabber
Jun 12 08:14:09 myth mythfilldatabase[2572]: I SystemManager
system-unix.cpp:263 (run) Starting process manager
Jun 12 08:14:09 myth mythfilldatabase[2572]: I SystemIOHandlerW
system-unix.cpp:90 (run) Starting IO manager (write)
Jun 12 08:14:09 myth mythfilldatabase[2572]: I SystemIOHandlerR
system-unix.cpp:90 (run) Starting IO manager (read)
Jun 12 08:14:09 myth mythfilldatabase[2572]: I SystemSignalManager
system-unix.cpp:485 (run) Starting process signal handler
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
filldata.cpp:672 (Run) Grabber has capabilities: baseline manualconfig
preferredmethod cache
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
filldata.cpp:695 (Run) Grabber prefers method: allatonce
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
filldata.cpp:397 (GrabData) XMLTV config file is:
/home/mythtv/.mythtv/Freeview.xmltv
Jun 12 08:14:09 myth mythfilldatabase[2572]: E CoreContext
filldata.cpp:468 (GrabData) FillData: xmltv returned error code 2
Jun 12 08:14:09 myth mythfilldatabase[2572]: E CoreContext
xmltvparser.cpp:601 (parseFile) Error in 1:1: unexpected end of file
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
icondata.cpp:164 (UpdateSourceIcons) IconData: Updating icons for
sourceid: 1
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext
filldata.cpp:339 (GrabDataFromFile) No programs found in data.
Jun 12 08:14:09 myth mythfilldatabase[2572]: E CoreContext main.cpp:486
(main) Failed to fetch some program info
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:527
(main) Adjusting program database end times.
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:533
(main) 0 replacements made
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:538
(main) Marking generic episodes.
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:550
(main) Found 0
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:556
(main) Extending non-unique programids with multiple parts.
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:607
(main) Found 0
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:612
(main) Marking repeats.
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:626
(main) Found 0
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:628
(main) Unmarking new episode rebroadcast repeats.
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:638
(main) Found 0
Jun 12 08:14:09 myth mythfilldatabase[2572]: I CoreContext main.cpp:650
(main) Marking episode first showings.
Jun 12 08:14:10 myth mythfilldatabase[2572]: I CoreContext main.cpp:691
(main) Found 1949
Jun 12 08:14:10 myth mythfilldatabase[2572]: I CoreContext main.cpp:693
(main) Marking episode last showings.
Jun 12 08:14:12 myth mythfilldatabase[2572]: I CoreContext main.cpp:732
(main) Found 1949
Jun 12 08:14:12 myth mythfilldatabase[2572]: I CoreContext main.cpp:760
(main)
#012===============================================================#012|
Attempting to contact the master backend for rescheduling. |#012| If the
master is not running, rescheduling will happen when |#012| the master
backend is restarted.
|#012===============================================================
Jun 12 08:14:12 myth mythfilldatabase[2572]: I CoreContext
mythcorecontext.cpp:371 (ConnectCommandSocket) MythCoreContext: Connecting
to backend server: 127.0.0.1:6543 (try 1 of 1)
Jun 12 08:14:12 myth mythfilldatabase[2572]: I CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
Jun 12 08:14:12 myth mythfilldatabase[2572]: N CoreContext main.cpp:769
(main) mythfilldatabase run complete.
Jun 12 08:14:12 myth mythfilldatabase[2572]: I CoreContext
datadirect.cpp:573 (~DataDirectProcessor) DataDirect: Deleting temporary
files

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


mythicalbeast at slingshot

Jun 11, 2012, 2:11 PM

Post #10 of 19 (1216 views)
Permalink
Re: EPG update problems [In reply to]

mythfilldatabase when run automatically from BE runs as diff user
(mythtv).
When run manually from terminal, mythfilldatabase runs as that session
user.
So problem could be permissions etc..

Brett


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Jun 11, 2012, 2:20 PM

Post #11 of 19 (1208 views)
Permalink
Re: EPG update problems [In reply to]

On 12/06/12 09:11, Brett wrote:
> mythfilldatabase when run automatically from BE runs as diff user
> (mythtv).
> When run manually from terminal, mythfilldatabase runs as that session
> user.
> So problem could be permissions etc..

Quite correct. It's possibly a PATH error too.

hads
--
http://nice.net.nz

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


pkendall64 at gmail

Jun 11, 2012, 6:57 PM

Post #12 of 19 (1205 views)
Permalink
Re: EPG update problems [In reply to]

Error code 2 is "No such file or directory" from
/usr/include/asm-generic/errno-base.h

So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv

Just copy it from the directory that .mythtv directory of the user
that you used to run mythfilldatabase as.


Cheer,
PK

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 12, 2012, 4:00 PM

Post #13 of 19 (1161 views)
Permalink
Re: EPG update problems [In reply to]

On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
wrote:

> Error code 2 is "No such file or directory" from
> /usr/include/asm-generic/errno-base.h
>
> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>
> Just copy it from the directory that .mythtv directory of the user
> that you used to run mythfilldatabase as.
>
>
> Cheer,
> PK
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

Ok I think I see where the problem is.
My Freeview.xmltv is in /home/myth/.mythtv/Freeview.xmltv - my user is
myth.
I've copied it into /home/mythtv/.mythtv/Freeview.xmltv.
Hopefully that will work.

thanks

Paul

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 12, 2012, 4:16 PM

Post #14 of 19 (1151 views)
Permalink
Re: EPG update problems [In reply to]

On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
wrote:

> Error code 2 is "No such file or directory" from
> /usr/include/asm-generic/errno-base.h
>
> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>
> Just copy it from the directory that .mythtv directory of the user
> that you used to run mythfilldatabase as.
>
>
> Cheer,
> PK
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

One more question.
I see why the automated mythfilldatabase process differs from the manually
initiated one.
The manual one's path for Freeview.xmltv is
/home/myth/.mythtv/Freeview.xmltv
The one initiated by the BE path is /home/mythtv/.mythtv/Freeview.xmltv

So my question is: will the system be ok with the different path (
/home/mythtv/.mythtv/Freeview.xmltv.)
I don't need to change anything else?
I've checked the manual mythfilldatabase still works as before.Waiting for
the BE to do it on it's own at the next scheduled period.

Cheers

Paul

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


stephen_agent at jsw

Jun 12, 2012, 6:46 PM

Post #15 of 19 (1148 views)
Permalink
Re: EPG update problems [In reply to]

On Wed, 13 Jun 2012 11:16:45 +1200, you wrote:

>On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
>wrote:
>
>> Error code 2 is "No such file or directory" from
>> /usr/include/asm-generic/errno-base.h
>>
>> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>>
>> Just copy it from the directory that .mythtv directory of the user
>> that you used to run mythfilldatabase as.
>>
>>
>> Cheer,
>> PK
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz [at] lists
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>One more question.
>I see why the automated mythfilldatabase process differs from the manually
>initiated one.
>The manual one's path for Freeview.xmltv is
>/home/myth/.mythtv/Freeview.xmltv
>The one initiated by the BE path is /home/mythtv/.mythtv/Freeview.xmltv
>
>So my question is: will the system be ok with the different path (
>/home/mythtv/.mythtv/Freeview.xmltv.)
>I don't need to change anything else?
>I've checked the manual mythfilldatabase still works as before.Waiting for
>the BE to do it on it's own at the next scheduled period.
>
>Cheers
>
>Paul

For fewer complications, you might like to make sure all the real
config files are under /home/mythtv/.mythtv, then delete your
/home/myth/.mythtv directory and re-create it as a link to
/home/myth/.mythtv. Make sure the permissions on the files in
/home/mythtv/.mythtv will work with the myth user also.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 12, 2012, 7:26 PM

Post #16 of 19 (1140 views)
Permalink
Re: EPG update problems [In reply to]

On Wed, 13 Jun 2012 13:46:23 +1200, Stephen Worthington
<stephen_agent [at] jsw> wrote:

> On Wed, 13 Jun 2012 11:16:45 +1200, you wrote:
>
>> On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
>> wrote:
>>
>>> Error code 2 is "No such file or directory" from
>>> /usr/include/asm-generic/errno-base.h
>>>
>>> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>>>
>>> Just copy it from the directory that .mythtv directory of the user
>>> that you used to run mythfilldatabase as.
>>>
>>>
>>> Cheer,
>>> PK
>>>
>>> _______________________________________________
>>> mythtvnz mailing list
>>> mythtvnz [at] lists
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>> One more question.
>> I see why the automated mythfilldatabase process differs from the
>> manually
>> initiated one.
>> The manual one's path for Freeview.xmltv is
>> /home/myth/.mythtv/Freeview.xmltv
>> The one initiated by the BE path is /home/mythtv/.mythtv/Freeview.xmltv
>>
>> So my question is: will the system be ok with the different path (
>> /home/mythtv/.mythtv/Freeview.xmltv.)
>> I don't need to change anything else?
>> I've checked the manual mythfilldatabase still works as before.Waiting
>> for
>> the BE to do it on it's own at the next scheduled period.
>>
>> Cheers
>>
>> Paul
>
> For fewer complications, you might like to make sure all the real
> config files are under /home/mythtv/.mythtv, then delete your
> /home/myth/.mythtv directory and re-create it as a link to
> /home/myth/.mythtv. Make sure the permissions on the files in
> /home/mythtv/.mythtv will work with the myth user also.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

Waaay too complicated for my level of knowledge :D

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Jun 12, 2012, 7:58 PM

Post #17 of 19 (1137 views)
Permalink
Re: EPG update problems [In reply to]

On Wed, Jun 13, 2012 at 11:16 AM, Paulgir <paulgir [at] gmail> wrote:
> On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
> wrote:
>
>> Error code 2 is "No such file or directory" from
>> /usr/include/asm-generic/errno-base.h
>>
>> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>>
>> Just copy it from the directory that .mythtv directory of the user
>> that you used to run mythfilldatabase as.
>>
>>
>> Cheer,
>> PK
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz [at] lists
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
> One more question.
> I see why the automated mythfilldatabase process differs from the manually
> initiated one.
> The manual one's path for Freeview.xmltv is
>  /home/myth/.mythtv/Freeview.xmltv
> The one initiated by the BE path is /home/mythtv/.mythtv/Freeview.xmltv
>
> So my question is: will the system be ok with the different path (
> /home/mythtv/.mythtv/Freeview.xmltv.)
> I don't need to change anything else?
> I've checked the manual mythfilldatabase still works as before.Waiting for
> the BE to do it on it's own at the next scheduled period.

The BE process runs as user mythtv and it is the BE that initiates the
mythfilldatabase script.

if you had set up tv_grab_nz-py from mythtv-setup in the first place
then the setup file would have been in the right place :)

But it's good to learn as you go!

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 12, 2012, 8:33 PM

Post #18 of 19 (1137 views)
Permalink
Re: EPG update problems [In reply to]

On Wed, 13 Jun 2012 14:58:03 +1200, Nick Rout <nick.rout [at] gmail> wrote:

> On Wed, Jun 13, 2012 at 11:16 AM, Paulgir <paulgir [at] gmail> wrote:
>> On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
>> wrote:
>>
>>> Error code 2 is "No such file or directory" from
>>> /usr/include/asm-generic/errno-base.h
>>>
>>> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>>>
>>> Just copy it from the directory that .mythtv directory of the user
>>> that you used to run mythfilldatabase as.
>>>
>>>
>>> Cheer,
>>> PK
>>>
>>> _______________________________________________
>>> mythtvnz mailing list
>>> mythtvnz [at] lists
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
>> One more question.
>> I see why the automated mythfilldatabase process differs from the
>> manually
>> initiated one.
>> The manual one's path for Freeview.xmltv is
>> /home/myth/.mythtv/Freeview.xmltv
>> The one initiated by the BE path is /home/mythtv/.mythtv/Freeview.xmltv
>>
>> So my question is: will the system be ok with the different path (
>> /home/mythtv/.mythtv/Freeview.xmltv.)
>> I don't need to change anything else?
>> I've checked the manual mythfilldatabase still works as before.Waiting
>> for
>> the BE to do it on it's own at the next scheduled period.
>
> The BE process runs as user mythtv and it is the BE that initiates the
> mythfilldatabase script.
>
> if you had set up tv_grab_nz-py from mythtv-setup in the first place
> then the setup file would have been in the right place :)
>
> But it's good to learn as you go!


But that's what I thought I did.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


paulgir at gmail

Jun 12, 2012, 8:50 PM

Post #19 of 19 (1143 views)
Permalink
Re: EPG update problems [In reply to]

On Wed, 13 Jun 2012 13:46:23 +1200, Stephen Worthington
<stephen_agent [at] jsw> wrote:

> On Wed, 13 Jun 2012 11:16:45 +1200, you wrote:
>
>> On Tue, 12 Jun 2012 13:57:26 +1200, Paul Kendall <pkendall64 [at] gmail>
>> wrote:
>>
>>> Error code 2 is "No such file or directory" from
>>> /usr/include/asm-generic/errno-base.h
>>>
>>> So, you are missing the file /home/mythtv/.mythtv/Freeview.xmltv
>>>
>>> Just copy it from the directory that .mythtv directory of the user
>>> that you used to run mythfilldatabase as.
>>>
>>>
>>> Cheer,
>>> PK
>>>
>>> _______________________________________________
>>> mythtvnz mailing list
>>> mythtvnz [at] lists
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>> One more question.
>> I see why the automated mythfilldatabase process differs from the
>> manually
>> initiated one.
>> The manual one's path for Freeview.xmltv is
>> /home/myth/.mythtv/Freeview.xmltv
>> The one initiated by the BE path is /home/mythtv/.mythtv/Freeview.xmltv
>>
>> So my question is: will the system be ok with the different path (
>> /home/mythtv/.mythtv/Freeview.xmltv.)
>> I don't need to change anything else?
>> I've checked the manual mythfilldatabase still works as before.Waiting
>> for
>> the BE to do it on it's own at the next scheduled period.
>>
>> Cheers
>>
>> Paul
>
> For fewer complications, you might like to make sure all the real
> config files are under /home/mythtv/.mythtv, then delete your
> /home/myth/.mythtv directory and re-create it as a link to
> /home/myth/.mythtv. Make sure the permissions on the files in
> /home/mythtv/.mythtv will work with the myth user also.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

Is this the correct way to create such a link:

Open terminal and go to /home/myth directory and issue the following
command: ln -s /home/mythtv/.mythtv ./.mythtv

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.