Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

--refresh updates the index, not --update

  • Loading branch information...
commit f4332a9d68030c0efbd12f627878a7ae5db9fda5 1 parent 8f6d751
@caius caius authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 get_iplayer
View
6 get_iplayer
@@ -2876,7 +2876,7 @@ sub usage {
'.PP',
'\fBget_iplayer\fR \fB--stream\fR [<options>] \fB--type\fR=livetv,liveradio <regex|index> \fB--player\fR="mplayer -cache 128 -"',
'.PP',
- '\fBget_iplayer\fR \fB--update\fR',
+ '\fBget_iplayer\fR \fB--refresh\fR',
'.SH DESCRIPTION',
'\fBget_iplayer\fR lists, searches and records BBC iPlayer TV/Radio, BBC Podcast programmes. Other 3rd-Party plugins may be available.',
'.PP',
@@ -2902,7 +2902,7 @@ sub usage {
push @usage, ' Stream BBC Embedded Media URL: get_iplayer --stream --type=<TYPE> "<URL>" | mplayer -cache 128 -' if $helplevel != 2;
push @usage, ' Stream Live iPlayer Programme: get_iplayer --stream --type=livetv,liveradio <REGEX|INDEX> --player="mplayer -cache 128 -"' if $helplevel != 2;
push @usage, '';
- push @usage, ' Update get_iplayer: get_iplayer --update [--force]';
+ push @usage, ' Update get_iplayer: get_iplayer --refresh [--force]';
push @usage, '';
push @usage, ' Basic Help: get_iplayer --basic-help' if $helplevel != 2;
push @usage, ' Intermediate Help: get_iplayer --help' if $helplevel == 2;
@@ -9054,7 +9054,7 @@ sub add {
return 1;
}
# Parse valid options and create array (ignore options from the options files that have not been overriden on the cmdline)
- for ( grep !/(webrequest|future|nocopyright|^test|metadataonly|subsonly|thumbonly|stdout|^get|update|^save|^prefs|help|expiry|nowrite|tree|terse|streaminfo|listformat|^list|showoptions|hide|info|pvr.*)$/, sort {lc $a cmp lc $b} keys %{$opt_cmdline} ) {
+ for ( grep !/(webrequest|future|nocopyright|^test|metadataonly|subsonly|thumbonly|stdout|^get|refresh|^save|^prefs|help|expiry|nowrite|tree|terse|streaminfo|listformat|^list|showoptions|hide|info|pvr.*)$/, sort {lc $a cmp lc $b} keys %{$opt_cmdline} ) {
if ( defined $opt_cmdline->{$_} ) {
push @options, "$_ $opt_cmdline->{$_}";
main::logger "DEBUG: Adding option $_ = $opt_cmdline->{$_}\n" if $opt->{debug};
Please sign in to comment.
Something went wrong with that request. Please try again.