-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
# min hour day month weekday command | ||
|
||
# To get ytdl to print a proper timestamp for when the stream started (saving) | ||
# Use this in the filename ---> %(epoch-YOUR_TZ_OFFSET_SECONDS>%Y-%m-%d--%H-%M-%S)s | ||
# | ||
# This should be +/- the number of seconds from UTC to get your correct timezone. | ||
# ytdlp does not compensate for daylight savings time | ||
# EX -> Eastern Standard Time -> UTC-5hr + 1hr DST -> -4hr -> -14400 seconds -> %(epoch-14400>%Y-%m-%d--%H-%M-%S)s | ||
|
||
# test stream, 20 seconds every minute | ||
#* * * * * yt-dlp --quiet http://icecast:8000/myradio -x --download-sections "*0-20" -o "/config/streams/test-%(epoch-18000>%Y-%m-%d--%H-%M-%S)s.mp3" |