Modify

Ticket #10674 (closed Bug Report - General: Invalid)

Opened 13 months ago

Last modified 13 months ago

Mythfilldatabase does not accept --file parameters

Reported by: martin_ginkel@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.25-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I used mythfilldatabase with xml files downloaded from an external source. I used to call mythfilldatabase --file 1 <xmlfile>

but apparently the getopt parser has been rewritten to assume --file is a boolean parameter only:

mythfilldatabase --file ~/.mythXml/2012_05/05_01.xml

Boolean type options do not accept values:

--file

Received '/home/ginkel/.mythXml/2012_05/05_01.xml' but unassociated arguments have not been enabled mythfilldatabase version: fixes/0.25 [v0.25-59-gae7ac79] www.mythtv.org Misc. Options: ... --file Bypass grabbers and define sourceid and file

--xmlfile XML file to import manually

mythfilldatabase --file 1 ~/.mythXml/2012_05/05_01.xml

Boolean type options do not accept values:

--file

Received '1' but unassociated arguments have not been enabled mythfilldatabase version: fixes/0.25 [v0.25-59-gae7ac79] www.mythtv.org Misc. Options: ... --file Bypass grabbers and define sourceid and file

--xmlfile XML file to import manually

Attachments

Change History

comment:1 Changed 13 months ago by kenni

  • Status changed from new to closed
  • Resolution set to Invalid

The --file argument is a boolean in 0.25-fixes as you wrote yourself. Try with the following syntax:

mythfilldatabase --update --file --sourceid 1 --xmlfile file.xml
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.