Feature #5189
openAdd the option to use "Name" from autorec for sub-directories instead of the title.
0%
Description
I recently sorted my recordings from a single directory to sub-directories using the program title. While doing so, I noticed a lot of inconsistencies with the titles of programs. Mostly just capitalization changes, but also occasional spelling mistakes. When I set the recording profile to use the program tittle as the sub-directory name, I end up with multiple sub-directories for the same program because of these differences. For example:
"the Cat in the Hat Knows a Lot About That" "The Cat In The Hat Knows a Lot About That" "The Cat in the Hat Knows Alot About That"
While the regex matching works fine for the autorec, recordings end up in different sub-directories. These differences can occur when recording the same program on different channels and/or for different providers, when using different EPG sources, and sometimes simply broadcaster/EPG provider errors.
It also would let one shorten long titles for the sub-directory name to something like:
"The Cat in the Hat"
Another case would be similar programs one would like grouped together with similar titles, with titles such as:
"Program:subtitle" "Program:different subtitle" "Program:yet a different subtitle"
Again, a regex can be made to match all, but they would end up in different sub-directories.
Maybe add an option "%a" for autorec name which could be used to build the path:
Format string/Pathname specification: $a/$t %F %R.$x
And/or a checkbox for it:
Make subdirectories per autorec name : Create a directory per autorec name when storing recordings. If the day/channel directory checkboxes are also enabled, those directories will be parents of this directory.
I know I can make separate recording profiles, but that is a lot of work since I currently have more than 50 autorec entries. It would also be a lot to maintain - for instance, in case you needed to change the stream profile.
BTW - it does not necessarily have to be the autorec name, it could be a new field.
I looked in dvr_autorec.c and dvr_rec.c and think it would not be too difficult to add, but I am not sure about all the interconnected ramifications when making changes. Of course if there is not much interest in this, I will give it a shot on my own...
As a side note, wouldn't it be more logical to put the "Digital Video Recorder Profiles" tab under the "Digital Video Recorder" tab instead of under "Configuration/Recording"???