INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Comskip with per channel config  (Read 1180 times)

sheppy99

  • Junior Woodchuck
  • **
  • Posts: 54
Comskip with per channel config
« 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?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71827
  • Where did I put my teeth?
Re: Comskip with per channel config
« Reply #1 on: April 01, 2023, 03:06:52 pm »

Maybe the quotes around [Artist]  ?
Logged

sheppy99

  • Junior Woodchuck
  • **
  • Posts: 54
Re: Comskip with per channel config
« Reply #2 on: April 01, 2023, 03:27:54 pm »

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
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71827
  • Where did I put my teeth?
Re: Comskip with per channel config
« Reply #3 on: April 01, 2023, 03:42:27 pm »

No quotes.  I think you're trying to read a file named [Artist].
Logged

sheppy99

  • Junior Woodchuck
  • **
  • Posts: 54
Re: Comskip with per channel config
« Reply #4 on: April 01, 2023, 04:31:20 pm »

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
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10876
  • Dogs of the world unite!
Re: Comskip with per channel config
« Reply #5 on: April 01, 2023, 05:07:06 pm »

[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]
Logged
Yaobing Deng, JRiver Media Center

sheppy99

  • Junior Woodchuck
  • **
  • Posts: 54
Re: Comskip with per channel config
« Reply #6 on: April 01, 2023, 05:52:16 pm »

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
Logged

sheppy99

  • Junior Woodchuck
  • **
  • Posts: 54
Re: Comskip with per channel config
« Reply #7 on: April 01, 2023, 08:10:06 pm »

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.
Logged
Pages: [1]   Go Up