podcatcher 3.1.14 → 3.1.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72640157fe04ab52ab39e3a2c0d2bbe9f0b2c12d
4
- data.tar.gz: 2f8c92591268ce3086965450af903f599072c1e2
3
+ metadata.gz: 925f41456036f59987a237361e799066313ec7a9
4
+ data.tar.gz: b8f13469a38e681053ff984b034402517e257c69
5
5
  SHA512:
6
- metadata.gz: c28bd3c407b557cb746b55dc7b19e0008f742ba5c040a3184f04cef3a805bbbd98cd77d2b5f0d84d30bdeb373f0fdec48cefaed9f5dcb2c96c315076168cad68
7
- data.tar.gz: a83451f32e766c4e6848c8e1d35b6ccd84c54114736df17f9a0a930a4c4c2430166503a631ea9b9ba67622f1d0cce8e76471f21c088b3a2c8524593f8cf7aec0
6
+ metadata.gz: 7a35afbe65b07d423d5b41db49a0b257f67981584c2992474c1908ea3219b60f1da9af2fed5fc63844fe721732868cb5881fd0828377d618f615d35046306ee7
7
+ data.tar.gz: bec48e3aafdd2d6e624b5cf42fe151e68d8402f75bf56131a13bedb57783fc85e0fc3095a17763a0cb131761081069f1cbe0a33218ce9d2dc969c05dc0b4f561
checksums.yaml.gz.sig CHANGED
@@ -1 +1 @@
1
- SE)��鯋��K�ĕ�9���]c��Hے�{1��x1
1
+ ~�����£�<�+o�(���i�˥�Z�Q���h�Ԗ �js����7���=acu`��PӚ̓�M�Q��_�����9�����UH�m��S@�
data.tar.gz.sig CHANGED
Binary file
data/README.txt CHANGED
@@ -36,8 +36,11 @@ $ gem install podcatcher --trust-policy HighSecurity
36
36
  $
37
37
  $ # Check the used version
38
38
  $ podcatcher --version
39
- 3.1.14
39
+ 3.1.15
40
40
  $
41
+ $ # Optionally enable podcatcher MAN pages on Unix-like systems
42
+ $ gem install gem-man # do this once
43
+ $ gem man podcatcher # shows podcatcher MAN page
41
44
 
42
45
 
43
46
  Usage
data/bin/podcatcher CHANGED
@@ -6,7 +6,7 @@
6
6
  # Author: Doga Armangil, armangild@yahoo.com
7
7
 
8
8
  PODCATCHER_WEBSITE = 'https://github.com/doga/podcatcher'
9
- PODCATCHER_VERSION = '3.1.14'
9
+ PODCATCHER_VERSION = '3.1.15'
10
10
 
11
11
  # todo: allow files to be selected not only by its MIME type, but also other attributes. Example: --content '^video/ width:680-1024 height:400'
12
12
  # todo: --proxy option
data/man/podcatcher.1 ADDED
@@ -0,0 +1,240 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PODCATCHER" "1" "March 2016" "Doga Armangil" "Podcatcher Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBpodcatcher\fR \- podcast client for the command line
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBpodcatcher \-h\fR
11
+ .
12
+ .br
13
+ \fBpodcatcher \-\-help\fR
14
+ .
15
+ .br
16
+ \fBpodcatcher \-V\fR
17
+ .
18
+ .br
19
+ \fBpodcatcher \-\-version\fR
20
+ .
21
+ .br
22
+ \fBpodcatcher\fR [\fB\-vepa\fR][\fB\-d\fR \fIdir\fR][\fB\-D\fR \fIcachedir\fR][\fB\-s\fR \fIcachesize\fR][\fB\-S\fR \fIstrategy\fR][\fB\-C\fR \fImediatype\fR][\fB\-L\fR \fIlang\fR][\fB\-H\fR \fIsince\fR][\fB\-r\fR \fIretries\fR][\fB\-t\fR \fIoutputformat\fR][\fB\-m\fR \fImemsize\fR][\fB\-o\fR \fIfeedorder\fR][\fB\-F\fR \fIfunction\fR][\fB\-f\fR \fIdllimit\fR][\fB\-T\fR \fItorrentdir\fR][\fB\-i\fR \fIitemsize\fR][\fB\-\-restrictednames\fR][\fB\-A\fR \fIsourcelistfile\fR][\fB\-O\fR \fIoptionsfile\fR] [\fIsourcefile\fR]\.\.\.
23
+ .
24
+ .SH "DESCRIPTION"
25
+ \fBpodcatcher\fR can download any type of content that is enclosed in RSS or Atom files, such as audio, video and image content\. A search function for subscribing to feeds is also included\.
26
+ .
27
+ .P
28
+ \fBpodcatcher\fR provides several download strategies, supports BitTorrent, offers cache management, and generates playlists for media player applications\.
29
+ .
30
+ .P
31
+ As input, \fBpodcatcher\fR accepts feeds (RSS or Atom) and subscription lists (OPML or iTunes PCAST), in the form of filenames or URLs (HTTP or FTP)\. Alternatively, it accepts one feed or subscription list from the standard input\.
32
+ .
33
+ .P
34
+ BitTorrent is supported both internally (through the RubyTorrent library) and externally (\.torrent files are downloaded, but the user handles them using a BitTorrent application)\. The latter is currently the most reliable method, as RubyTorrent is still in alpha phase\.
35
+ .
36
+ .P
37
+ Concurrency is not handled: simultaneous executions of this program should target different directories\.
38
+ .
39
+ .SH "OPTIONS"
40
+ .
41
+ .TP
42
+ \fB\-d\fR, \fB\-\-dir\fR \fIDIR\fR
43
+ Directory for storing application state\. Default value is current directory\.
44
+ .
45
+ .TP
46
+ \fB\-D\fR, \fB\-\-cachedir\fR \fIDIR\fR
47
+ Directory for storing downloaded content\. Default value is the \'cache\' subdirectory of the state directory (specified by the \fB\-\-dir\fR option)\.
48
+ .
49
+ .IP
50
+ This option is ignored if this directory is inside the state directory, or if the state directory is inside this directory\.
51
+ .
52
+ .TP
53
+ \fB\-s\fR, \fB\-\-size\fR \fISIZE\fR
54
+ Size, in megabytes, of the cache directory (specified by the \fB\-\-cachedir\fR option)\. 0 means unbounded\. Default value is 512\. This option also sets the upper limit for the amount of content that can be downloaded in one session\.
55
+ .
56
+ .IP
57
+ Content downloaded during previous sessions may be deleted by podcatcher in order to make place for new content\.
58
+ .
59
+ .TP
60
+ \fB\-e\fR, \fB\-\-[no\-]empty\fR
61
+ Empty the cache directory before downloading content\.
62
+ .
63
+ .TP
64
+ \fB\-p\fR, \fB\-\-[no\-]perfeed\fR
65
+ Create one subdirectory per feed in the cache directory\.
66
+ .
67
+ .TP
68
+ \fB\-S\fR, \fB\-\-strategy\fR \fIS\fR
69
+ Strategy to use when downloading content:
70
+ .
71
+ .IP
72
+ \fIback_catalog\fR: download any content that has not been downloaded before; prefer recent content to older content (may download more than one content file per feed)\.
73
+ .
74
+ .IP
75
+ \fIone\fR: download one content file (not already downloaded) for each feed, with a preference for recent content\.
76
+ .
77
+ .IP
78
+ \fIall\fR: download all content, with a preference for recent content; even already downloaded content is downloaded once again (may download more than one content file per feed)\.
79
+ .
80
+ .IP
81
+ \fIchron\fR: download in chronological order any content that has not been downloaded before; this is useful for audiobook podcasts etc (may download more than one content file per feed)\.
82
+ .
83
+ .IP
84
+ \fIchron_one\fR: download the oldest content of each feed that has not already been downloaded\.
85
+ .
86
+ .IP
87
+ \fIchron_all\fR: download all content in chronological order, even if the content has already been downloaded (may download more than one content file per feed)\.
88
+ .
89
+ .IP
90
+ \fInew\fR: download the most recent content of each feed, if it has not already been downloaded (DEPRECATED: use \fIone\fR instead of \fInew\fR)\.
91
+ .
92
+ .IP
93
+ \fIcache\fR: generate a playlist for content already in cache\.
94
+ .
95
+ .IP
96
+ Default value is \fIone\fR\.
97
+ .
98
+ .TP
99
+ \fB\-C\fR, \fB\-\-content\fR \fIREGEXP\fR
100
+ A regular expression that matches the MIME types of content to be downloaded\. Examples: \'^video/\', \'^audio/mpeg$\'\. Default value is \'\', which matches any type of content\.
101
+ .
102
+ .TP
103
+ \fB\-l\fR, \fB\-\-language\fR \fILANG\fR
104
+ A list of language tags separated by commas\. Examples: \fIen\-us,de\fR, \fIfr\fR\. A feed whose language does not match this list is ignored\. By default, all feeds are accepted\. See http://cyber\.law\.harvard\.edu/rss/languages\.html and http://cyber\.law\.harvard\.edu/rss/rss\.html#optionalChannelElements for allowed tags\.
105
+ .
106
+ .TP
107
+ \fB\-H\fR, \fB\-\-horizon\fR \fIDATE\fR
108
+ Do not download content older than the given date\. The date has the format yyyy\.mm\.dd (example: 2007\.03\.22) or yyyy\.mm (equivalent to yyyy\.mm\.01) or yyyy (equivalent to yyyy\.01\.01)\. By default, no horizon is specified\.
109
+ .
110
+ .TP
111
+ \fB\-r\fR, \fB\-\-retries\fR \fIN\fR
112
+ Try downloading files (content, feeds or subscription lists) at most N times before giving up\. Default value is 1\.
113
+ .
114
+ .TP
115
+ \fB\-t\fR, \fB\-\-type\fR \fITYPE\fR
116
+ Type of the playlist written to standard output\. Accepted values are \fIm3u\fR, \fIsmil\fR, \fIpls\fR, \fIasx\fR, \fItox\fR, \fIxspf\fR\. Default value is \fIm3u\fR\.
117
+ .
118
+ .TP
119
+ \fB\-m\fR, \fB\-\-memsize\fR \fIN\fR
120
+ Remember last N downloaded content, and do not download them again\. 0 means unbounded\. Default value is 1000\.
121
+ .
122
+ .TP
123
+ \fB\-o\fR, \fB\-\-order\fR \fIORDER\fR
124
+ The order in which feeds are traversed when downloading content:
125
+ .
126
+ .IP
127
+ \fIrandom\fR: randomizes the feed order, so that every feed has an equal chance when content is downloaded, even if the cache size is small and the number of feeds is big\.
128
+ .
129
+ .IP
130
+ \fIalphabetical\fR: orders feeds alphabetically by using their titles\.
131
+ .
132
+ .IP
133
+ \fIsequential\fR: preserves the argument order (and the feed order in subscription lists)\.
134
+ .
135
+ .IP
136
+ \fIreverse\fR: reverses the feed order\.
137
+ .
138
+ .IP
139
+ Default value is \fIrandom\fR\.
140
+ .
141
+ .TP
142
+ \fB\-F\fR, \fB\-\-function\fR \fIFUNCTION\fR
143
+ Used function:
144
+ .
145
+ .IP
146
+ \fIdownload\fR: downloads content from specified feeds\.
147
+ .
148
+ .IP
149
+ \fIsearch\fR: generates an OPML subscription list of feeds matching the specified query; the only options relevant for search are \fB\-v\fR, \fB\-r\fR and \fB\-f\fR\.
150
+ .
151
+ .IP
152
+ Default value is \fIdownload\fR\.
153
+ .
154
+ .TP
155
+ \fB\-f\fR, \fB\-\-feeds\fR \fIN\fR
156
+ Do not download more than N feeds (when using the download function), or return the first N relevant feeds (when using the search function)\. 0 means unbounded\. Default value is 1000\.
157
+ .
158
+ .TP
159
+ \fB\-T\fR, \fB\-\-torrentdir\fR \fIDIR\fR
160
+ Copy torrent files to directory DIR\. The handling of torrents through an external BitTorrent client is left to the user\. If this option is not used, torrents are handled internally (if RubyTorrent is installed), or else ignored\.
161
+ .
162
+ .TP
163
+ \fB\-U\fR, \fB\-\-uploadrate\fR \fIN\fR
164
+ Maximum upload rate (kilobytes per second) for the internal BitTorrent client\. Unbounded by default\.
165
+ .
166
+ .TP
167
+ \fB\-i\fR, \fB\-\-itemsize\fR \fIN\fR
168
+ If downloaded content is less than N MB in size (where N is an integer), fetch other content of that same feed until this size is reached\. Default value is 0\.
169
+ .
170
+ .IP
171
+ The intent here is to ensure that podcatcher downloads about as much content from podcasts that frequently post small content (in terms of minutes) as it does from podcasts that post bigger content less frequently\. This option was more relevant in the early days of podcasting when content size varied greatly from one podcast to another\. You would rarely need to use this option today\.
172
+ .
173
+ .TP
174
+ \fB\-c\fR, \fB\-\-[no\-]cache\fR
175
+ Generate a playlist for content already in cache\. DEPRECATED, use \'\fB\-\-strategy\fR cache\'\.
176
+ .
177
+ .TP
178
+ \fB\-a\fR, \fB\-\-[no\-]asif\fR
179
+ Do not download content, only download feeds and subscription lists\. Useful for testing\.
180
+ .
181
+ .TP
182
+ \fB\-v\fR, \fB\-\-[no\-]verbose\fR
183
+ Run verbosely\.
184
+ .
185
+ .TP
186
+ \fB\-V\fR, \fB\-\-version\fR
187
+ Display current version and exit\.
188
+ .
189
+ .TP
190
+ \fB\-h\fR, \fB\-\-help\fR
191
+ Display this message and exit\.
192
+ .
193
+ .TP
194
+ \fB\-\-[no\-]restrictednames\fR
195
+ In the cache directory, make the names of created subdirectories and files acceptable for restrictive file systems such as VFAT and FAT, which are used on Windows and MP3 player devices\. Enabled by default\.
196
+ .
197
+ .TP
198
+ \fB\-A\fR, \fB\-\-arguments\fR \fIFILENAME_OR_URL\fR
199
+ Read arguments from specified file\. This file accepts one argument per line, and ignores empty lines and lines starting with #\. This option may be used several times in one command\.
200
+ .
201
+ .TP
202
+ \fB\-O\fR, \fB\-\-options\fR \fIFILENAME_OR_URL\fR
203
+ Read options from specified file\. The options file uses the YAML format\.
204
+ .
205
+ .SH "EXAMPLES"
206
+ .
207
+ .nf
208
+
209
+ $ podcatcher http://feeds\.feedburner\.com/Ruby5
210
+
211
+ $ podcatcher \-O options\.yaml \-A feeds\.txt
212
+
213
+ $ podcatcher \-\-dir ~/podcasts http://www\.npr\.org/podcasts\.opml
214
+
215
+ $ podcatcher \-\-dir ~/podcasts \-\-strategy cache > cache\.m3u
216
+
217
+ $ cat feeds\.opml | podcatcher \-\-dir ~/podcasts > latest\.m3u
218
+
219
+ $ podcatcher \-vd ~/podcasts \-s 500 \-m 10_000 \-t tox feeds\.opml > latest\.tox
220
+
221
+ $ podcatcher \-vF search news http://www\.bbc\.co\.uk/podcasts\.opml > bbc_news\.opml
222
+
223
+ $ podcatcher \-F search \-f 12 news http://www\.npr\.org/podcasts\.opml > npr_news\.opml
224
+ .
225
+ .fi
226
+ .
227
+ .SH "SEE ALSO"
228
+ podcatcher(5)
229
+ .
230
+ .SH "COPYRIGHT"
231
+ Copyright 2016 Doga Armangil \fIdoga\.armangil@alumni\.epfl\.ch\fR
232
+ .
233
+ .P
234
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
235
+ .
236
+ .P
237
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software\.
238
+ .
239
+ .P
240
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.14
4
+ version: 3.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doga Armangil
@@ -31,7 +31,7 @@ cert_chain:
31
31
  DcNXARPdnPlz0VQedZo89pKjngah8Nur01/wD97Q18Mr/av3H4Bg1sTF+RZAplU3
32
32
  RX+xYPJjPMyjrD73KZ5UNtXo5jOP1T85SqXOl6ICfedTVgZMk9mzK8+PkP1croHi
33
33
  -----END CERTIFICATE-----
34
- date: 2016-03-02 00:00:00.000000000 Z
34
+ date: 2016-03-04 00:00:00.000000000 Z
35
35
  dependencies: []
36
36
  description:
37
37
  email:
@@ -45,6 +45,7 @@ files:
45
45
  - README.txt
46
46
  - bin/podcatcher
47
47
  - certs/doga.pem
48
+ - man/podcatcher.1
48
49
  homepage: https://github.com/doga/podcatcher
49
50
  licenses:
50
51
  - MIT
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- 52v�'x���i3OZG�O�:���ܾ�������f_PS ��9��۽9G�CG*����M{��yH���$_8�s6�kn�'a\j�%uoϯ_����ۏ$��n �;Â,Q���� lx �aG�G�� @(] n��؂
2
- 8�N�G<�����h&D���/��]���q�����M�-m��5���ufW$�e{k?�M8f�;7����u��=/:G�\_6BB΀�]�d���ftq?r�
1
+ rf]������մq0EnG?� oAJ�+Ҏm�����T)��p,���g�I�'�.�F6HH�G�{