2019-09-27, 02:31 AM
I'm using the latest version available in docker.
I have configured to have a PostProcessing.sh script available. When the show name has a "'" (single quote) in the name the bash command that is getting generated is incorrect. Please see below an except from trhe logs:
[HTML]2019-09-27 01:03:01.040 [DEBUG][8] Starting: bash -c "'/config/scripts/PostProcessing.sh' '/recordings/Greys Anatomy/Season 16/Greys.Anatomy.S16E01.Nothing.Left.to.Cling.To.ts' 13.1 1073 23 'Grey's Anatomy'"
2019-09-27 01:03:01.388 [ERROR][122] bash: -c: line 0: unexpected EOF while looking for matching `''
2019-09-27 01:03:01.389 [ERROR][122] bash: -c: line 1: syntax error: unexpected end of file
[/HTML]
If I manually change the command:
[HTML]bash -c "'/config/scripts/PostProcessing.sh' '/recordings/Greys Anatomy/Season 16/Greys.Anatomy.S16E01.Nothing.Left.to.Cling.To.ts' 13.1 1073 23 'Grey's Anatomy'"[/HTML]
to
[HTML]bash -c "'/config/scripts/PostProcessing.sh' '/recordings/Greys Anatomy/Season 16/Greys.Anatomy.S16E01.Nothing.Left.to.Cling.To.ts' 13.1 1073 23 'Greys Anatomy'"[/HTML]
and I execute it inside docker everything works fine.
I have configured to have a PostProcessing.sh script available. When the show name has a "'" (single quote) in the name the bash command that is getting generated is incorrect. Please see below an except from trhe logs:
[HTML]2019-09-27 01:03:01.040 [DEBUG][8] Starting: bash -c "'/config/scripts/PostProcessing.sh' '/recordings/Greys Anatomy/Season 16/Greys.Anatomy.S16E01.Nothing.Left.to.Cling.To.ts' 13.1 1073 23 'Grey's Anatomy'"
2019-09-27 01:03:01.388 [ERROR][122] bash: -c: line 0: unexpected EOF while looking for matching `''
2019-09-27 01:03:01.389 [ERROR][122] bash: -c: line 1: syntax error: unexpected end of file
[/HTML]
If I manually change the command:
[HTML]bash -c "'/config/scripts/PostProcessing.sh' '/recordings/Greys Anatomy/Season 16/Greys.Anatomy.S16E01.Nothing.Left.to.Cling.To.ts' 13.1 1073 23 'Grey's Anatomy'"[/HTML]
to
[HTML]bash -c "'/config/scripts/PostProcessing.sh' '/recordings/Greys Anatomy/Season 16/Greys.Anatomy.S16E01.Nothing.Left.to.Cling.To.ts' 13.1 1073 23 'Greys Anatomy'"[/HTML]
and I execute it inside docker everything works fine.