[mythtv-users] mythfilldatabase automatic run fails but...

Al Lopez one30nav at gmail.com
Tue Apr 1 02:24:26 UTC 2025


On 3/28/25 11:38, Christopher Sean Hilton wrote:
>>
>>
>> P.S.: There's no need to have a duplicate /home/mythtv/.mythtv/021xx.xmltv
>> file if mythfilldatabase is
>> run as user mythtv.
>>
> 
> I've been running mythtv for close to twenty years now. There are a bunch of files that the
> system sources from one place, `/home/mythtv/.mythtv`, or the another, `/etc/mythtv` and if
> the two files in the two locations are divergent then the system behaves weirdly. So, I
> learned a while ago the build the mythtv user before installing and to symlink
> `/home/mythtv/.mythtv` to `/etc/mythtv` very early in the install process.
> 

I manually setup XMLTV as 'mythtv' then run mythtv-setup as $user.


I then hardlink (not symlink) the database to /home/$user/.xmltv/, then 
copy (not symlink) the XXXX.xmltv file to /home/$user/.mythtv/.

Finally, if you use sqlite, ensure your XXXX.xmltv file's header points 
to the correct database. So, 
database=/home/username/.xmltv/SchedulesDirect.DB

I use "Jim A's" setup guide as a core, must have guide.

Here's my setup for reference: 
https://forum.mythtv.org/viewtopic.php?f=36&t=5227

Regards, Al


More information about the mythtv-users mailing list