Skip to content
This repository
Browse code

--refresh updates the index, not --update

  • Loading branch information...
commit f4332a9d68030c0efbd12f627878a7ae5db9fda5 1 parent 8f6d751
Caius Durling caius authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 get_iplayer
6 get_iplayer
@@ -2876,7 +2876,7 @@ sub usage {
2876 2876 '.PP',
2877 2877 '\fBget_iplayer\fR \fB--stream\fR [<options>] \fB--type\fR=livetv,liveradio <regex|index> \fB--player\fR="mplayer -cache 128 -"',
2878 2878 '.PP',
2879   - '\fBget_iplayer\fR \fB--update\fR',
  2879 + '\fBget_iplayer\fR \fB--refresh\fR',
2880 2880 '.SH DESCRIPTION',
2881 2881 '\fBget_iplayer\fR lists, searches and records BBC iPlayer TV/Radio, BBC Podcast programmes. Other 3rd-Party plugins may be available.',
2882 2882 '.PP',
@@ -2902,7 +2902,7 @@ sub usage {
2902 2902 push @usage, ' Stream BBC Embedded Media URL: get_iplayer --stream --type=<TYPE> "<URL>" | mplayer -cache 128 -' if $helplevel != 2;
2903 2903 push @usage, ' Stream Live iPlayer Programme: get_iplayer --stream --type=livetv,liveradio <REGEX|INDEX> --player="mplayer -cache 128 -"' if $helplevel != 2;
2904 2904 push @usage, '';
2905   - push @usage, ' Update get_iplayer: get_iplayer --update [--force]';
  2905 + push @usage, ' Update get_iplayer: get_iplayer --refresh [--force]';
2906 2906 push @usage, '';
2907 2907 push @usage, ' Basic Help: get_iplayer --basic-help' if $helplevel != 2;
2908 2908 push @usage, ' Intermediate Help: get_iplayer --help' if $helplevel == 2;
@@ -9054,7 +9054,7 @@ sub add {
9054 9054 return 1;
9055 9055 }
9056 9056 # Parse valid options and create array (ignore options from the options files that have not been overriden on the cmdline)
9057   - 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} ) {
  9057 + 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} ) {
9058 9058 if ( defined $opt_cmdline->{$_} ) {
9059 9059 push @options, "$_ $opt_cmdline->{$_}";
9060 9060 main::logger "DEBUG: Adding option $_ = $opt_cmdline->{$_}\n" if $opt->{debug};

0 comments on commit f4332a9

Please sign in to comment.
Something went wrong with that request. Please try again.