[mythtv-users] mythfilldatabase confusion

Paul Gardiner lists at glidos.net
Sun Jun 9 11:20:53 UTC 2024


For many years, I've been running mythfilldatabase from a cronjob, 
rather than configuring mythbackend to run it. Also I've been using a 
bespoke script to set xmltvid and icon fields in the channel table. It 
works okay, but it's a pain. It used to be necessary, I think, because I 
was piping the data from one lineup into two video sources and messing 
with the call sign to have channels duplicated across the two video 
sources appear as one.

My system is simpler now: I have just one video source. I'm 
experimenting to see if mythtfilldatabase can set icon and xmltvid.

First question - is this a lost cause? Should I stick with my bespoke 
script? (This Freeview in the UK. I have reliable logical channel 
numbers in both scan data and the listing, which made me think it would 
work).

What I've done so far towards this change is:

* Performed a new channel scan
* Manually (mysql) set icon and xmltvid to "" for all channels.
* From the new web app, set up the tv_grab_zz_json to be called 
automatically (same grabber I was using before from a cron job)
* Newly configured the grabber according to the web app's instructions


Now, I assume, sometime during the next 24 hours, mythbackend will run 
mythfilldatabase and I will find out if my experiment has worked, but 
I'd like to find out now.

So second question: is there a way to trigger mythbackend to run it now? 
I can run mythfilldatabase directly from the command line, but I don't 
know what arguments mythbackend might supply. Also I can't find a way to 
set at what time a day the automatic run is performed.

Cheers,
	Paul.



More information about the mythtv-users mailing list