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) Old Stuff (Legacy) v
« Previous 1 … 111 112 113 114 115 125 Next »
SA, Comclean, RenameRecordings...

 
  • 0 Vote(s) - 0 Average
SA, Comclean, RenameRecordings...
afriend1
Offline

Junior Member

Posts: 46
Threads: 12
Joined: Jul 2005
#21
2005-08-19, 11:29 AM
From Jere

Quote:Turns out that I already have! Just use the comskip proxy. What everyone her e is trying to do is exactly why I wrote that silly little program in the first place. I just tried it and it worked as advertised.

I reinstalled the proxy. It rewrote my registry. I assume this is what it's supposed to do. But it ran comskip .72 that I had in the gbpvr directory. What did I do wrong?
Jere_Jones
Offline

Member

Posts: 118
Threads: 4
Joined: Oct 2004
#22
2005-08-19, 11:42 AM
afriend1 Wrote:I reinstalled the proxy. It rewrote my registry. I assume this is what it's supposed to do. But it ran comskip .72 that I had in the gbpvr directory. What did I do wrong?
When you say that you reinstalled the proxy, what did you do?

The comskip proxy does read the registry so that it can find SA no matter where it is run from, but it doesn't write to the registry. What portion did it rewrite?

Jere
DEATH TO ALL COMMERCIALS!!
http://www.dragonglobal.org/
Latest ShowAnalyzer Beta version: 0.7.5
Jere_Jones
Offline

Member

Posts: 118
Threads: 4
Joined: Oct 2004
#23
2005-08-19, 12:11 PM
reboot Wrote:OK, so I use comskip proxy to call SA, instead of having the showanalyzer line in postprocessing.bat...correct?
Right. That's the plan.

I have ordered an MCE bundle w/ PVR250 from PCAlchemy that should show up Saturday. I'll install the card in one of my spare computers so that I can actually get GB-PVR up and running (since I can't install it on the HTPC or the wife will kill me and it GB-PVR won't run on my development machine). Then I'll should be able to verify the advice I'm giving.

Jere
DEATH TO ALL COMMERCIALS!!
http://www.dragonglobal.org/
Latest ShowAnalyzer Beta version: 0.7.5
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#24
2005-08-19, 04:00 PM
Comskip proxy does run (calls SA), but comclean does not run, and rename recordings eventually runs, although it cannot seem to rename the actual mpg...
Example:
Show ends.
Comskip proxy opens SA.
SA runs, generates the .txt and .wme (as I have it set up).
Comclean runs, and craps out with errors (see first post).
Rename recordings then renames the .txt, .wme, and .log to the episode name, but does NOT rename the .mpg, it simply renames it to showname_original.mpg
This is exactly what it's supposed to do, AFTER comclean has successfully run on the show.
Comclean just won't work properly, for whatever reason, when I use SA.
It works every time when I use comskip.

Ideally, I would like things this way:
Rename recordings does it's thing on the mpg.
(I would also like it if renamerecordings included the episode number, which seems to be in the data from zap2it)
SA then runs, and generates the .txt and .wme with the correct names.
Comclean then runs, and does it's thing.

Renamerecordings is seriously important to me, otherwise I have no idea what the season episodes are named, nor which order they go in.
SA is ultimately the easiest method of detecting the ads.
Comclean does the editing for me, a serious time saver!

With 4 tuners, I do a LOT of recording, and much of it get's archived to DVD.
I really need to get these 3 programs working together, so any help is muchly appreciated! Big Grin
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#25
2005-08-19, 04:24 PM
@ jsteele
Wouldn't it make more sense to have the timeout shorter?
If I set it to 8 minutes, (about the time it takes per hour of recording), and it doesn't find the "file processing complete", then it only waits another 8 minutes before testing again...
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#26
2005-08-19, 05:05 PM
I tried your postprocessing.bat set up this way:
Code:
comskip %1

:test_file
find "FILE PROCESSING COMPLETE" %1
goto result%ERRORLEVEL%
exit

:result1
rem if the line is NOT in the file it will do this stuff
rem timeout.exe is part of the XP Resource Kit - free as I recall
rem you can set NNNN to the number of seconds to wait for SA to finish
rem once it times out it will go back and test the file again

timeout.exe 480

goto test_file

:result0
rem if the line is in the file then it will do the rest of your stuff

call comclean %1 >>comclean.log 2>>comclean.err
RenameRecordings %1 > renamerecordings.log
Seems that SA ran, but nothing else happened.
Do I need to download and install the timer thingy, or is there an error in the code?
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
Jere_Jones
Offline

Member

Posts: 118
Threads: 4
Joined: Oct 2004
#27
2005-08-19, 05:06 PM
reboot Wrote:Comclean just won't work properly, for whatever reason, when I use SA.
It works every time when I use comskip.
Wondering about this, I went off in search of the source code for comclean. Little did I know it's only a batch file. Good news. Batch files are easy to analyze. I noticed the part that looks for the line with the dashes. It looks for a line with a certain number of dashes. That may be what is causing the problem. The original "specification" for the comskip txt files was that the cut points immediately follow the last line containing only dashes. Comclean seems to expect a certain number of dashes. A modification of that line to expect the number of dashes that SA puts out or a more robust matching line (like only match the first character) might work.

Jere
DEATH TO ALL COMMERCIALS!!
http://www.dragonglobal.org/
Latest ShowAnalyzer Beta version: 0.7.5
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#28
2005-08-19, 05:16 PM
AHA! Light at the end of the tunnel...so this line
Code:
if "%1"=="-------------------" goto :eof
should be changed...but how? Count the dashes?
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
dirtygreek
Offline

Junior Member

Posts: 37
Threads: 3
Joined: Jan 2005
#29
2005-08-19, 05:17 PM
I think that the only problem I'm having (which was similar if not exactly the same as reboot's) was related to the number of dashes (-----) in the .txt file that SA was generating. Good job, Jere, noticing that!

I didn't figure the number of dashes would matter, but turns out it does, because the comclean batch file looks for an exact match

Quote:if "%1"=="-------------------" goto :eof
(19 dashes)

But SA is outputting too many dashes:

Quote:------------------------
(24 dashes)


My simple fix, for now, was to replace the dashes in the comclean.bat with the dashes in one of my SA .txt file - and it worked! Perfectly!

Jere, my suggestion would be to modify your next version of SA to output 19 dashes.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#30
2005-08-19, 05:54 PM
So let me get this straight.
I edit comclean.bat to include 24 dashes.
Do I then still need the timer.exe delay thing? (BTW, I couldn't find it for XP, but when I ran the postprocessing.bat with it in, something called find.exe chewed up about 50% of CPU cycles for half an hour before I manually stopped it).
Timeout.exe also seems to quit as soon as I hit any key (according to the websites I found), which won't work at all...
Comclean, and renamerecordings never did go...
Testing again now.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  renamerecordingS the..sleeper 1 1,658 2009-04-21, 08:36 PM
Last Post: David
  Comclean issues.. _Dude_ 9 4,166 2009-01-17, 03:29 PM
Last Post: tmschmal
  Comclean inconsistent rmorein 6 2,655 2008-05-02, 05:13 PM
Last Post: Carlito
  Comskip & Comclean...but logo removal? Questor 1 2,187 2008-03-29, 06:31 AM
Last Post: erik
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,757 2008-03-27, 11:45 PM
Last Post: _Dude_
  Trouble using Comclean - mplex1 not working Beerman 0 1,403 2007-11-12, 01:14 AM
Last Post: Beerman
  Another Newbie question!! Need help with ComSkip and Comclean bimmer16 4 2,121 2007-11-02, 11:55 PM
Last Post: bimmer16
  Comclean Not Working Anymore polar101 1 1,437 2007-08-08, 03:50 AM
Last Post: alpha1
  comclean individual show chewy747 2 1,515 2007-05-18, 01:49 AM
Last Post: chewy747
  Can you run ComClean manually SteveO 15 5,437 2007-03-28, 12:18 AM
Last Post: twelvepbrs

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

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

Linear Mode
Threaded Mode