NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 50 51 52 53 54 … 93 Next »
ComskipHelper utility

 
  • 0 Vote(s) - 0 Average
ComskipHelper utility
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#51
2005-06-26, 10:53 PM
Quote:I was referring to excluding comskip from running on certain channels, (Showtime, Encore....)
NOW it makes sense Big Grin
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
ZaDDaZ
Offline

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#52
2005-06-28, 02:16 AM
OK, I'm real close on the RecordingsManager rollup utility.

Right now, I still hit the database directly to perform a rename. I don't see a way to modify an existing ScheduledRecording and save it as a new record with the changed file name. Any help would be appreciated.

Also, after doing this, I reload the ScheduledRecordings from ScheduleHelper and it seems to have the previous names. I put in a 10 second sleep, but is there something that ScheduleHelper does to cache the data? Is it really just a timing issue or is there something I can do to cause it to refresh its cache?
ZaDDaZ
Offline

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#53
2005-06-28, 02:54 AM
Yes, I'm combining RenameRecordings, MaxRecordings and ComSkipHelper. There are clear issues between RenameRecordings and ComSkip (a file that is being processed by comskip can't be renamed) and the order that the utilities need to be put in is somewhat annoying. This will have the added benefit of being able to ignore channels and/or programs and run ComSkip on in-progress recordings and will run comclean as well if configured to. The only thing I'm afraid of now is that 10 seconds between doing a rename and retrieving the scheduled programs from the ScheduleHelper seems to work on my brand new machine, but on slower or more busy machines (transcoding) it may not be enough time. I have it as a setting, but I was hoping there was a way to progmatically do it so I don't need the setting.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#54
2005-06-28, 03:29 AM
Quote: I put in a 10 second sleep, but is there something that ScheduleHelper does to cache the data? Is it really just a timing issue or is there something I can do to cause it to refresh its cache?
What you may be seeing is the really annoying caching that is done by MS Access. Even after a commit, data is not flushed to disk for a few seconds. Damn annoying.

The only way around it is to use the DAO dbRefreshCache method to force the database to flush to disk. Unfortunately this would require 20MB of database access components to be installed on the user's PC that normally wouldnt be installed. If you do a search on google you'll see many people grumbling about it...
ZaDDaZ
Offline

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#55
2005-06-30, 01:52 PM
Yes, that is quite annoying. I think I'll just make the application wait at least one poll interval before quitting, which should take care of everything.

Just for prosperity, it would be nice to have a method on ScheduleHelper that would allow specifying the full file name of the file to create a ScheduledRecording. That way I wouldn't need to hit the database directly at all.

Also, it would be helpful to create a named Mutex that can control access to the scheduled recording data. Then there wouldn't be any issues with changing the file name directly.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#56
2005-06-30, 05:52 PM
Quote:Just for prosperity, it would be nice to have a method on ScheduleHelper that would allow specifying the full file name of the file to create a ScheduledRecording. That way I wouldn't need to hit the database directly at all.
ScheduledRecording.setFileName(), but it only knows the full file name after the recording has started. This is so the user can change the recording directory, or whether it creates directories etc.

Quote:lso, it would be helpful to create a named Mutex that can control access to the scheduled recording data. Then there wouldn't be any issues with changing the file name directly.
GB-PVR has a different internal mechanism for doing this.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#57
2006-09-09, 10:54 AM
ZaDDaZ Wrote:Yes, I'm combining RenameRecordings, MaxRecordings and ComSkipHelper. There are clear issues between RenameRecordings and ComSkip (a file that is being processed by comskip can't be renamed) and the order that the utilities need to be put in is somewhat annoying. This will have the added benefit of being able to ignore channels and/or programs and run ComSkip on in-progress recordings and will run comclean as well if configured to. The only thing I'm afraid of now is that 10 seconds between doing a rename and retrieving the scheduled programs from the ScheduleHelper seems to work on my brand new machine, but on slower or more busy machines (transcoding) it may not be enough time. I have it as a setting, but I was hoping there was a way to progmatically do it so I don't need the setting.
ZaDDaZ
I have been a big fan of both ComSkipHelper, and RenameRecordingS. I am now running the SQLite db, and using
addepisode %1 -eponly in my postprocessing.bat.

I would prefer to use RenameRecordingS due to it's ability to scan all recordings.

Are you still working on this? If so will it work with SQLite?
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Script Helper Utility JavaWiz 2 2,413 2020-05-25, 11:00 AM
Last Post: Graham
  Channel Only Utility jwjames83 0 1,425 2009-04-30, 08:43 PM
Last Post: jwjames83
  Who would be interested in helping with a plugin install utility? mkenyon2 35 9,964 2009-02-28, 12:25 AM
Last Post: reven
  Utility: convert2dvd-win32 gnutech 5 3,087 2008-02-20, 01:09 AM
Last Post: zehd
  I-xmltv >Incremental XMLTV download utility Jim_ 57 17,401 2006-05-19, 06:22 PM
Last Post: Jim_
  Looking for utility to save a frame as a jpeg Peter K 0 1,196 2005-01-12, 10:25 PM
Last Post: Peter K
  Video conversion utility chasef 3 2,534 2004-11-26, 09:54 PM
Last Post: Crazyx
  Nice filter utility CodeMonkey 0 1,924 2004-08-17, 05:50 PM
Last Post: CodeMonkey

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

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

Linear Mode
Threaded Mode