INTERACT FORUM
Windows => Television => Topic started by: sheppy99 on April 01, 2023, 02:49:31 pm
-
I’m trying to get Comskip to scan for ads after each recording and need to use a per channel config due to the way TV is broadcast here. The ‘artist’ tag seems to have the channel in its field so I’m trying to use that to select each channels config.
In recording options I’ve put in the run command field ‘F:\Comskip\comskip.exe’ and in command line arguments I’ve added ‘“[Filename]” —ini=F:\Comskip\config\”[Artist]”.ini’
But this doesn’t seem to work as no EDL file is produced.
What am I doing wrong?
-
Maybe the quotes around [Artist] ?
-
That’s likely the problem, but I’m not sure what it’s expecting. Is quotes around the whole arguments string more what it’s expecting? As it’s on Windows anything with spaces in it will likely need to be in quotes
-
No quotes. I think you're trying to read a file named [Artist].
-
Im trying to create a path from the artist tag. If the artist tag contains ‘2 mychannel’ I want the command line to read ‘—ini=F:\Comskip\config\2 mychannel.ini
-
[Filename] is the filename of the current recording file.
[Artist] is filled with the channel name.
So your idea is right. But I don't know exactly what the syntax should be for ComSkip command line arguments.
Maybe don't put any quotes around [Artist]
-
Running it from a command line I’d type
F:\Comskip\comskip.exe “full path to file to be scanned inside quotes” “—ini=F:\Comskip\config\2 mychannel.ini”
Needing the quotes is a windows thing for anything with a space in the path
-
Running it from a command line I’d type
F:\Comskip\comskip.exe “full path to file to be scanned inside quotes” “—ini=F:\Comskip\config\2 mychannel.ini”
Needing the quotes is a windows thing for anything with a space in the path
Which turns out to be the way to do it. Nothing but F:\Comskip\comskip.exe in the run command box and “[Filename]” “—ini=F:\Comskip\config\[Artist].ini” in the arguments box. Note the space between the 2 arguments.
I piped everything a batch file and echoed the results into a txt file to find out exactly what was being passed from MC.