Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-773

Pass command-line arguments to QtApplication

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.4
    • 1.3.2
    • Other
    • None

      Picard don't handle command-line arguments as a Qt Application should, it has for effect to break the expected behavior for such application.

      According to http://pyqt.sourceforge.net/Docs/PyQt4/qapplication.html#QApplication, args are supposed to come from the command line, those are common options supported by any Qt app (+ those for X11 eventually).
      It happens we are not accepting them due to code at https://github.com/musicbrainz/picard/blob/master/picard/tagger.py#L683

      A command like `picard -d -reverse` should work, and it isn't !

            zas Zas
            zas Zas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                1.4