NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 108 109 110 111 112 … 193 Next »
Prevent orphaned recordings caused by comskip

 
  • 0 Vote(s) - 0 Average
Prevent orphaned recordings caused by comskip
DebbieGibson
Offline

Junior Member

Posts: 28
Threads: 11
Joined: Jun 2005
#1
2006-06-30, 07:55 PM
It took me awhile to figure out what was happening, but I noticed that I was running out of disk space even after I had culled a lot of recordings. I saw that some recordings were being removed from the Recordings menu, but still physically existed on the hard drive. I finally figured out what was happening. I was removing the recording whist comskip was removing the commercials. So GBPVR removed the recording from the database, but was prevented from deleting the file because it was in use. Thus orphaning the file, taking up my precious disk space.

Is there anyway we can prevent GBPVR from removing the recording if it’s in the process of comskiping? Or, be able to stop the comskip process, and then remove the file along with the database entry.

I have an idea about how this could be done. When comskip starts to work on a file to mark the commercials, could it also create a marker file. Then when it’s finished, remove the marker file. Mean time, GBPVR checks for the marker file when it goes to delete a recording. And if the two bump heads, GBPVR would either tell me I have to wait for comskip to finish, or be able to stop the process and finish its work

Thanks for reading.
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#2
2006-06-30, 08:04 PM
DebbieGibson Wrote:It took me awhile to figure out what was happening, but I noticed that I was running out of disk space even after I had culled a lot of recordings. I saw that some recordings were being removed from the Recordings menu, but still physically existed on the hard drive. I finally figured out what was happening. I was removing the recording whist comskip was removing the commercials. So GBPVR removed the recording from the database, but was prevented from deleting the file because it was in use. Thus orphaning the file, taking up my precious disk space.

Is there anyway we can prevent GBPVR from removing the recording if it’s in the process of comskiping? Or, be able to stop the comskip process, and then remove the file along with the database entry.

I have an idea about how this could be done. When comskip starts to work on a file to mark the commercials, could it also create a marker file. Then when it’s finished, remove the marker file. Mean time, GBPVR checks for the marker file when it goes to delete a recording. And if the two bump heads, GBPVR would either tell me I have to wait for comskip to finish, or be able to stop the process and finish its work

Thanks for reading.

GB-PVR should not be able to delete the database entry if the file still exists. That would take care of any number of concurrently processing applications. That's a much better solution than having Erik modify comskip and then have Sub modify GBPVR.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
DebbieGibson
Offline

Junior Member

Posts: 28
Threads: 11
Joined: Jun 2005
#3
2006-06-30, 08:25 PM
David Wrote:GB-PVR should not be able to delete the database entry if the file still exists. That would take care of any number of concurrently processing applications. That's a much better solution than having Erik modify comskip and then have Sub modify GBPVR.

I love public forums! It gets everyone's brain thinking about the same problem and the solutions and ideas flow like rain.

I agree, that is a much simpler way of getting the same thing done. Well done!
mobiusnz
Offline

Senior Member

Posts: 323
Threads: 65
Joined: Feb 2005
#4
2006-06-30, 11:06 PM
That explains it - its rarely happened for me but I have had a couple of orphaned recordings. And they are the shows I can never wait to watch so often watch them with only a slight delay.

I second the idea of GBPVR deleting the file first and then and only then deleting the database entry if the file deletion was successfull and throwing up an error if it couldn't remove it eg "File in use - cannot delete"
[SIZE="1"]Matt Beechey
Intel i5-4440, 4096mb DDR3 Ram, Windows 7 Pro
2 x Hauppauge Nova-T 500 (2 out of 4 of these I've bought works! Great QC Hauppauge!)
1 x Hauppauge hvr-2200 and 1 x Hauppauge Colossus
500gb Seagate for O/S
2 x 500GB SATA3 WD Black in a Windows Stripe for recordings
All hidden in the garage with an Intel i5 NUC and a logitech Harmony one remote in the lounge for playback.
Panasonic 65" 2013 GT Series 3D plasma

----------------------------
New Zealand - Go Crusaders![/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2006-06-30, 11:27 PM
using post processing?
you could also run your comskip while recording, that way comskip is no more than a few seconds behind the recording, and unless you delete it within a few seconds after the recording finishes, no problems..Smile
[should lessen the chance anyways]
use parallelprocessing.bat i believe..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
mobiusnz
Offline

Senior Member

Posts: 323
Threads: 65
Joined: Feb 2005
#6
2006-06-30, 11:46 PM
Yeah - but I often record two channels while watching a program - I just wonder about the disk/cpu utilization of doing this. As it is response slows while its doing a comskip process at the end of a recording - I'd hate to see it doing two?
[SIZE="1"]Matt Beechey
Intel i5-4440, 4096mb DDR3 Ram, Windows 7 Pro
2 x Hauppauge Nova-T 500 (2 out of 4 of these I've bought works! Great QC Hauppauge!)
1 x Hauppauge hvr-2200 and 1 x Hauppauge Colossus
500gb Seagate for O/S
2 x 500GB SATA3 WD Black in a Windows Stripe for recordings
All hidden in the garage with an Intel i5 NUC and a logitech Harmony one remote in the lounge for playback.
Panasonic 65" 2013 GT Series 3D plasma

----------------------------
New Zealand - Go Crusaders![/SIZE]
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#7
2006-07-01, 06:08 AM
Comskip runs at idle priority, just like a screen saver.
Any GBPVR activity will have higher priority
That is why paralelprocessing works so well.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Web display of Recordings w/o Pending Recordings turndave 5 1,058 2023-09-13, 10:08 PM
Last Post: turndave
  subtract time from recordings for web client jobby99 0 581 2023-05-28, 09:09 PM
Last Post: jobby99
  Divide Recordings by Channel (and other properties) ChaosMageX 1 742 2023-03-20, 07:35 PM
Last Post: mvallevand
  [Kodi] Directory Folders for Recordings Panic 14 3,153 2022-07-28, 03:59 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 2,979 2022-05-02, 08:04 PM
Last Post: artmetz
  direct bookmarkable URL for Recent Recordings f0945a5662 2 1,011 2021-11-18, 07:50 PM
Last Post: f0945a5662
  Cancellation of individual pending recordings Petrovski 25 8,657 2021-11-07, 06:49 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,347 2021-09-19, 04:44 AM
Last Post: sub
  Menu for recent recordings LeGrandZombie 0 846 2021-09-06, 02:02 AM
Last Post: LeGrandZombie
  If Win 10 use Windows Notifications for failed recordings scJohn 2 2,040 2021-08-14, 11:00 PM
Last Post: rmeden

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

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

Linear Mode
Threaded Mode