~ubuntu-branches/ubuntu/quantal/mythtv/quantal

« back to all changes in this revision

Viewing changes to mythtv/programs/mythfilldatabase/commandlineparser.cpp

  • Committer: Package Import Robot
  • Author(s): Mario Limonciello, Thomas Mashos, Mario Limonciello
  • Date: 2012-03-16 00:52:42 UTC
  • mfrom: (1.1.79)
  • Revision ID: package-import@ubuntu.com-20120316005242-6eyukczejti9yd7o
Tags: 2:0.25.0~master.20120316.53761e2-0ubuntu1
[ Thomas Mashos ]
* Updated DB schema for standard plugins (LP: #944128)

[ Mario Limonciello ]
* Remove references to mythmessage.
* Fix permissions on all existing log files on upgrade.
* New upstream checkout (53761e2)
* >>Upstream changes since last upload (6519666):
* [53761e2] Use toLocal8Bit() for loading mysql.txt.
* [c3b022a] Don't display frontend status box log viewer button
* [8284bb7] Mention the detected character encoding
* [fa639a7] Make users have to figure out if their video works
* [5fb541e] Update Youtube player API to v3.
* [2ce3690] Identify DVD commentary tracks in the Audio track
  selection dialog.
* [cbd9703] Prevent showing 0x0 artwork when a recording doesn't have
  Seas/Ep.
* [9c4e7fd] Slight mod on [be81782c0] (function names).
* [187e37d] Close DB connections before running jobs.
* [be81782] Make sure we cleanup DB connections before thread exit
  (non-MThread).
* [201c153] Missed a change from 1a651934c
* [9b6cdba] Rename 'file browse mode' to try and discourage it's use.
  Browsing the database is now 'Browse Library (recommended) and what
  was called file browse is now 'Browse Filesystem (slow)'
* [9e80861] Rename 'Enable/Disable Flat view' in the video browser to
  'Show/Hide Directory Structure' to try and reduce the confusion this
  mode currently causes.
* [1a65193] Only display the standby screen if the master backend is
  configured to shut down when idle. We can assume that if the user
  hasn't configured their backend to shut down then they don't care to
  know that the frontends are idle.
* [15a85ec] Call DestoyMythMainWindow() before exit, even on error
  exits.
* [d3b4762] Subtitles: Try to reenable the previously selected caption
  type.
* [20a5628] Don't increment the number of channels returned by
  libdvdnav. This was causing 5.1 audio to be wrongly identified as 7
  channel, and stereo as 3 channel.
* [c61bb1e] Add debugging for the DVD audio language extension code
  which may prove useful in the future.
* [f8d2de0] Fully clear the audio ringbuffer when using AC3 re-encoder
* [f6a8650] Partially revert 5dccbd5f6b3019a67ecc69213ee405bba4b30994
* [cc2ad7f] Revert "Fix potential leak"
* [3e26728] Merge branch 'master' of github.com:MythTV/mythtv
* [684272a] Fix the naming of some jumppoints.
* [8acfc87] Fix mac compilation using Qt 4.8.0
* [6ed2587] Allow more room for double-digit cardids in the
  MythCenter[-wide] and default[-wide] themes.
* [f31d9a7] Fix potential leak
* [fd36db9] Ignore DVD commentary and AD tracks when auto-selecting
  the audio track.
* [3e4ec54] Merge branch 'master' of github.com:MythTV/mythtv
* [5c1f50d] MythCenter-wide: Tidy up a few screen titles
* [9b6e4e1] Remove MythMessage binary.
* [1b29d50] MythCenter-wide: Tidy up the 'Custom Record Rules' screen
* [f56bdfc] MythCenter-wide: Make the multi-line edit resizeable
* [2b908b4] Squash a pesky compiler warning.
* [c050aca] Remove unused "oldJar".
* [ad7ee3f] Fix the frontend entering 'manual' standby mode instead of
  'automatic' standby mode. The net effect of which being that you can
  only exit standby by pressing escape when any input should have
  exited.
* [7ccf016] MythCenter-wide: Add the MythArchive ui files and animate
  a popup
* [706d0ed] MythArchive: Use the default popup background image for
  both default themes
* [0df6e17] MythZoneminder: Use the default popup background image for
  both default themes
* [499f86a] MythCenter-wide: Animate the MythZoneminder functionpopup
* [b80d1e2] MythCenter-wide: Add the popup keyboard so it can be
  animated
* [898a01a] MythCenter-wide: Add the MythMusic theme files and animate
  a few popups
* [3a09730] MythCenter-wide: Add the MythTimeInputDialog popup so it
  can be animated
* [659bf60] MythCenter-wide: Animate some of the popups
* [a145733] Frontend Service: Fix Playback of recordings. The Setting
  of the time spec was breaking playback.
* [5d1e0c3] Merge branch 'master' of github.com:MythTV/mythtv
* [658a4ec] MythMusic: Preserve the play state when switching views.
  Fixes #10412.
* [de9b19d] XML plist serializer: Fix dictionary in array
  serialization.
* [4fee6b1] XML plist serializer: Do not output invalid date/null
  bytearrays.
* [e42b2db] Fix plist serializer.
* [86d4de8] Make XML plist serializer dates work with Apple plist
  parser.
* [c25fb44] MythMusic: Tidy up the display of the play/paused/stopped
  player state
* [36d87af] Update description of decoder field.
* [16ff44e] Add description for vda decoder
* [72497f6] Add default OpenGL playback profiles
* [cfd1ce2] Add default VDA playback profiles
* [2ab6d31] Merge branch 'master' of github.com:MythTV/mythtv
* [3cb4b6a] Ensure mount is available before
  MythMediaDevice::ScanMediaType(). Refs #10450
* [a4d48df] MythMusic: Don't resume playback when switching views and
  the playlist is empty
* [c09b076] MythMusic: change a couple of <dynamic_cast>  to
  <static_cast>
* [47c9ac2] Various Ceton recorder fixes.
* [f261f8e] Add a couple more FreeSat transports to the EIT fixup
  list. This helps keep Freeview and FreeSat guide data consistent
* [1399a9c] Make mythuiwebbrowser and mythdownloadmanager share
  cookies
* [78a637c] NUV playback: Use a more accurate bitrate estimation if
  available.
* [0f7651e] Do not disable LPCM if 16 bits audio isn't available
* [083fe59] Fix RingBuffer starvation when playing .nuv files.
* [c419275] Fix DB locking issue on MySQL 5.5
* [ff73126] Fix a PreviewGenerator dtor race.
* [0542a10] Refs #10414. Lower HDHomeRun recorder CPU usage a tiny bit
  more.
* [1578678] Fixes #10420 - Invalid data type in VideoLookup XSD
* [6a0e4a2] Fixes #10441 - Invalid data types in Frontend web service
  XSDs
* [2f6c4ee] Refs #10414. Lower DTVRecorder CPU use.
* [cc55c12] Add some sanity checking to manual cutlist input.
* [33fc9c4] Updated Russian Mythfrontend, MythBrowser, MythGallery,
  MythGame, MythMusic and MythZoneMinder translation.
* [eac7f47] Subtitles: Improve layout of zoomed CEA-608 captions.
* [f51f5ea] Updated Greek MythFrontend, MythArchive, MythBrowser,
  MythGallery, MythGame, MythMusic, MytWeather, MythZonMinder
  translation from Yianni Visalis.
* [d2f4ae0] Fix a segfault when trying to search a buttonlist with no
  items
* [836d501] Updated German MythFrontend, MythArchive, MythBrowser,
  Mythgame, MythMusic and MythZoneminder translation from Florian
  Bittner.
* [7862c79] Remove some unintended debugging print statements.
* [e1d3ac8] Add some intelligent behavior to help printout.
* [ebe802f] Make child options visible in help when an invalid option
  is used.
* [46f6c4a] Tweak --help description in commandlineparser.
* [544094c] Correct handling of old --refresh-day option.
* [495e662] Change delete dialog text to read 'permanently delete'.
  Just to avoid any doubt.
* [e05d654] Revert de7acc4ef now that we no longer focus 'OK' but
  default in the delete confirmation dialog.
* [d353525] Always default to focusing the 'Cancel' button in
  confirmation dialogs, confirmation dialogs are used when we want to
  prevent the user making a mistake which is still too easy to do if
  'OK' is selected by default.
* [3d2f68a] Add more detail to syslog logging
* [37cacb6] Fix RTP IPTV with multiple IPTV interfaces. 1ed419ad
  applied a fix for udp IPTV where more than one interface was
  available, it didn't apply the fix for rtp which uses the same
  socket code. Fixes #8767, Refs #3873
* [1c2ce6a] Correct --inversecut handling in mythtranscode.
* [d62595d] Update python installer to properly remove installed
  scripts.
* [f6f2fbb] Fix a couple of incorrect dtors
* [c114dd5] If the downloadable themes cache dir doesn't exist, force
  redownload.
* [5201fb9] Remove unnecessary comment.
* [7d76de7] Add log messages missing from a couple of DB upgrades
* [4753c7a] Require a reasonably current DB version on upgrade
* [0bc768e] Fix some DB locking issues on MySQL 5.5
* [9fb1c3e] MythMusic: Add the nodetype statetype to the default 4:3
  playlist tree
* [7d42720] Revert "Revert to using Any address."
* [bbfda96] Fix sub-folder node not displaying artwork of the first
  child in the tree view. This was working in all the other views but
  not in the tree view.
* [23f3e6f] Revert to using Any address.
* [177fdbb] Use MythDownloadManger for downloading icons in
  mythfilldatabase. HttpComms doesn't support SSL.
* [1558b6e] Prompt on exit if configuration is ambiguous.
* [e022c2c] Remove limit from 1256 DB update.
* [3474fc2] Add explicit warning for removed -l and --logfile command
  line options.
* [5ddc5aa] Prevent segfaults in mythuicheckbox if the theme xml is
  missing required components.
* [e78a9ff] Add missing JOB_REBUILD flag for queuing seektable
  rebuilds.
* [7a5db2b] Prevent segfault in mythuibuttontree with malformed theme
  xml.
* [fa6fb44] Add NULL initializer to m_udpSend in ServerPool class.
* [48ba349] Fix new piano visualiser.
* [b522d60] Fix missing headers when compiling under mac 10.5
* [d65a742] Fix compilation when using 10.5 SDK.
* [814e880] MythUI: Optimize MythUIText::DrawSelf to quit if there is
  nothing to draw.
* [c24c55a] Terra: Fix the defined area of the filebrowser and large
  menu popup so that mouse click don't go to the window behind the
  popup. Should also prevent redraw issues, especially with the QT
  painter.
* [498f9f6] MythMusic: Add a nodetype statetype to the playlist tree
* [1ceab85] Add link to disable xslt translation of xsd in browsers
  (also cleaned up display of array types).
* [293175a] Use a dedicated, unbound QUdpSocket for writeDatagram in
  ServerPool.
* [63555a6] Add 'removed' options to assorted applications.
* [ddb9514] Fix getSetting method in javascript.
* [07abfa6] Add mechanism for marking command line options as removed.
  ABI bump.
* [2be3dd9] Fixes #10414. Ensure sufficient buffering and sleep longer
  when there is no data.
* [d8053e4] Refs #10414. Fix HDHomeRun makefile so it can compile
  firmware update tool.
* [a8131eb] MythMusic: Remove some code left over from the old UI.
  Fixes #10415.
* [e9e021a] MythNews: Fix some text that was causing
  GetImageFromTextLayout() to complain
* [b65c43f] Allow rating changes even if no rating statetype is
  defined in the body of the screen. The logic of not changing the
  rating if the user cannot see the changes made is sound, however
  making it so that we check if the buttonlist is displaying the
  rating is not trivial and cannot be done in a feature freeze. It's
  better than that THMBUP/THMBDOWN work than having them silently
  fail.
* [1d8fcde] Fix OS X default for ejectOpticalDisc(), improve verbose
  output. Refs #10370
* [67c86db] Verbose output - shorten a line to prevent wrap in 80col.
* [fef4aa4] setSpeed() - eliminate spurious -v media log line if Media
  Monitor disabled.
* [ede2706] OS X setSpeed() - use correct drive path. Refs #10370
* [fd1800a] Remove --logfile and -l parameters
* [a9bf1d3] Rename vdpaubuffersize option to vdpaubuffercount.
* [9e62067] Fixes #7923. Listen for CAT changes.
* [f00264f] Change the idletimer from single shot so that we don't get
  stuck in standby mode under certain conditions.
* [7433393] When the idle timer fires display the standby screen.
* [d8f180f] Add a jumppoint to enter standby mode manually.
* [a4ca569] Add a setting to configure how long the frontend remains
  idle before we enter standby mode. Defaults to 90 minutes. A value
  of zero will disable the timer. Video playback suspends the timer,
  but currently listening to music does not.
* [d2edb8b] Add gitignore for smolt files.
* [3a51b83] Fixes #10400. Avoid getting stuck on mux in EPG channel
  changes.
* [031d488] Fixes #10416. Really pause decoder thread when we are
  changing the decoder for JumpToProgram.
* [f1937ea] 'Default Playlist' sounds better than 'Unnamed Playlist'
* [1d9ebef] Use QLocale::toString() to format some numerical strings
  correctly
* [069c177] Remove dead code from musiccommon
* [c6c32d1] Use the host name from the request instead of localhost.
* [31a6a77] Set default playlist name to 'Unnamed Playlist' since
  users will see it.
* [b907e36] Fix playlist mapped text not being available to use in the
  UI
* [3e0d4c6] Include the playlist name in the mapped text.
* [bf67594] Fix images in buttonlists not being Reset() when passed an
  empty filename string.
* [c5e5236] Don't hardcode the image shown when no albumart is
  available. This allows the themer to not show any image instead or
  to show their own image with a different path.
* [3430222] Fix a crash when executing a jump point during a playlist.
* [cf9ee65] Fix showing warnings on invalid schema versions
* [3758090] Mute address selection warning if using defaults.
* [79603b1] Add '!' missed during move in f5aa5e835b74.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
            "overwrite channel names, frequencies, etc. with "
84
84
            "values available from the data source. This will "
85
85
            "override custom channel names, which is why it "
86
 
            "is disabled by default.");
 
86
            "is disabled by default.")
 
87
        ->SetGroup("Channel List Handling");
87
88
    add("--remove-new-channels", "removechannels", false,
88
89
            "disable new channels on datadirect web interface",
89
90
            "When using DataDirect, ask mythfilldatabase to "
93
94
            "MythTV by running mythfilldatabase without this "
94
95
            "option. New digital channels cannot be directly "
95
96
            "imported and thus are disabled automatically.")
96
 
        ->SetBlocks("file");
 
97
        ->SetBlocks("file")
 
98
        ->SetGroup("Channel List Handling");
97
99
    add("--do-not-filter-new-channels", "nofilterchannels", false,
98
100
            "don't filter ATSC channels for addition",
99
101
            "Normally, MythTV tries to avoid adding ATSC "
100
102
            "channels to NTSC channel lineups. This option "
101
103
            "restores the behavior of adding every channel in "
102
104
            "the downloaded channel lineup to MythTV's lineup, "
103
 
            "in case MythTV's smarts fail you.");
 
105
            "in case MythTV's smarts fail you.")
 
106
        ->SetGroup("Channel List Handling");
104
107
    // need documentation for this one
105
108
    add("--cardtype", "cardtype", "", "", "No information.");
106
109
 
116
119
            "    #[-#]\n"
117
120
            "    all\n\n"
118
121
            "example:\n"
119
 
            "   --refresh today --refresh 4-8 --refresh nottomorrow");
 
122
            "   --refresh today --refresh 4-8 --refresh nottomorrow")
 
123
        ->SetGroup("Filtering");
120
124
 
121
125
    add("--max-days", "maxdays", 0, "force number of days to update",
122
126
            "Force the maximum number of days, counting today, "
123
127
            "for the guide data grabber to check for future "
124
 
            "listings.");
 
128
            "listings.")
 
129
        ->SetGroup("Filtering");
125
130
    add("--refresh-today", "refreshtoday", false, "",
126
131
            "This option is only valid for selected grabbers.\n"
127
132
            "Force a refresh for today's guide data.\nThis can be used "
128
133
            "in combination with other --refresh-<n> options.\n"
129
134
            "If being used with datadirect, this option should not be "
130
135
            "used, rather use --dd-grab-all to pull all listings each time.")
131
 
        ->SetDeprecated("use --refresh instead");
 
136
        ->SetDeprecated("use --refresh instead")
 
137
        ->SetGroup("Filtering");
132
138
    add("--dont-refresh-tomorrow", "dontrefreshtomorrow", false, "",
133
139
            "This option is only valid for selected grabbers.\n"
134
140
            "Prevent mythfilldatabase from pulling information for "
136
142
            "unless specifically specified otherwise.\n"
137
143
            "If being used with datadirect, this option should not be "
138
144
            "used, rather use --dd-grab-all to pull all listings each time.")
139
 
        ->SetDeprecated("use --refresh instead");
 
145
        ->SetDeprecated("use --refresh instead")
 
146
        ->SetGroup("Filtering");
140
147
    add("--refresh-second", "refreshsecond", false, "",
141
148
            "This option is only valid for selected grabbers.\n"
142
149
            "Force a refresh for guide data two days from now. This can "
143
150
            "be used in combination with other --refresh-<n> options.\n"
144
151
            "If being used with datadirect, this option should not be "
145
152
            "used, rather use --dd-grab-all to pull all listings each time.")
146
 
        ->SetDeprecated("use --refresh instead");
147
 
    add("--refresh-day", "refreshday", 0U, "",
 
153
        ->SetDeprecated("use --refresh instead")
 
154
        ->SetGroup("Filtering");
 
155
    add("--refresh-day", "refreshday", QVariant::StringList, "",
148
156
            "This option is only valid for selected grabbers.\n"
149
157
            "Force a refresh for guide data on a specific day. This can "
150
158
            "be used in combination with other --refresh-<n> options.\n"
151
159
            "If being used with datadirect, this option should not be "
152
160
            "used, rather use --dd-grab-all to pull all listings each time.")
153
 
        ->SetDeprecated("use --refresh instead");
 
161
        ->SetDeprecated("use --refresh instead")
 
162
        ->SetGroup("Filtering");
154
163
    add("--dont-refresh-tba", "dontrefreshtba", false,
155
164
            "don't refresh \"To be announced\" programs",
156
165
            "This option is only valid for selected grabbers.\n"
157
166
            "Prevent mythfilldatabase from automatically refreshing any "
158
167
            "programs marked as \"To be announced\".\n"
159
168
            "If being used with datadirect, this option should not be "
160
 
            "used, rather use --dd-grab-all to pull all listings each time.");
 
169
            "used, rather use --dd-grab-all to pull all listings each time.")
 
170
        ->SetGroup("Filtering");
161
171
 
162
172
    add("--refresh-all", "refreshall", false, "",
163
173
            "This option is only valid for selected grabbers.\n"
169
179
        ->SetBlocks("dontrefreshtomorrow")
170
180
        ->SetBlocks("refreshsecond")
171
181
        ->SetBlocks("refreshday")
172
 
        ->SetBlocks("maxdays");
 
182
        ->SetBlocks("maxdays")
 
183
        ->SetGroup("Filtering");
173
184
 
174
185
    add("--dd-grab-all", "ddgraball", false,
175
186
            "refresh full data using DataDirect",
187
198
    add("--only-update-channels", "onlychannels", false,
188
199
            "only update channel lineup",
189
200
            "Download as little listings data as possible to update the "
190
 
            "channel lineup.");
 
201
            "channel lineup.")
 
202
        ->SetGroup("Channel List Handling");
191
203
    add("--no-mark-repeats", "markrepeats", true, "do not mark repeats", "");
192
204
    add("--export-icon-map", "exporticonmap", "iconmap.xml",
193
 
            "export icon map to file", "");
 
205
            "export icon map to file", "")
 
206
        ->SetGroup("Channel Icon Handling");
194
207
    add("--import-icon-map", "importiconmap", "iconmap.xml",
195
 
            "import icon map to file", "");
 
208
            "import icon map to file", "")
 
209
        ->SetGroup("Channel Icon Handling");
196
210
    add("--update-icon-map", "updateiconmap", false,
197
 
            "updates icon map icons", "");
 
211
            "updates icon map icons", "")
 
212
        ->SetGroup("Channel Icon Handling");
198
213
    add("--reset-icon-map", "reseticonmap", "", "resets icon maps",
199
214
            "Reset all icon maps. If given 'all' as an optional value, reset "
200
 
            "channel icons as well.");
 
215
            "channel icons as well.")
 
216
        ->SetGroup("Channel Icon Handling");
 
217
 
 
218
    add("--graboptions", "graboptions", "", "", "")
 
219
        ->SetRemoved("mythfilldatabase now passes any text after an\n"
 
220
           "          independent '--' directly to the external grabber.\n"
 
221
           "          e.g. mythfilldatabase -- --daily", "0.25");
 
222
    add("--mark-repeats", "oldmarkrepeats", "", "", "")
 
223
        ->SetRemoved("This is now the default behavior. Use\n"
 
224
           "          --no-mark-repeats to disable.", "0.25");
201
225
}