Changeset 9
- Timestamp:
- 10/14/06 02:37:51
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plagger/trunk/my-plugins/Filter-FetchEnclosure-Mplayer/Mplayer.pm
r8 r9 33 33 } 34 34 35 my $dir_name = $self->conf->{sub_dir_name} || $args->{feed}->id_safe; 35 36 my $feed_dir 36 = File::Spec->catfile($self->conf->{dir}, $ args->{feed}->id_safe);37 = File::Spec->catfile($self->conf->{dir}, $dir_name); 37 38 unless (-e $feed_dir && -d _) { 38 39 $context->log(info => "mkdir $feed_dir"); … … 79 80 $enclosure->local_path($output_path); 80 81 $context->log(info => "Dumping to $output_path is done [$length]"); 81 } else { 82 } 83 else { 82 84 $context->log(warn => "Can not dump to $output_path"); 83 85 $context->log(info => "Deleting $output_path"); … … 125 127 config: 126 128 dir: /path/to/download 127 option: -mplayer -option s 128 fetchfor: mp3 129 type: asf 129 130 130 131 =head1 DESCRIPTION
