XMLTV grabber for Schedules Direct JSON
Moderator: Forum Moderators
Re: XMLTV grabber for Schedules Direct JSON
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.
<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.
-
- Newcomer
- Posts: 8
- Joined: Mon Nov 03, 2014 11:07 pm
Re: XMLTV grabber for Schedules Direct JSON
My computer quit so I will be away for a while.
-
- Newcomer
- Posts: 8
- Joined: Mon Nov 03, 2014 11:07 pm
Re: XMLTV grabber for Schedules Direct JSON
Reinstalling MYTHTV should I make a mythtv user and login as it before setting up MYTHTV?
Re: XMLTV grabber for Schedules Direct JSON
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.
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
from a terminal type ls /home. it will list all users. You should already have a mythtv user. exp:dragonflyoh wrote: ↑Sat Aug 22, 2020 2:41 amReinstalling MYTHTV should I make a mythtv user and login as it before setting up MYTHTV?
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.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
Re: XMLTV grabber for Schedules Direct JSON
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
xhost +SI:localuser:mythtv
Edit: MCP cannot be used with Mint unless it is modified.
MCP wiki: https://www.mythtv.org/wiki/Mythbuntu_Control_Panel
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.
Last edited by heyted on Sat Sep 12, 2020 7:35 pm, edited 1 time in total.
Ted | My blog
Re: XMLTV grabber for Schedules Direct JSON
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
xhost +SI:localuser:mythtv
sudo --login --user=mythtv mythtv-setup
Ted | My blog
Re: XMLTV grabber for Schedules Direct JSON
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.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
-
- Newcomer
- Posts: 8
- Joined: Mon Nov 03, 2014 11:07 pm
Re: XMLTV grabber for Schedules Direct JSON
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
"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.
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.
- AnalogBill
- Junior
- Posts: 29
- Joined: Fri Feb 10, 2017 2:11 am
Re: XMLTV grabber for Schedules Direct JSON
Exactly what I did (years ago). Are you recommending to make mythtv the main user on the OS, or to use my username as the admin account on the OS but create a mythtv user before running the install and BE setup?wesnewell wrote: ↑Wed Aug 19, 2020 8:25 pm...Boot the install CD/DVD/USB stick. When asked for user name, most people will use their name. The system sets them up as the main user. There is no mythtv user at this time. And now the user does sudo apt-get install mythtv (or rpm or whatever depending on distro or from package manager) and the system installs all the stuff required to run a mythtv system including creating a user mythtv, but I'm user xyz.
Re: XMLTV grabber for Schedules Direct JSON
I'm sad to say Wes passed away. With Ubuntu, it is okay to install MythTV from multiverse or the Mythbuntu PPA without creating the mythtv user. The mythtv user will automatically be created during the install. BE setup (mythtv-setup) is most often run after switching the active user to mythtv. If using BE setup to configure the grabber with Schedules Direct, switching the user to mythtv must be done to get the files in the right place without having to move them later.
Ted | My blog
-
- Junior
- Posts: 63
- Joined: Sun Feb 12, 2017 8:08 pm
Re: XMLTV grabber for Schedules Direct JSON
1. For those of us who end up on this page in the forum because our problem matches the problem you describe, and who find it very hard to locate anything that they want in the wiki, it would be extremely helpful if the phrase "the four configuration commands in the wiki" were followed by a link to the appropriate page (or code listing) in the wiki itself.bill6502 wrote: ↑Sun Aug 16, 2020 11:40 pmTo answer the above, you really need to know which grabber you've selected.
You can use mythtv-setup or from a browser, go to <yourBackendHostNameOrIP>:6544/Channel/GetVideoSourceList
If tv_grab_zz_sdjson_sqlite was selected, then after running the four configuration commands in
the Wiki,
2. I believe that you are talking about the page https://www.mythtv.org/wiki/XMLTV. I believe that "Step 4" of this page is wrong. How do I make a suggestion and bring it to the attention of the person or people who can judge the merit of my suggestion?
Re: XMLTV grabber for Schedules Direct JSON
It's the four grabber commands here: https://www.mythtv.org/wiki/XMLTV#Setup ... son_sqlite .
Unique to the SQLite version.
Unique to the SQLite version.