poddb_client 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +24 -11
- data/lib/interactive.vim +4 -0
- data/lib/poddb_client/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -1,12 +1,20 @@
|
|
1
1
|
# poddb
|
2
2
|
|
3
|
-
_Podcatching for
|
3
|
+
_Podcatching for nerds_
|
4
4
|
|
5
5
|
Poddb lets you browse, search, and download podcasts from the Unix command line
|
6
6
|
and Vim.
|
7
7
|
|
8
8
|
[screenshots]
|
9
9
|
|
10
|
+
With Poddb, you can power-browse all of NPR's recent podcasts with the command,
|
11
|
+
|
12
|
+
poddb npr
|
13
|
+
|
14
|
+
and all recent TED talks with the command,
|
15
|
+
|
16
|
+
poddb tedtalks
|
17
|
+
|
10
18
|
|
11
19
|
## Why
|
12
20
|
|
@@ -63,10 +71,10 @@ again.
|
|
63
71
|
## How to use it
|
64
72
|
|
65
73
|
You invoke `poddb` from command line interface, passing it flags and search
|
66
|
-
terms. Poddb will send the query over the internet to the
|
74
|
+
terms. Poddb will send the query over the internet to the Poddb server. (So you
|
67
75
|
must be online to use Poddb, though once you've downloaded some podcast audio
|
68
76
|
or video files you can play them entirely offline.) The server will send back
|
69
|
-
data, and
|
77
|
+
data, and Poddb will launch Vim to let you navigate and interact with the query
|
70
78
|
results.
|
71
79
|
|
72
80
|
Here is a partial synopsis of the command line interface. A more detailed guide
|
@@ -98,8 +106,8 @@ the database. E.g.
|
|
98
106
|
will return all the podcasts in the Poddb database with the word "music" in the
|
99
107
|
title or podcast description.
|
100
108
|
|
101
|
-
Press `ENTER` on a podcast to see its episodes. See
|
102
|
-
|
109
|
+
Press `ENTER` on a podcast to see its episodes. See below for instructions on
|
110
|
+
how to view and download episodes.
|
103
111
|
|
104
112
|
|
105
113
|
## Add podcasts to the database
|
@@ -173,17 +181,16 @@ popular downloads in the last week, you can use
|
|
173
181
|
|
174
182
|
|
175
183
|
|
176
|
-
## Navigate
|
184
|
+
## Navigate podcast episodes
|
177
185
|
|
178
|
-
When you see a list of episodes, you can use the following key commands
|
179
|
-
addition to Vim's standard cursor commands:
|
186
|
+
When you see a list of episodes, you can use the following key commands to
|
187
|
+
navigate, in addition to Vim's standard cursor commands:
|
180
188
|
|
181
189
|
* `l` or `ENTER` show episode detail
|
182
|
-
* `
|
183
|
-
* `D` start downloading episode immediately and play with `mplayer` or `PODDB_MEDIA_PLAYER`
|
184
|
-
* `p` show all episodes for this podcast
|
190
|
+
* `p` show all episodes for the podcast this item belongs to
|
185
191
|
* `CTRL-j` show next episode
|
186
192
|
* `CTRL-k` show previous episode
|
193
|
+
* `CTRL-o` and `CTRL-i` jump back and forward through screen history
|
187
194
|
|
188
195
|
If you press `p` to show all the episodes for the podcast, you can navigate back to the
|
189
196
|
previous screen with `CTRL-o` and return forward again with `CTRL-i`. In other words,
|
@@ -192,6 +199,12 @@ feel free to use Vim's jump-list navigation commands.
|
|
192
199
|
When you press `l` or `ENTER`, more information about the episode will appear in a split
|
193
200
|
window below the list.
|
194
201
|
|
202
|
+
|
203
|
+
## Download podcast episodes
|
204
|
+
|
205
|
+
* `d` mark episode for download; works with Vim selection ranges too
|
206
|
+
* `D` start downloading episode immediately and play with media player
|
207
|
+
|
195
208
|
If you mark episodes for downloading, Poddb will place a `*` in their left
|
196
209
|
margin and download them as soon as you quit the Vim interface with `:qa` or
|
197
210
|
some similar command.
|
data/lib/interactive.vim
CHANGED
@@ -16,6 +16,10 @@ let s:download_list = []
|
|
16
16
|
|
17
17
|
autocmd VimLeave * :call <SID>write_download_list()<CR>
|
18
18
|
|
19
|
+
if !exists("g:mapleader)
|
20
|
+
let g:mapleader = ","
|
21
|
+
endif
|
22
|
+
|
19
23
|
function! PoddbStatusLine()
|
20
24
|
return "%<%f\ | Press ".g:mapleader."? for help. "."%r%=%-14.(%l,%c%V%)\ %P"
|
21
25
|
endfunction
|
data/lib/poddb_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poddb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-10-12 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Podcast aggregation from the command line
|
15
15
|
email:
|