I have an xml file I'd like to import into MythTV ver0.28, but I cant figure out the Mythfilldatabase command structure. I know there is a help file with the "--help" suffix. Using that I've tried every combination of --file --xmlfile I can think of. None of it is making much sense to me.
My guide file is called xmltv.xml. Can someone show me what the correct syntax is to send that file to the database?
I've tried many different ways attempting to figure out the snytax. As an example I tried:
"mythfilldatabase --file xmltv.xml"
That line failed complaining about Boolean values, so I've obviously used the parameters incorrectly.
I can't figure out Mythfilldatabase syntax (V0.28)
Moderator: Forum Moderators
Re: I can't figure out Mythfilldatabase syntax (V0.28)
have you tried
Code: Select all
mythfilldatabase --update --file --xmlfile xmltv.xml
Re: I can't figure out Mythfilldatabase syntax (V0.28)
Well that failed too. First "--update" is depreciated. Changed to what follows, then I got these errors:
Any ideas? The errors don't mean much to a non-programmer like me.
Code: Select all
mark@mythtv:~$ mythfilldatabase --only-update-guide --file --xmlfile xmltv.xml
ERROR: --file requires all of the following be defined as well
--sourceid --xmlfile
mythfilldatabase version: fixes/0.28 [v0.28-35-g812ec08] www.mythtv.org
Option: --file
Type: bool
Default: false
Description: Directly define the sourceid and XMLTV file to import.
Allows the use of:
--xmlfile
Requires the use of:
--sourceid --xmlfile
Prevents the use of:
--dd-file --remove-new-channels
mark@mythtv:~$
Re: I can't figure out Mythfilldatabase syntax (V0.28)
you need to add this tells it to set the data for your first video source. if you have multiple video sources you may need a different number
Code: Select all
--sourceid 1
Re: I can't figure out Mythfilldatabase syntax (V0.28)
Thanks, this seems to have worked:
"mythfilldatabase --file --sourceid 1 --xmlfile xmltv.xml"
It ran and I saw update type messages but my guide is still populated with the OTA EIT data. I think I probably have to go into Mythsetup and change something. Anyway I think you've solved my syntax issue. Thanks again.
"mythfilldatabase --file --sourceid 1 --xmlfile xmltv.xml"
It ran and I saw update type messages but my guide is still populated with the OTA EIT data. I think I probably have to go into Mythsetup and change something. Anyway I think you've solved my syntax issue. Thanks again.