On 6/8/20 6:59 AM, Mark Goldberg wrote:
> I'm currently using the Data Direct grabber. Can I setup XMLTV from the
> command line per the Wiki,
Yes. Changing schedulesdirect' to'tv_grab_zz_sdjson_sqlit' is
the "on/off" switch, if you will (I use tv_grab_zz_sdjson_sqlite.)
matching channels with my current lineups before
> making any changes in mythtv-setup? If it goes south or takes a week to
> accomplish, I don't want Mythtv to be down. I will need two lineups, local
> off the air and Dish. After setting up XMLTV, then I'd like to go into
> mythtv-setup and change grabbers and lineups.
That's the way I did it.
There's a note near the top of the Wiki that mentions:
... By running all programs as user mythtv ... You'll
really want to do that. After things are setup, then
if you run mythfilldatabase manually, then do that as
user mythtv too. Same if MFDB is run out of cron etc.
--
Bill
Some ASCII art I've been working on that may be of interest
as far as where files end up (works for me with plain
text email.)
------------------------------------------------------------------
See if systemd starts the backend using: MYTHCONFDIR or if HOME is
set somewhere other than the 'typical' place, e.g. /home/mythtv:
systemctl show --property="Environment,Home" mythtv-backend.service
Look for MYTHCONFDIR in the output. Users of other init systems should
look in files their systems use, such as /etc/init/mythtv-backend.
Example for distributions that store MythTV data relative to ~mythtv/.mythtv,
/
??? home
??? mythtv
??? .mythtv
? ??? OTA.xmltv # Which contains:
? ? database=/home/mythtv/.xmltv/SchedulesDirect.DB
? ? lineup=USA-OTA-90210
? ? mythtv-categories=enabled
? ?
? ??? CABLE.xmltv # Which contains:
? database=/home/mythtv/.xmltv/SchedulesDirect.DB
? lineup=USA-IL90210-X
? mythtv-categories=enabled
?
??? .xmltv
??? SchedulesDirect.DB
Note that nothing is stored under the login user's .mythtv or .xmltv
In this example, MYTHCONFDIR was set to /var/lib/mythtv/confdir. This grabber
setup doesn't honor MYTHCONFDIR, so path must be changed to the desired locations
not the defaults.
/
??? var
??? lib
??? mythtv
??? confdir
? ??? OTA.xmltv # Which contains:
? ? database=/var/lib/mythtv/SchedulesDirect.DB
? ? lineup=USA-OTA-90210
? ? mythtv-categories=enabled
? ?
? ??? CABLE.xmltv # Which contains:
? database=/var/lib/mythtv/SchedulesDirect.DB
? lineup=USA-IL90210-X
? mythtv-categories=enabled
?
??? SchedulesDirect.DB
Nothing is under the login or mythtv users .mythtv and .xmltv directories.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users http://wiki.mythtv.org/Mailing_List_etiquette MythTV Forums:
https://forum.mythtv.org