Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10674: Mythfilldatabase does not accept --file parameters

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Apr 30, 2012, 1:19 AM

Post #1 of 2 (159 views)
Permalink
Ticket #10674: Mythfilldatabase does not accept --file parameters

#10674: Mythfilldatabase does not accept --file parameters
-----------------------------+--------------------------------------
Reporter: martin_ginkel@… | Type: Bug Report - General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: 0.25-fixes | Severity: medium
Keywords: | Ticket locked: 0
-----------------------------+--------------------------------------
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

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10674>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 30, 2012, 6:31 AM

Post #2 of 2 (149 views)
Permalink
Re: Ticket #10674: Mythfilldatabase does not accept --file parameters [In reply to]

#10674: Mythfilldatabase does not accept --file parameters
----------------------------------+----------------------------
Reporter: martin_ginkel@… | Owner:
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution: Invalid
Keywords: | Ticket locked: 0
----------------------------------+----------------------------
Changes (by kenni):

* status: new => closed
* resolution: => Invalid


Comment:

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
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10674#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.