|
Revision 22068, 2.0 kB
(checked in by hsbt, 4 weeks ago)
|
|
using Crypt::Pit, and tiny change.
|
| Line | |
|---|
| 1 | global: |
|---|
| 2 | plugin_path: |
|---|
| 3 | - /home/hsbt/misc/plagger/contrib/lib/Plagger/Plugin |
|---|
| 4 | assets_path: /home/hsbt/misc/plagger/assets |
|---|
| 5 | log: |
|---|
| 6 | level: debug |
|---|
| 7 | cache: |
|---|
| 8 | base: /home/hsbt/misc/plagger |
|---|
| 9 | timezone: Asia/Tokyo |
|---|
| 10 | |
|---|
| 11 | plugins: |
|---|
| 12 | |
|---|
| 13 | - module: Subscription::Config |
|---|
| 14 | config: |
|---|
| 15 | feed: |
|---|
| 16 | - url: http://www.nicovideo.jp/mylist/370212/3515667 |
|---|
| 17 | |
|---|
| 18 | - module: Filter::Rule |
|---|
| 19 | rule: |
|---|
| 20 | - expression: $args->{entry}->{date} = undef; 1 |
|---|
| 21 | - module: Deduped |
|---|
| 22 | path: /home/hsbt/misc/plagger/cache_rule/nicovideo.cache |
|---|
| 23 | |
|---|
| 24 | - module: Filter::FetchNicoVideo |
|---|
| 25 | config: |
|---|
| 26 | mail: shibata.hiroshi@gmail.com |
|---|
| 27 | password: pit::nicovideo.jp/:password/ |
|---|
| 28 | dir: /home/hsbt/public_html/plagger/enclosures |
|---|
| 29 | id_as_filename: 1 |
|---|
| 30 | interval: 30 |
|---|
| 31 | |
|---|
| 32 | - module: Filter::FLVInfo |
|---|
| 33 | |
|---|
| 34 | - module: Filter::FFmpeg |
|---|
| 35 | rule: |
|---|
| 36 | expression: "$args->{entry}->meta->{flvinfo}->{aspect} eq '4:3'" |
|---|
| 37 | config: |
|---|
| 38 | ext: mp4 |
|---|
| 39 | encoding: utf8 |
|---|
| 40 | dir: /home/hsbt/public_html/plagger/enclosures |
|---|
| 41 | options: |
|---|
| 42 | video_codec: libx264 |
|---|
| 43 | bitrate: 600 |
|---|
| 44 | audio_codec: libfaac |
|---|
| 45 | audio_sampling_rate: 44100 |
|---|
| 46 | audio_bit_rate: 128 |
|---|
| 47 | frame_size: 432x320 |
|---|
| 48 | extra_options: -coder 0 -level 13 -ac 2 |
|---|
| 49 | |
|---|
| 50 | - module: Filter::FFmpeg |
|---|
| 51 | rule: |
|---|
| 52 | expression: "$args->{entry}->meta->{flvinfo}->{aspect} eq '16:9'" |
|---|
| 53 | config: |
|---|
| 54 | ext: mp4 |
|---|
| 55 | encoding: utf8 |
|---|
| 56 | dir: /home/hsbt/public_html/plagger/enclosures |
|---|
| 57 | options: |
|---|
| 58 | video_codec: libx264 |
|---|
| 59 | bitrate: 600 |
|---|
| 60 | audio_codec: libfaac |
|---|
| 61 | audio_sampling_rate: 44100 |
|---|
| 62 | audio_bit_rate: 128 |
|---|
| 63 | frame_size: 480x272 |
|---|
| 64 | extra_options: -coder 0 -level 13 -ac 2 |
|---|
| 65 | |
|---|
| 66 | - module: Filter::RewriteEnclosureURL |
|---|
| 67 | config: |
|---|
| 68 | rewrite: |
|---|
| 69 | - local: /home/hsbt/public_html |
|---|
| 70 | url: http://laplace/~hsbt/ |
|---|
| 71 | |
|---|
| 72 | - module: Publish::Feed |
|---|
| 73 | config: |
|---|
| 74 | dir: /home/hsbt/public_html/plagger |
|---|
| 75 | filename: nicovideo.xml |
|---|
| 76 | format: RSS |
|---|