commit 66f4d1ad35889daf8fdf938cfa071e8d33efc795
parent 14a3f118abb9cbafd8ba2075c0715bbd1d110342
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 20 Apr 2024 15:31:03 +0200
Cleanup Readme
Diffstat:
M | README.md | | | 34 | ++++++++++++++++++++++++---------- |
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
@@ -25,8 +25,17 @@ If the video has not been fetched before, this will take a few seconds, as the s
Videos within a feed can be included or excluded based on title-matches:
-* Include only videos whose title contain "vlog time": index.php?channel=UCt_Y3j8CpXx366et1RaHACA&include=vlog%20time
-* Exclude all videos whose title contain "vlog time": index.php?channel=UCt_Y3j8CpXx366et1RaHACA&exclude=vlog%20time
+Include only videos whose title contain "vlog time":
+
+```
+https://yt2rss.example.com/?channel=UCt_Y3j8CpXx366et1RaHACA&include=vlog%20time
+```
+
+Exclude all videos whose title contain "vlog time":
+
+```
+https://yt2rss.example.com/?channel=UCt_Y3j8CpXx366et1RaHACA&exclude=vlog%20time
+```
## Additional configuration
@@ -54,14 +63,19 @@ Duration times of entries are unknown until they have been downloaded. The podca
### The webroot grows bigger / old episodes are never removed from the server
The script will never "cleanup" audio files from the webdir root directory, after they have been downloaded by the client. Depending on your usecase scenario, it might be a good idea to setup a cronjob for that:
-```
-# m h dom mon dow command
-# | | | | | |
-# | | | | | /
-# | | | | | /
-# | | | | / /
-# | | | | / /
-# | | | / / /
+
+```cron
+# |----------- minutes
+# |
+# | |--------- hours
+# | |
+# | | |------- day of month
+# | | |
+# | | | |----- month
+# | | | |
+# | | | | |--- day of week
+# | | | | |
+# | | | | | |- command
# | | | | | |
0 0 * * 1 rm /var/www/yt2rss/*.opus
```