Twice recently I have received an error when attempting to record something, here is the part from the logs with these:
2024/08/31 12:00:00.000329 [DVR] Starting job 1725120000-ch210 College Football ᴺᵉʷ
Clemson vs. Georgia on ch=[210]
2024/08/31 12:00:00.000329 [TNR] Sharing existing connection to M3U-iptv for ch210 TSN 1 (clients=3, len=0)
2024/08/31 12:00:00.000833 [DVR] Error running job 1725120000-ch210 College Football ᴺᵉʷ
Clemson vs. Georgia: mkdir D:\channels-data\TV\College Football ᴺᵉʷ
Clemson vs. Georgia: The filename, directory name, or volume label syntax is incorrect.
2024/09/02 09:30:00.007337 [DVR] Starting job 1725283800-ch213 MLB Network Presents
One of a Kind on ch=[213]
2024/09/02 09:30:00.007337 [DBG] Scheduling wake timer for scheduled recording in 23h58m30s
2024/09/02 09:30:00.399203 [TNR] Opened connection to M3U-iptv for ch213 MLB Network
2024/09/02 09:30:00.399562 [TNR] Closed connection to M3U-iptv for ch213 MLB Network
2024/09/02 09:30:00.399562 [DVR] Error running job 1725283800-ch213 MLB Network Presents
One of a Kind: mkdir D:\channels-data\TV\MLB Network Presents
One of a Kind: The filename, directory name, or volume label syntax is incorrect.
So I guess first failed because it had a superscript and the second one failed because it had the colon. Is there anyway that I can overwrite the title before the recording, other than scheduling a manual recording?
Why is there not something built in that checks for characters that won't work and just skip them, instead of failing?
A line that I have in one of my python scripts takes care of that with this:
re.sub('[^-a-zA-Z0-9_.() ]+', ' ')