Syntax Error Workarounds Instead of Failing

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_.() ]+', ' ')

Just in case that I do have to go with the manual recording option, I am dropping two links that will be helpful for me to figure this out later so I can find them:

Seems like in both cases there is a newline somewhere that's causing issues.

I will update the DVR in pre-release to filter out newlines along with other characters already ignored.

But it seems like your XMLTV data is separating the show title vs event title with a newline, and you would have a better guide metadata experience on your recordings if it was accurately split out into a proper <title> and <subtitle> tag.

Thanks. That was enough of a hint for me to figure it out I think. I am using iptvboss to generate the epg and I found in the settings where sports were using two lines for the titles. So that was why other recordings were fine, but two sports ones failed.