|
1 | 1 |
|
2 | 2 | # Podpod - A command line podcast client
|
3 | 3 |
|
| 4 | +# License |
| 5 | + |
| 6 | +Meh, haven't yet decided. As long as nothing else is stated: MIT-License |
| 7 | + |
4 | 8 | # Introduction
|
5 |
| -Podpod is a simple podcast client for the command line. It's intended |
6 |
| -use is for highly automated podcast processing. |
7 |
| -Podpod allows |
| 9 | +Podpod is a simple podcast client for the command line. Its intended use is |
| 10 | +for highly automated podcast processing. Podpod allows it to make |
| 11 | +postprocessions steps during updating your podcasts. This will hopefully come |
| 12 | +in very handy in connection with cron and similar stuff |
| 13 | + |
| 14 | + |
| 15 | +Podpod seeks to be a replacement for Mashpodder which is no longer updated or |
| 16 | +maintained. If there's a feature you'd like to see or an error you found, feel |
| 17 | +free to drop me a message. |
| 18 | + |
| 19 | +# Usage |
| 20 | + |
| 21 | +You'll need two files: |
| 22 | +* ` podpod.conf ` - Configuration file. |
| 23 | +* ` podcastList.txt ` - List of podcast URLs to check |
| 24 | + |
| 25 | +The latter one is set in the first one as variable `RSS_FILE`, see below. |
| 26 | + |
| 27 | +## Configuration |
| 28 | + |
| 29 | +The file `podpod.conf` is the central configuration file. It can provide |
| 30 | +options to control how podcasts are downloaded. All possible options are |
| 31 | +explained in the sample configuration filed. |
| 32 | +You need to at least specify `RSS_FILE` the format of which is explained below |
8 | 33 |
|
9 |
| -Podpod seeks to be a replacement for Mashpodder which is no longer updated or maintained. |
| 34 | +The file `podpod.conf` must be provided as parameter when calling `podpod.sh`. |
10 | 35 |
|
| 36 | + ./podpod.sh podpod.conf |
| 37 | + |
| 38 | +## RSS file |
| 39 | + |
| 40 | +This file (podpodList.txt in the example) specifies which podcasts should be |
| 41 | +checked and in which way they should be downloaded. |
| 42 | + |
| 43 | +The file contains one entry per line. Empty lines and lines starting with '#' |
| 44 | +are not read. The general format for an entry entry is as follows: |
| 45 | + |
| 46 | + <title> <url> <mode> |
| 47 | + |
| 48 | +where |
| 49 | +- <title> Title of the podcast, will be the name of the directory under |
| 50 | + `PODCAST_DIR` |
| 51 | +- <url> Url to the xml of the podcast feed |
| 52 | +- <mode> Either sim, all, latest or <n> (see below) |
| 53 | +
|
| 54 | +The possible modes are |
| 55 | +- sim Simulate the download. This will log the according podcast as |
| 56 | + 'was downloaded' but neither download something nor create a file. |
| 57 | + This basically keeps a log of all URLs of all files that could've |
| 58 | + been downloaded. |
| 59 | + Note that once an episode was 'was downloaded' it will not be |
| 60 | + checked again unless the according entry from the logfile is removed. |
| 61 | + Note that using the 'sim' mode also allows giving a number as argument. |
| 62 | +
|
| 63 | +- all Check and download all episodes/files that have not been acquired yet. |
| 64 | +
|
| 65 | +- latest Check and download the latest episode only and don't check for any |
| 66 | + other. This is equivalent to setting the mode to the number 1 |
| 67 | +
|
| 68 | +- <n> A non-negative integer value. Check and download the newest <n> |
| 69 | + episodes only. A value of 1 is equivalent to setting 'latest' |
11 | 70 |
|
12 | 71 | ## Hooks
|
13 | 72 |
|
14 |
| -= Ideas for the future aka ToDos = |
| 73 | +(To be added) |
15 | 74 |
|
| 75 | +# Ideas for the future aka ToDos |
16 | 76 | - LICENSE
|
17 | 77 | - DELETE-OLD
|
18 | 78 | - Only if the podcast updated to the last <n> entries
|
19 | 79 | - Remove entries before the <n> entries
|
20 | 80 | - easy t.b. done
|
21 |
| -- something with renaming |
| 81 | +- something with renaming xml things |
22 | 82 | - e.g. custom sed commands for renaming (see for example the guardian file format and others)
|
23 |
| -- Create daily playlist |
| 83 | +- Create daily playlist of fresh casts |
24 | 84 | - LOG_LIMIT for the logfile in lines (default to something like 10k)
|
25 | 85 | - TRY_INTERPRETATION
|
26 | 86 | - try interpretation of names and such
|
27 | 87 | - use itunes-tags if present (maybe also for renaming)
|
| 88 | +
|
0 commit comments