Ticket #1731: mythtv-mythfilldatabase-do_channel_updates.patch
File mythtv-mythfilldatabase-do_channel_updates.patch, 1.5 KB (added by , 18 years ago) |
---|
-
programs/mythfilldatabase/filldata.cpp
821 821 822 822 DataDirectProcessor::UpdateChannelsSafe(source.id, insert_channels); 823 823 824 // User must pass "--do _channel_update" for these updates824 // User must pass "--do-channel-updates" for these updates 825 825 if (channel_updates) 826 826 DataDirectProcessor::UpdateChannelsUnsafe(source.id); 827 827 // TODO delete any channels which no longer exist in listings source … … 3369 3369 cout << "### reading channels from xawtv configfile\n"; 3370 3370 from_xawfile = true; 3371 3371 } 3372 else if (!strcmp(a.argv()[argpos], "--do_channel_updates")) 3372 else if ((!strcmp(a.argv()[argpos], "--do-channel-updates")) || 3373 (!strcmp(a.argv()[argpos], "--do_channel_updates"))) 3373 3374 { 3374 3375 channel_updates = true; 3375 3376 } … … 3575 3576 cout << " <sourceid> = cardinput\n"; 3576 3577 cout << " <xawtvrcfile> = file to read\n"; 3577 3578 cout << "\n"; 3578 cout << "--do _channel_updates\n";3579 cout << "--do-channel-updates\n"; 3579 3580 cout << " When using DataDirect, ask mythfilldatabase to\n"; 3580 3581 cout << " overwrite channel names, frequencies, etc. with the\n"; 3581 3582 cout << " values available from the data source. This will \n";