Use dot instead of dash for date and time postfixes in filenames
This commit is contained in:
parent
6876fc6afe
commit
4a5009fbda
1 changed files with 2 additions and 2 deletions
|
@ -84,12 +84,12 @@ dvr_make_title(char *output, size_t outlen, dvr_entry_t *de)
|
|||
|
||||
if(dvr_flags & DVR_DATE_IN_TITLE) {
|
||||
strftime(buf, sizeof(buf), "%F", &tm);
|
||||
snprintf(output + strlen(output), outlen - strlen(output), "-%s", buf);
|
||||
snprintf(output + strlen(output), outlen - strlen(output), ".%s", buf);
|
||||
}
|
||||
|
||||
if(dvr_flags & DVR_TIME_IN_TITLE) {
|
||||
strftime(buf, sizeof(buf), "%H-%M", &tm);
|
||||
snprintf(output + strlen(output), outlen - strlen(output), "-%s", buf);
|
||||
snprintf(output + strlen(output), outlen - strlen(output), ".%s", buf);
|
||||
}
|
||||
|
||||
if(dvr_flags & DVR_EPISODE_IN_TITLE) {
|
||||
|
|
Loading…
Add table
Reference in a new issue