You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next, run the script to download all the missing episodes and metadata. By default it will be stored under the `pods` directory, with one sub-directory per podcast.
28
+
Next, run the script to download all the missing episodes and metadata. By default it will be stored under the `pods` directory, with one sub-directory per podcast.
29
29
We recommend if you plan on serving this over the web to use a different directory, such as `/srv/www/petit-pois/pods`.
30
30
31
-
```sh
31
+
```sh
32
32
python3 download_podcasts.py \
33
33
--archive_dir /srv/www/petit-pois/pods
34
34
```
35
35
36
36
### Generate podcast feed tokens (optional)
37
37
38
-
Again, if you're interested serving, we don't want expose the podcast to just anyone, so we need to create a token for each podcast. This is done by running the `generate_tokens.py` script:
38
+
Again, if you're interested serving, we don't want expose the podcast to just anyone, so we need to create a token for each podcast. This is done by running the `generate_tokens.py` script:
Further information on Nginx and web server configuration is outwith the scope of this guide.
151
151
152
-
# Bootstrap a Podcast from Local Files (Advanced)
152
+
# Bootstrap a Podcast from Local Files
153
153
154
154
In some cases you may already have local MP3 files (or partial archives) and want to generate a valid podcast feed without downloading from an RSS source.
155
155
For this, use `bootstrap_local_podcast.py`.
@@ -165,14 +165,13 @@ Use `bootstrap_local_podcast.py` if:
165
165
- The original feed no longer exists
166
166
- You want a complete historical feed, even with gaps
167
167
168
-
169
168
### Input: Episode Metadata JSONL
170
169
171
170
The bootstrap script consumes a JSONL (JSON-per-line) file describing episodes.
172
171
173
172
Each line represents one episode, with the following format:
0 commit comments