Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: fix filename builder when custom directory is entered, fixes #2891
  • Loading branch information
perexg committed May 26, 2015
1 parent f8f6235 commit 9538719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvr/dvr_rec.c
Expand Up @@ -473,7 +473,7 @@ pvr_generate_filename(dvr_entry_t *de, const streaming_start_t *ss)
if (dirsep)
strcpy(filename, dirsep + 1);
else
filename[0] = '\0';
strcpy(filename, path + l);
str_substitute(de->de_directory, ptmp, sizeof(ptmp), '$', dvr_subs_entry, de);
s = ptmp;
while (*s == '/')
Expand Down

0 comments on commit 9538719

Please sign in to comment.