SOLVED: Escape chars used when setting up recording directories

This may be better-suited for TVHeadend, or even Kodi, but thought I’d start here…

In setting up timers, there is the overall directory setting for storing recorded shows which is currently set as the default: /home/OSMC/
In the individual timers there is also a Directory option, usually the name of the program.

My question is when a program has a “/” in it (i.e. “20/20”) is there an escape character I should use to allow the “/” to be recognized as part of the program name and not a designator for another directory level (i.e. the program “20” stored in the directory “20”).

I tried using a back slash “” before the forward slash “/” but that did not seem to help.

Thanks in advance…cheers…

I can’t see an option for setting the recording directory name for individual shows. Where did you find that?

When you set up or edit a live tv timer and set the “Type” (first option) to “Timer Rule” or “Timer Rule (Guide based)” the option “Folder” is displayed on the bottom (Otherwise, it is not displayed). This is where you specify the specific folder of where you want the recording to be saved. This would be where I want to enter “20/20” and not end up with a “20” directory under a “20” directory :frowning:

Thx and cheers…

Hi,

I would try:

'"20/20"'

Note that it proceed ends with an apostrophe, not a backtick.

Thanks Tom.

1 Like

@Tom_Doyle

Thx for the suggestion. I’ll try it out (but the show isn’t on until Fri so I have to wait a couple of days :frowning: I’ll let you know the results.

@dillthedog

Ah, an old friend/helper. I figured a "\" (this was supposed to be a backslash…hmmmm) or “/” might be an issue. I was looking for how to get around it. @Tom_Doyle offered a suggestion that may work because of where the slash is used si the application. I’m hopeful, but cautiously optimistic :slight_smile:

Thx once again for paying attention and responding, even if it was a kind of negative response :wink:

Cheers…

Ta-da! Now it is. (I cheated and used the </> button.)

Oh, and good luck on Friday. :slight_smile: I wasn’t so lucky:

osmc@osmc-4k:~$ touch '"20/20"'
touch: cannot touch '"20/20"': No such file or directory
1 Like

I tried and got the same results :frowning: Decided to go with “20-20” in this case and, while that’s not very elegant, it solves the problem.

Thx and cheers…

2 Likes

[quote=“stephr1, post:9, topic:89221, full:true”]

Turns out the “20-20” actually did NOT work :frowning:

Finally had the chance to play around some more. What I found was an “Occam’s Razor” proof, so to speak :slight_smile: A simple answer was the right one. Using “20 20” ("20<space>20") resulted in exactly how I hoped and expected it would. I had tried other possibilities (“_”, “.”, etc.) but nothing would be interpreted by the system correctly for me.

Consider this issue solved :slight_smile: Yayyy!!

Cheers and thanks for the help…