2019-09-27, 02:26 AM
I had a problem with calling PostProcessing.sh for a show that has a ' in the title. I've pasted the log lines from when PostProcessing was called:
2019-09-26 21:00:00.361 [DEBUG][8] Starting: bash -c "'/var/opt/nextpvr/scripts/PostProcessing.sh' '/mnt/NextPVR/Recordings/Carols Second Act/Season 01/Carols Second Act.S01E01.Pilot.ts' 12 1946 21 'Carol's Second Act'"
2019-09-26 21:00:00.375 [ERROR][82] bash: -c: line 0: unexpected EOF while looking for matching `''
2019-09-26 21:00:00.376 [ERROR][82] bash: -c: line 1: syntax error: unexpected end of file
Looks like the last argument being passed(show name?) is causing the problem. I seem to remember there was a fix earlier for something like this and the show name does not contain the ' in the file name, so maybe that's what I was thinking of.
Thanks
2019-09-26 21:00:00.361 [DEBUG][8] Starting: bash -c "'/var/opt/nextpvr/scripts/PostProcessing.sh' '/mnt/NextPVR/Recordings/Carols Second Act/Season 01/Carols Second Act.S01E01.Pilot.ts' 12 1946 21 'Carol's Second Act'"
2019-09-26 21:00:00.375 [ERROR][82] bash: -c: line 0: unexpected EOF while looking for matching `''
2019-09-26 21:00:00.376 [ERROR][82] bash: -c: line 1: syntax error: unexpected end of file
Looks like the last argument being passed(show name?) is causing the problem. I seem to remember there was a fix earlier for something like this and the show name does not contain the ' in the file name, so maybe that's what I was thinking of.
Thanks