digital video recorder post-processor command format string
The digital video recorder post-processor command format string %f "full path to recording" gives // slash, which make it impossible to use in bash script.
/srv/tvRecordings//Hairy Dieters_ How to Love Food and.ts
I decide to use %b basename of recording instead, but i think it is simple error.
Issue #1393 - minor aesthetic change, remove trailing slash from user config DVR directory.
Updated by Adam Sutton about 9 years ago
- Status changed from New to Accepted
- Affected Versions 3.2, 3.3 added
Hmmm, not sure why that would make it "impossible" to use in a bash script :p Pretty trivial to work-around if you ask me:
$> echo $T
However I will see if I can figure out where the // comes from.
Updated by cocoa 117 about 9 years ago
Adam Sutton wrote:
Just a quick question, have you included a trailing slash on your DVR configuration directory?
Yes, I realised this was due to I have put trailing slash on my DVR configuration. So it is not a bug after all.
It would be great if we can upgrade the help, so the user don't put trailing slash in the end.