46 | | [ { 'name' => "auto", |
47 | | 'desc' => "{ConvertBinaryFile.convert_to.auto}" }, |
48 | | { 'name' => "html", |
49 | | 'desc' => "{ConvertBinaryFile.convert_to.html}" }, |
50 | | { 'name' => "text", |
51 | | 'desc' => "{ConvertBinaryFile.convert_to.text}" }, |
| 46 | [ |
| 47 | # { 'name' => "auto", |
| 48 | # 'desc' => "{ConvertBinaryFile.convert_to.auto}" }, |
| 49 | # { 'name' => "html", |
| 50 | # 'desc' => "{ConvertBinaryFile.convert_to.html}" }, |
| 51 | # { 'name' => "text", |
| 52 | # 'desc' => "{ConvertBinaryFile.convert_to.text}" }, |
129 | | if (!defined $secondary_plugin_options->{'PagedImagePlugin'}){ |
130 | | $secondary_plugin_options->{'PagedImagePlugin'} = []; |
131 | | } |
132 | | my $pagedimg_options = $secondary_plugin_options->{'PagedImagePlugin'}; |
133 | | push(@$pagedimg_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); |
134 | | push(@$pagedimg_options, "-create_thumbnail", "true", "-create_screenview", "true"); |
135 | | push(@$pagedimg_options, "-file_rename_method", "none"); |
136 | | push(@$pagedimg_options, "-processing_tmp_files"); |
| 135 | if (!defined $secondary_plugin_options->{$secondary_plugin_name}) { |
| 136 | $secondary_plugin_options->{$secondary_plugin_name} = []; |
| 137 | } |
| 138 | my $specific_options = $secondary_plugin_options->{$secondary_plugin_name}; |
| 139 | |
| 140 | push(@$specific_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); |
| 141 | push(@$specific_options, "-create_thumbnail", "true", "-create_screenview", "true"); |
| 142 | push(@$specific_options, "-file_rename_method", "none"); |
| 143 | push(@$specific_options, "-processing_tmp_files"); |
| 144 | |
| 145 | # my $secondary_plugin_options = $self->{'secondary_plugin_options'}; |
| 146 | |
| 147 | # if (!defined $secondary_plugin_options->{'PagedImagePlugin'}){ |
| 148 | # $secondary_plugin_options->{'PagedImagePlugin'} = []; |
| 149 | # } |
| 150 | # my $pagedimg_options = $secondary_plugin_options->{'PagedImagePlugin'}; |
| 151 | # push(@$pagedimg_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); |
| 152 | # push(@$pagedimg_options, "-create_thumbnail", "true", "-create_screenview", "true"); |
| 153 | # push(@$pagedimg_options, "-file_rename_method", "none"); |
| 154 | # push(@$pagedimg_options, "-processing_tmp_files"); |