Page 3 of 3

Re: XMLTV grabber for Schedules Direct JSON

Posted: Thu Aug 20, 2020 6:14 pm
by bill6502
In addition to the above location of ScheulesDirect.DB, you have the
<source name>.xmltv file(s) under ~mythtv/.mythtv too right?

Need to look at the mythfilldatabase.log. Should be in /var/log/mythtv.

If it doesn't offer any clues, pastebin it or attach it here.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 12:17 am
by dragonflyoh
My computer quit so I will be away for a while.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 2:41 am
by dragonflyoh
Reinstalling MYTHTV should I make a mythtv user and login as it before setting up MYTHTV?

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 3:09 am
by bill6502
You can, but, honestly I don't see why it isn't happening automatically
Here's the packaging script that I would expect to add the user (if it
doesn't exist.)

https://github.com/MythTV/packaging/blo ... ostinst#L8

I think I'm seriously missing something. But won't have time to spin up
a new host.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 2:03 pm
by wesnewell
dragonflyoh wrote:
Sat Aug 22, 2020 2:41 am
Reinstalling MYTHTV should I make a mythtv user and login as it before setting up MYTHTV?
from a terminal type ls /home. it will list all users. You should already have a mythtv user. exp:
wes@mythfe0:~$ ls /home
mythtv wes
If you don't know the password for the mythtv user then do this.
sudo passwd mythtv
Enter a password, remember it.
now type this
su mythtv
enter the pw you just created above.
you should now be user mythtv. you can verify this by the change in the prompt to just a $ sign.
You can now run mythtv-setup as user mythtv. Or you can log out, and log back in as user mythtv. At login select mythtv or other if mythtv isn't an option. Depending on distro you run. Once you login as user mythtv you should go to the default desktop. from there, select mythv backend setup from the menu.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 7:02 pm
by heyted
When I use Mythbuntu Control Panel to install MythTV, the mythtv user is created automatically. I have used MCP on Ubuntu and Xubuntu, so I'm not sure it will work on Mint.

MCP wiki: https://www.mythtv.org/wiki/Mythbuntu_Control_Panel
wesnewell wrote:
Sat Aug 22, 2020 2:03 pm
su mythtv
enter the pw you just created above.
you should now be user mythtv. you can verify this by the change in the prompt to just a $ sign.
You can now run mythtv-setup as user mythtv.
Need to use xhost if doing it this way without logging out and back in as mythtv:
xhost +SI:localuser:mythtv

Edit: MCP cannot be used with Mint unless it is modified.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 7:19 pm
by heyted
Just another way to do it -- run as mythtv user without creating password for mythtv:
xhost +SI:localuser:mythtv
sudo --login --user=mythtv mythtv-setup

Re: XMLTV grabber for Schedules Direct JSON

Posted: Sat Aug 22, 2020 7:41 pm
by wesnewell
The mythtv user is created if you just install the mythtv package from the repo too. That's never been the problem here. Running mythtv-setup as a regular user is the problem. it creates all the SD files in the regular users home instead of the mythtv home so the grabber doesn't work when run by user mythtv. That's easy to fix manually in a couple of minutes.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Mon Aug 24, 2020 4:18 pm
by dragonflyoh
Having pains with installing MYTHTV. Decided to remove and try a clean install and after removal, using the command line, I reinstall and all of the old settings are still there. Thinking of quitting as I do not want to reinstall Mint to start over. Thanks for all of the help.

Re: XMLTV grabber for Schedules Direct JSON

Posted: Mon Aug 24, 2020 5:33 pm
by bill6502
"settings" is an actual table name in the mythconverg DB. I'm not sure if that's
what you're referring to above. When the package is removed, the DB isn't, so
everything, not just the settings table remains.

My experience has been that removing/reinstalling doesn't always solve issues.
While it can be useful, it isn't always.

If the only reason to doing it is getting XMLTV to work, I wouldn't reinstall.

A fresh mythfilldatabase.log may point to the issue or full command lines
with the resulting output are frequently of value.