root/config/plagger/yusukebe/hatebu-youtube2podcast.yaml

Revision 20079, 1.1 kB (checked in by drry, 9 months ago)
  • removed unnecessary props.
Line 
1global:
2  assets_path: /path/to/assets/
3 
4plugins:
5
6  - module: Subscription::Config
7    config:
8      feed:
9          - url: http://b.hatena.ne.jp/kamawada/atomfeed?tag=forpodcast
10
11  - module: Filter::AtomLinkRelated
12
13  - module: Filter::FindEnclosures
14 
15  - module: Filter::FetchEnclosure
16    config:
17      dir: /home/user/dir
18    rule:
19      module: Deduped
20      path: ./deduped.db
21
22  - module: Filter::FFmpeg
23    config:
24      command: /usr/bin/ffmpeg
25      ext: mp4
26      dir: /home/user/dir
27      encoding: utf8
28      extra_options: -coder 0 -level 13 -ac 2
29      options:
30        video_codec:         h264
31        bitrate:             600
32        audio_codec:         aac
33        audio_sampling_rate: 44100
34        audio_bit_rate:      128
35        frame_size:          432x320
36
37  - module: Filter::RewriteEnclosureURL
38    config:
39      rewrite:
40        - local: /home/user/dir
41          url: http://localhost/~user/dir
42
43  - module: Filter::Rule
44    rule:
45      expression: $args->{entry}->title($1) if $args->{entry}->title =~ /YouTube - (.*)/
46     
47  - module: Publish::Feed
48    config:
49      format: RSS
50      dir: /home/user/dir
51      filename: podcast.xml
52
53
Note: See TracBrowser for help on using the browser.