NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 … 10 11 12 13 14 … 20 Next »
having comskip and IGL run together

 
  • 0 Vote(s) - 0 Average
having comskip and IGL run together
tron999
Offline

Junior Member

Posts: 36
Threads: 7
Joined: Mar 2014
#1
2014-03-29, 09:12 PM
I tried searching, but couldn't find an answer to my exact question, so here goes:

system: win7 64 bit., npvr + xbmc frodo

I have IGL running perfectly, it runs in postprocessing and renames the files which get their correct info loaded in XBMC. I have decided to run comskip, but i'm not sure when to run it.

If I run it in parallelprocessing, won't it create the edl/txt file with the old name, which won't match when IGL renames it, therefore not being picked up by XBMC?

If i run it in postprocessing, after IGL, will the %1 variable that I pass to it work, since the file has since been renamed to what IGL names it?

If there's already a proven way to do this, i would appreciate a link.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#2
2014-03-29, 09:30 PM
Options I can think of

1 - rename in parallel processing, after comskip finishes add a slightly delay if comskip closes right away (unlikely)
2. - in postprocessing wait for the file to clost http://forums.nextpvr.com/showthread.php...se-problem
3. - in postprocessing get the filename passed from iGL as shown here http://forums.nextpvr.com/showthread.php...post432106 use %newfile for comskip

Nartin
tron999
Offline

Junior Member

Posts: 36
Threads: 7
Joined: Mar 2014
#3
2014-03-29, 10:49 PM
I like option 3 the best. Here's my entire postprocessing, does it look okay?

Code:
"C:\Program Files (x86)\NPVR\imageGrabLite.exe" --oid %3 --rename --subtitle --nfo
"C:\Program Files (x86)\NPVR\imageGrabLite.exe" --oid %3 --nfo

set newfile=
FOR /F "tokens=*" %%i in ('imageGrabLite --oid %3 --rename --subtitle --nfo') do SET newfile=%%i
if not exist "%newfile" goto end

@echo off
cd /d "C:\comskip"
hiderun comskip %newfile

:end
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#4
2014-03-29, 10:54 PM
Try it on a short program and see, that what I'd do. If iGL doesn't rename it you probably want to comskip the original file rather than ending

Martin
tron999
Offline

Junior Member

Posts: 36
Threads: 7
Joined: Mar 2014
#5
2014-03-30, 12:46 AM
Ok I have been working on this awhile. IGL is working fine still, but I can't get the batch file to pass a variable to comskip. %1 passes the original file name, as I suspected, so it does nothing. For some reason newfile isn't getting any title into it. I googled a bit, and found that the variable has to be %newfile%, with an extra percent symbol on the end.

I'm doing this in postcancel.bat, so i can cancel and have it run without waiting for a whole show. Here's what I am working with right now

Code:
"C:\Program Files (x86)\NPVR\imageGrabLite.exe" --oid %3 --rename --subtitle --nfo
rem "C:\Program Files (x86)\NPVR\imageGrabLite.exe" --oid %3 --nfo

set newfile=
FOR /F "tokens=*" %%i in ('imageGrabLite --oid %3 --rename --subtitle --nfo') do SET newfile=%%i
echo %%i > c:\users\public\npvr\logs\i.log
echo "%newfile%" > newfile.log
rem if not exist "%newfile" goto end


@echo on
cd /d "C:\comskip"
comskip %newfile% > comskip.log

:end
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#6
2014-03-30, 12:57 AM
For the comskip line you might need %newfile% in quotes.

Martin
tron999
Offline

Junior Member

Posts: 36
Threads: 7
Joined: Mar 2014
#7
2014-03-30, 12:59 AM
mvallevand Wrote:For the comskip line you might need %newfile% in quotes.

Martin

I had that before, and it was writing "" to my log file. the comskip log is showing that it's not getting any file name passed to it. How can I print what %%i is?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#8
2014-03-30, 01:15 AM
I just tested my original example and the echo works Maybe you haven't take the path into conderation

Martin
tron999
Offline

Junior Member

Posts: 36
Threads: 7
Joined: Mar 2014
#9
2014-03-30, 01:46 AM
the path of what?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#10
2014-03-30, 01:52 AM
igl

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  comskip parallel processing not updating skips in Kodi Deihmos 1 777 2025-04-13, 04:13 AM
Last Post: mvallevand
  Comskip + NextEnd VCR58 12 3,335 2023-06-30, 02:26 PM
Last Post: mvallevand
Lightbulb How to get Comskip working on Linux wmarler 12 12,921 2022-03-04, 01:19 PM
Last Post: thool
  comskip - parallel proc - Invalid frame dimensions 2leftfeet 7 3,206 2021-05-02, 01:35 AM
Last Post: EdwardWelch
  Comskip problem RTKAT 4 4,305 2018-08-26, 09:12 PM
Last Post: RTKAT
  Comskip, NextPVR and Plex buckeyestargazer 4 8,367 2017-06-16, 07:58 PM
Last Post: scJohn
  Comskip Transcode NZ Freeview Help required Waynesm 4 3,870 2016-07-15, 03:26 AM
Last Post: Waynesm
  comskip postprocessing cllgnc89 7 5,746 2016-01-18, 04:27 AM
Last Post: cllgnc89
  comskip failures ydekmekji 7 4,862 2015-11-22, 01:21 AM
Last Post: ACTCMS
  comskip not running on certain files tron999 5 3,651 2014-10-11, 01:50 AM
Last Post: tron999

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode