poddb_client 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +41 -40
- data/lib/interactive.vim +5 -5
- data/lib/poddb_client/version.rb +1 -1
- metadata +1 -1
data/README.markdown
CHANGED
@@ -10,12 +10,12 @@ and Vim.
|
|
10
10
|
|
11
11
|
## Why
|
12
12
|
|
13
|
-
I wanted a fast and
|
14
|
-
environment, without resorting to a GUI application or web browser. I
|
15
|
-
wanted to start crowdsourcing and publishing podcast download statistics
|
16
|
-
make it easier to spot popular podcasts and podcast episodes. Finally, I
|
17
|
-
a more streamlined way to search for NPR podcasts than through the NPR
|
18
|
-
or iTunes. Poddb serves these three goals.
|
13
|
+
I wanted a fast and lightweight way to search for and download podcasts in any
|
14
|
+
Unix environment, without resorting to a GUI application or web browser. I
|
15
|
+
also wanted to start crowdsourcing and publishing podcast download statistics
|
16
|
+
to make it easier to spot popular podcasts and podcast episodes. Finally, I
|
17
|
+
wanted a more streamlined way to search for NPR podcasts than through the NPR
|
18
|
+
website or iTunes. Poddb serves these three goals.
|
19
19
|
|
20
20
|
|
21
21
|
## Prerequisites
|
@@ -116,39 +116,6 @@ E.g.,
|
|
116
116
|
The `-a` command will also add the podcast to your favorites.
|
117
117
|
|
118
118
|
|
119
|
-
## Favorite podcasts
|
120
|
-
|
121
|
-
When viewing a list of podcasts returned by `poddb -l`, you can add a podcast
|
122
|
-
to your favorites by putting the cursor over it and pressing `f`. Press `f`
|
123
|
-
again to remove the podcast from your favorite podcasts. Favorite podcasts
|
124
|
-
have a `@` sign in the left margin.
|
125
|
-
|
126
|
-
@ NPR Programs: Fresh Air from WHYY | 16 | 0 | Sep 15 2011 |
|
127
|
-
NPR Programs: Talk of the Nation | 41 | 0 | Sep 15 2011 |
|
128
|
-
@ NPR Programs: Tell Me More Podcast | 20 | 0 | Sep 15 2011 |
|
129
|
-
NPR Programs: Wait Wait... Don't Tell Me! Podcast | 10 | 0 | Sep 10 2011 |
|
130
|
-
NPR Series: Alt.Latino Podcast | 21 | 0 | Sep 14 2011 |
|
131
|
-
NPR Series: From Scratch | 16 | 0 | Sep 14 2011 |
|
132
|
-
NPR Series: Talk of the Nation Opinion Page Podcast | 10 | 0 | Sep 05 2011 |
|
133
|
-
NPR Series: World Cafe: Next from WXPN Podcast | 10 | 0 | Sep 12 2011 |
|
134
|
-
NPR Topics: Business Story of the Day Podcast | 21 | 0 | Sep 16 2011 |
|
135
|
-
NPR Topics: Economy Podcast | 11 | 0 | Sep 13 2011 |
|
136
|
-
NPR Topics: Education Podcast | 12 | 0 | Sep 15 2011 |
|
137
|
-
NPR Topics: Environment Podcast | 11 | 0 | Sep 15 2011 |
|
138
|
-
@ NPR Topics: Food Podcast | 11 | 0 | Sep 15 2011 |
|
139
|
-
|
140
|
-
Once you have a few favorite podcasts, you can list and navigate them with
|
141
|
-
the command
|
142
|
-
|
143
|
-
poddb -F
|
144
|
-
|
145
|
-
You can also aggregate all the most recent episodes from your favorite episodes by
|
146
|
-
launching Poddb with the command
|
147
|
-
|
148
|
-
poddb -f
|
149
|
-
|
150
|
-
Your favorite podcasts are stored in `~/.poddb/favorites` as a simple list of
|
151
|
-
podcast ids. The ids are internal to Poddb's PostgreSQL database.
|
152
119
|
|
153
120
|
## Search for podcast episodes
|
154
121
|
|
@@ -208,7 +175,7 @@ When you see a list of episodes, you can use the following key commands, in
|
|
208
175
|
addition to Vim's standard cursor commands:
|
209
176
|
|
210
177
|
* `l` or `ENTER` show episode detail
|
211
|
-
* `d` mark episode for download
|
178
|
+
* `d` mark episode for download; works with Vim selection ranges too
|
212
179
|
* `D` start downloading episode immediately and play with `mplayer` or `PODDB_MEDIA_PLAYER`
|
213
180
|
* `p` show all episodes for this podcast
|
214
181
|
* `CTRL-j` show next episode
|
@@ -258,6 +225,40 @@ list of episodes, that means that you've already downloaded that episode into
|
|
258
225
|
the current directory.
|
259
226
|
|
260
227
|
|
228
|
+
## Favorite podcasts
|
229
|
+
|
230
|
+
When viewing a list of podcasts returned by `poddb -l`, you can add a podcast
|
231
|
+
to your favorites by putting the cursor over it and pressing `f`. Press `f`
|
232
|
+
again to remove the podcast from your favorite podcasts. Favorite podcasts
|
233
|
+
have a `@` sign in the left margin.
|
234
|
+
|
235
|
+
@ NPR Programs: Fresh Air from WHYY | 16 | 0 | Sep 15 2011 |
|
236
|
+
NPR Programs: Talk of the Nation | 41 | 0 | Sep 15 2011 |
|
237
|
+
@ NPR Programs: Tell Me More Podcast | 20 | 0 | Sep 15 2011 |
|
238
|
+
NPR Programs: Wait Wait... Don't Tell Me! Podcast | 10 | 0 | Sep 10 2011 |
|
239
|
+
NPR Series: Alt.Latino Podcast | 21 | 0 | Sep 14 2011 |
|
240
|
+
NPR Series: From Scratch | 16 | 0 | Sep 14 2011 |
|
241
|
+
NPR Series: Talk of the Nation Opinion Page Podcast | 10 | 0 | Sep 05 2011 |
|
242
|
+
NPR Series: World Cafe: Next from WXPN Podcast | 10 | 0 | Sep 12 2011 |
|
243
|
+
NPR Topics: Business Story of the Day Podcast | 21 | 0 | Sep 16 2011 |
|
244
|
+
NPR Topics: Economy Podcast | 11 | 0 | Sep 13 2011 |
|
245
|
+
NPR Topics: Education Podcast | 12 | 0 | Sep 15 2011 |
|
246
|
+
NPR Topics: Environment Podcast | 11 | 0 | Sep 15 2011 |
|
247
|
+
@ NPR Topics: Food Podcast | 11 | 0 | Sep 15 2011 |
|
248
|
+
|
249
|
+
Once you have a few favorite podcasts, you can list and navigate them with
|
250
|
+
the command
|
251
|
+
|
252
|
+
poddb -F
|
253
|
+
|
254
|
+
You can also aggregate all the most recent episodes from your favorite episodes by
|
255
|
+
launching Poddb with the command
|
256
|
+
|
257
|
+
poddb -f
|
258
|
+
|
259
|
+
Your favorite podcasts are stored in `~/.poddb/favorites` as a simple list of
|
260
|
+
podcast ids. The ids are internal to Poddb's PostgreSQL database.
|
261
|
+
|
261
262
|
## Bug reports and feature requests
|
262
263
|
|
263
264
|
Please submit them here:
|
data/lib/interactive.vim
CHANGED
@@ -33,9 +33,9 @@ function! s:main_window()
|
|
33
33
|
noremap <buffer> d :call <SID>mark_for_download()<cr>
|
34
34
|
noremap <buffer> D :call <SID>download_and_play()<cr>
|
35
35
|
noremap <buffer> p :call <SID>show_podcast_items('')<cr>
|
36
|
-
noremap <buffer> <c-j> :call <SID>show_next_item(0)<CR>
|
37
|
-
noremap <buffer> <c-k> :call <SID>show_next_item(1)<CR>
|
38
|
-
noremap <buffer> f :call <SID>favorite_this_podcast()<CR>
|
36
|
+
noremap <buffer> <c-j> :call <SID>show_next_item(0)<CR>
|
37
|
+
noremap <buffer> <c-k> :call <SID>show_next_item(1)<CR>
|
38
|
+
noremap <buffer> f :call <SID>favorite_this_podcast()<CR>
|
39
39
|
autocmd BufEnter <buffer> :setlocal nowrap | let s:listbufnr = bufnr('')
|
40
40
|
autocmd BufWinEnter <buffer> :only
|
41
41
|
noremap <buffer> <Leader>? :call <SID>help()<CR>
|
@@ -45,8 +45,8 @@ function! s:item_window()
|
|
45
45
|
rightbelow split poddb-item-window
|
46
46
|
let s:itembufnr = bufnr('%')
|
47
47
|
setlocal buftype=nofile
|
48
|
-
noremap <buffer> <c-j> :call <SID>show_next_item(0)<CR>
|
49
|
-
noremap <buffer> <c-k> :call <SID>show_next_item(1)<CR>
|
48
|
+
noremap <buffer> <c-j> :call <SID>show_next_item(0)<CR>
|
49
|
+
noremap <buffer> <c-k> :call <SID>show_next_item(1)<CR>
|
50
50
|
noremap <buffer> d :call <SID>mark_for_download()<cr>
|
51
51
|
nnoremap <buffer> o :call <SID>find_next_href_and_open()<CR>
|
52
52
|
nnoremap <buffer> O :call <SID>open_all_hrefs()<CR>
|
data/lib/poddb_client/version.rb
CHANGED